realvnc 问题~
發表於 : 週五 1月 29, 2010 11:30 am
config
# Default vncserver configuration. See the vncserver man page for details.
-PasswordFile $HOME/.vnc/passwd1 # Location of VncAuth password
-desktop "$HOSTNAME:$DISPLAYNUM ($USER)" # Desktop name
-dpi 85
-geometry 800x600
-depth 24
-pn # Continue even if standard ports fail
-httpd <inline> # Serve Java viewer inline
运行时出现 Error: /etc/vnc/config:4: unknown environment variable: USER
# Default vncserver configuration. See the vncserver man page for details.
-PasswordFile $HOME/.vnc/passwd1 # Location of VncAuth password
-desktop "$HOSTNAME:$DISPLAYNUM ($USER)" # Desktop name
-dpi 85
-geometry 800x600
-depth 24
-pn # Continue even if standard ports fail
-httpd <inline> # Serve Java viewer inline
运行时出现 Error: /etc/vnc/config:4: unknown environment variable: USER