I just spent a few hours getting the free version RealVNC working in Ubuntu 13.04 Raring Ringtail (Beta 2). Here are the steps that I needed to take:
- Disable the X Server Render extension. Copy
- Create a custom
/etc/vnc/xstartup.customand make the following changes:
- Remove the line
[ -x /etc/vnc/xstartup.custom ] && exec /etc/vnc/xstartup.custom
"gnome-fallback"to the list of valid sessions by replacing
for SESSION in "ubuntu-2d" "2d-gnome"; do
for SESSION in "ubuntu-2d" "2d-gnome" "gnome-fallback"; do
- Add to the top of the file:
- Remove the line
I found it necessary to unset
XDG_RUNTIME_DIR because I could not figure out a way to guarantee the directory it points to actually exists. When the directory did not exist I experienced 100% CPU utilization bugs in
XDG_RUNTIME_DIR variable and directory that it points to are managed by a PAM module in libpam-xdg-support. When
jsmith logs in over SSH, the PAM module creates a directory
/run/users/jsmith and increments a session count stored in
jsmith later logs out, the session count is decremented. When the session count reaches zero the directory is deleted. Since RealVNC does not appear to use the PAM session machinery, there is no way to guarantee that the session count remains positive if only a VNC session is active.
6 thoughts on “RealVNC on Ubuntu 13.04 Raring Ringtail”
I’ve had some issues with ParaView in this configuration. See the bug report I filed which does include a workaround.
To get Skype working, download and install the new packages from raring-proposed, and add a line
/etc/xdg/sni-qt.conf. See #863190.
unset XDG_RUNTIME_DIR does not seem to do the trick to me.
I added it after the #!/bin/sh line in the /etc/vnc/xstartup.custom file without luck. Any advice?
Gorka: I forgot to mention that you need to make
/etc/vnc/xstartup.customexecutable and you also need to install the
gnome-session-fallbackpackage. I posted the full script I’ve been using as a Gist: https://gist.github.com/bfroehle/6015501
Thanks for the help Brad,
Still no luck. I have gnome-session-fallback and etc/vnc/xstartup.custom executable. I am also using your xstartup.custom script.
This is in a 13.04 ubuntu server.
Some questionable quirks:
-I also need to have a xstartup file in ~/.vnc for the gnome-session-fallback to show up. I use the same /etc/vnc/xstartup.custom file.
-I uninstalled indicator-datetime-service but of course, that solution does not work with gnome-settings-daemon.
Any help would be greatly appreciated.
Hmm, I’m out of ideas. Perhaps the RealVNC folks can help if you still have a support contract? Please post a solution if you find one.