VNC issue

From UABgrid Documentation
Jump to: navigation, search

VNC Black screen issue

We work around it by changing your default desktop from GNOME to MATE.

1. Terminate any existing vncserver processes (use "vncserver -list" to list any current sessions, and "vncserver -kill :3" to terminate the session, in this example it is terminating the vncserver using port 3, aka 5903)

2. Modify your "$HOME/.vnc/xstartup" script to look like the following (we've also updated the wiki https://docs.uabgrid.uab.edu/wiki/Setting_Up_VNC_Session#Configure_the_Cluster_Desktop):

#!/bin/sh 

# Start up the standard system desktop 
unset SESSION_MANAGER 
unset DBUS_SESSION_BUS_ADDRESS 

#exec /etc/X11/xinit/xinitrc 
/usr/bin/mate-session 

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup 
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources 
xsetroot -solid grey 
vncconfig -iconic & 
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & 
x-window-manager & 

3. Start a new "vncserver" session

4. Create your SSH tunnel

5. Connect using the VNC client of choice

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox