Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 
#!/bin/sh

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
#export XKL_XMODMAP_DISABLE=1
#/etc/X11/Xsession
#exec ck-launch-session startxfce4
startxfce4 &
#xfce4-session &

Please help,

enter image description here

share|improve this question
add comment

1 Answer 1

You properly missing this line on your ubuntu xstartup file

vncconfig -iconic &

I use this xstartup file and xfce displays everything correctly

#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
share|improve this answer
1  
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 at 13:51
add comment

Your Answer

 
discard

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.