| | |
|
Ubuntu VNC the Quick and Dirty Way
Why they don’t have better VNC support built into Ubuntu yet I don’t know, still it way better then it used to be. In the mean time here is a quick and dirty way to get VNC working from before you login screen.
- First off you need to make sure that you have x11vnc installed:
sudo apt-get install x11vnc
- Now all you need to do is slap in the command to run the VNC server into the file “/etc/init.d/gdm”. Locate the start section of the script and just before the “;;” add the line:
/usr/bin/x11vnc -safer -forever -nopw -loopbg -auth /var/lib/gdm/:0.Xauth -display :0
- and your done you should now be able to access your Ubuntu with VNC with a login screen.
Before any body comments I know you should do it though inetd, but I’ve often had problems with that in the past so this is just something to allow you access from login with out the hassle of installing and configuring inetd.
This entry was posted
on Thursday, October 30th, 2008 at 5:48 pm and is filed under Shell Script, Ubuntu.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
| |
| | |