martedì 22 maggio 2012

How to install VNC Server on Xfce 4

The following will allow vnc to start a X desktop.

Install VNCServer 
apt-get install vnc4server

Config for xfce to start with vncserver
mkdir /etc/vnc
vi /etc/vnc/xstartup //add in the following: startxfce4

Start VNC Session
The first time a user goes "vncserver" from the cli, they will be asked for a password. This will be saved in ~/.vnc/passwd There will also be other log files in ~/.vnc/ Note, you can edit on a per user basis xstartup, however in the Config above, I added startxfce4 to the global file.

Kill VNC 
sessionvncserver -kill :1

Nessun commento: