VNC issue

From Cheaha
Revision as of 20:59, 31 July 2017 by Tanthony@uab.edu (talk | contribs) (VNC page issue)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Attention: Research Computing Documentation has Moved
https://docs.rc.uab.edu/


Please use the new documentation url https://docs.rc.uab.edu/ for all Research Computing documentation needs.


As a result of this move, we have deprecated use of this wiki for documentation. We are providing read-only access to the content to facilitate migration of bookmarks and to serve as an historical record. All content updates should be made at the new documentation site. The original wiki will not receive further updates.

Thank you,

The Research Computing Team

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