Instead of /etc/X11/xinit/xinitrc, you can specify a desktop startup command
such as startkde or gnome-session.
Setting a solid-color desktop background and using a visually simple
window theme may improve remote display performance. A lightweight
window manager/desktop environment such as Xfce (Section
8.6) may work better than KDE or Gnome on slow or congested network
connections.
14.5
14.5 Using the VNC Viewers 197
Running vncserver is straightforward, and may be done from a remote shell prompt
(for example, via SSH). This is the output when vncserver is run for the first time:
blue$ vncserver
You will require a password to access your desktops.
Password: secret
Verify: secret
New 'blue:4 (chris)' desktop is blue:4
Creating default startup script /home/chris/.vnc/xstartup
Starting applications specified in /home/chris/.vnc/xstartup
Log file is /home/chris/.vnc/blue:4.log
To kill the RealVNC version of vncserver, use the -kill option with the display number
reported by the server:
blue$ vncserver -kill :4
To kill the TightVNC version, kill Xvnc by name:
blue$ killall Xvnc
vncserver understands the same options as Xvnc. Some versions of this script access
default values for command-line options from the configuration file /etc/vnc.
Pages:
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308