https://docs.uabgrid.uab.edu/w/index.php?title=VNC_issue&feed=atom&action=historyVNC issue - Revision history2024-03-28T16:22:51ZRevision history for this page on the wikiMediaWiki 1.38.2https://docs.uabgrid.uab.edu/w/index.php?title=VNC_issue&diff=5579&oldid=prevTanthony@uab.edu: VNC page issue2017-07-31T20:59:28Z<p>VNC page issue</p>
<p><b>New page</b></p><div>VNC Black screen issue<br />
<br />
We work around it by changing your default desktop from GNOME to MATE.<br />
<br />
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) <br />
<br />
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): <br />
<br />
<pre><br />
#!/bin/sh <br />
<br />
# Start up the standard system desktop <br />
unset SESSION_MANAGER <br />
unset DBUS_SESSION_BUS_ADDRESS <br />
<br />
#exec /etc/X11/xinit/xinitrc <br />
/usr/bin/mate-session <br />
<br />
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup <br />
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources <br />
xsetroot -solid grey <br />
vncconfig -iconic & <br />
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & <br />
x-window-manager & <br />
</pre><br />
<br />
3. Start a new "vncserver" session <br />
<br />
4. Create your SSH tunnel <br />
<br />
5. Connect using the VNC client of choice</div>Tanthony@uab.edu