Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a desktop PC I want to remote desktop to, I also like the concept of virtual displays, so no one can see what I'm doing as I do it unless they connect to the display (as opposed to the standard vino setup where whatever I do would be shown on any real displays attached to the PC).

The problem is I that when I connect to it, the desktop seems broken, the theme goes gray (windows 95 style) and some icons are even missing (see image below).

My xstartup script looks like:

$ cat .vnc/xstartup 

xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
# Fix to make GNOME work
#exec ck-launch-session startxfce4
startxfce4 &
#xfce4-session &

Please help,

enter image description here

share|improve this question

You properly missing this line on your ubuntu xstartup file

vncconfig -iconic &

I use this xstartup file and xfce displays everything correctly

startxfce4 &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
share|improve this answer
Hi, thanks for your answer, but this actually didn't work, now in all fairness, the system I'm using to test is quite outdated (xubuntu 13.10 not-so-fresh install - it's behind a wallgarden with no access to the internet). I'll try this on an updated VM later and let you know of the results – rantsh Jun 6 '14 at 13:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.