Now install x11vnc, you can do this with apt-get or Synaptics, this package is available in the Community Maintained (Universe) repository.
Now with x11vnc installed, you will need to create a password file:
sudo x11vnc -storepasswd yourpasswordhere /etc/x11vnc.pass
Then configure GDM to run x11vnc when at loading time:
sudo gedit /etc/gdm/Init/Default
and this line to the file:
/usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -o /tmp/x11vnc.log -forever -bg -rfbport 5900
(you can change the port and other parameters)
So far so good, but if you restart your pc at this stage you’ll only be able to login, then the GDM will kill your session. To avoid this we must change another file:
sudo gedit /etc/gdm/gdm.conf
now search for this line :
#KillInitClients=true
And change it to this:
KillInitClients=false
Restart you PC and now you have VNC at login time.
Firewall: 5800, 5900
Sunday, April 27, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment