VNC server shows black screen with a X cursor

Posted by user2656114 on Server Fault See other posts from Server Fault or by user2656114
Published on 2013-10-29T09:00:44Z Indexed on 2013/10/29 9:57 UTC
Read the original article Hit count: 174

Filed under:

Starting VNC server using vncserver :1, client can connect to the server but it shows only a black screen with a X cursor.

Contents of .vnc/xstartup is:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
 unset SESSION_MANAGER
 exec /etc/X11/xinit/xinitrc

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

Is it a problem with this?

© Server Fault or respective owner

Related posts about vnc