You may remember my post re: exporting the native X :0 display via VNC. Well, I’ve discovered a better solution than the one I’d found previously.
I had no idea, but there is a Xorg vnc module available, vnc4server on Debian and Ubuntu. Pull this package down, make a couple minor xorg.conf edits, restart gdm, et voila, we’re in business!
This makes my MythTV frontend, built on a repurposed Akimbo 1st generation set-top box, that much more bad-ass. Now if only I could get the infrared remote to work.
The full instructions appear below, recorded for my forgetful self, ripped from the Highland Lakes LUG site in case they disappear (thanks guys!)…….
Howto: Remote the native X server (i.e. the “:0″ X display) using VNC
Tuesday, October 17 2006 @ 09:28 AM MDT
Contributed by: emperor
There is a vnc module for X that can be installed which will provide the native :0 X display when connecting remotely with the vncviewer.
1. On Ubuntu, install the “vnc4server” package (universe). This will provide “/usr/lib/xorg/modules/extensions/libvnc.so” (The vnc.so module for VNC 4.1.2 was changed from vnc.so to libvnc.so.)
2. Add “vnc” to the Module section in /etc/X11/xorg.conf
Section “Module”
…
Load “vnc”
EndSection
3.a.If your VNC server is running in a secure environment, you can disable authentication with the following configuration:
Section “Screen”
…
Option “SecurityTypes” “None”
EndSection
3.b. If your VNC server is NOT running in a secure environment, you will need to set a VNC password using the vncpasswd program:
# vncpasswd
Password:
Verify:
Then tell the VNC module where the password is stored in xorg.conf:
Section “Screen”
…
Option “SecurityTypes” “VncAuth”
Option “UserPasswdVerifier” “VncAuth”
Option “PasswordFile” “/root/.vnc/passwd”
EndSection
4. Logout and restart X (Ctrl-Alt Backspace)
References:
<http://www.realvnc.com/products/free/4.1/x0.html>
<http://gentoo-wiki.com/HOWTO_Use_TightVNC_W/_JPEG_Compression_to_connect_to_existing_X_Sessions>
Entries (RSS)
Thank you a lot !
Hi again,
It didn’t work completly for me, but after more investigation, I’ve modified my config file like that :
Section “Device”
Identifier “Card0″
Driver “nvidia”
VendorName “nVidia Corporation”
BoardName “G98 [GeForce 8400 GS]”
BusID “PCI:2:0:0″
Option “SecurityTypes” “none”
EndSection
and it works now
I am using Ubuntu 9.10 64 bits