<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.ledhed.net/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=VNC_on_Display_0_%28Ubuntu_10.04%29</id>
		<title>VNC on Display 0 (Ubuntu 10.04) - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.ledhed.net/index.php?action=history&amp;feed=atom&amp;title=VNC_on_Display_0_%28Ubuntu_10.04%29"/>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=VNC_on_Display_0_(Ubuntu_10.04)&amp;action=history"/>
		<updated>2026-04-08T20:50:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.2</generator>

	<entry>
		<id>//wiki.ledhed.net/index.php?title=VNC_on_Display_0_(Ubuntu_10.04)&amp;diff=2531&amp;oldid=prev</id>
		<title>Ledhed: Created page with 'Setting up X11VNC server under Ubuntu 10.04 This is a simple guide on setting up X11VNC on a system running Ubuntu 10.04 in a headless configuration. Good Luck, and YMMV.   == Cr...'</title>
		<link rel="alternate" type="text/html" href="https://wiki.ledhed.net/index.php?title=VNC_on_Display_0_(Ubuntu_10.04)&amp;diff=2531&amp;oldid=prev"/>
				<updated>2011-01-26T22:31:45Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;Setting up X11VNC server under Ubuntu 10.04 This is a simple guide on setting up X11VNC on a system running Ubuntu 10.04 in a headless configuration. Good Luck, and YMMV.   == Cr...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Setting up X11VNC server under Ubuntu 10.04&lt;br /&gt;
This is a simple guide on setting up X11VNC on a system running Ubuntu 10.04 in a headless configuration. Good Luck, and YMMV.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Credit ==&lt;br /&gt;
I got 99% of this from someone elses work, All I did was alter the init script by passing the -24to32 argument.&lt;br /&gt;
See references section&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== x11vnc ==&lt;br /&gt;
'''Install x11vnc'''&lt;br /&gt;
 sudo apt-get install x11vnc&lt;br /&gt;
OR compile x11vnc from source: http://www.karlrunge.com/x11vnc/&lt;br /&gt;
&lt;br /&gt;
'''Edit GDM init script'''&lt;br /&gt;
 sudo nano /etc/gdm/Init/Default&lt;br /&gt;
&lt;br /&gt;
'''Add on the second to last line'''&lt;br /&gt;
 /usr/bin/x11vnc -xkb -rfbauth /etc/x11vnc/passwd -o /var/log/x11vnc.log -bg -forever -24to32&lt;br /&gt;
&lt;br /&gt;
'''OR if you compiled from source, add the following line'''&lt;br /&gt;
 /usr/local/bin/x11vnc -xkb -rfbauth /etc/x11vnc/passwd -o /var/log/x11vnc.log -bg -forever -24to32&lt;br /&gt;
&lt;br /&gt;
'''Create a log file'''&lt;br /&gt;
 sudo touch /var/log/x11vnc.log&lt;br /&gt;
&lt;br /&gt;
'''Create a password file'''&lt;br /&gt;
 sudo mkdir /etc/x11vnc&lt;br /&gt;
 sudo touch /etc/x11vnc/passwd&lt;br /&gt;
 sudo x11vnc -storepasswd /etc/x11vnc/passwd&lt;br /&gt;
Follow the commands to store your password. Alternatively, if you do not wish to use a password, do not run this line and remove the -rfbauth /etc/x11vnc/passwd section from /etc/gdm/Init/Default&lt;br /&gt;
&lt;br /&gt;
'''Restart GDM'''&lt;br /&gt;
 sudo restart gdm&lt;br /&gt;
&lt;br /&gt;
You now have a fully configured, headless VNC setup. Congratulations! Please note that your VNC session will end whenever you log out of GDM, this is a problem with GDM killing the X11 session. X11VNC will start up again with the new X11 session at the login screen, so nothing to worry about, just reconnect!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
http://home.brooksaar.com/linux/x11vnc.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Ubuntu]]&lt;/div&gt;</summary>
		<author><name>Ledhed</name></author>	</entry>

	</feed>