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
vncserver 
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

Commenti

Post popolari in questo blog

Solaris 10: How to restart network service without reboot

How to send e-mail using PHP and mail() with Linux Debian