Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I keep getting a grey background in my VNC viewer on my VPS, like so:

enter image description here

My .vnc/xstartup is as follows:

#!/bin/sh

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

gnome-session --session=gnome-classic &
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources

xsetroot -solid grey
xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &

x-terminal-emulator -geometry 1280x1024+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &

My server has the tightvncserver and everything else properly installed and configured to port 1. What is going wrong? I'm on Debian 6.0.4

share|improve this question
    
What are you expecting to see, a console? –  Braiam Jul 31 '13 at 0:00
    
No, a desktop. I get a background. –  Someone Jul 31 '13 at 0:01
    
A new session or the current session of X? You might want to read this question on Super User, superuser.com/q/326638/235569 –  Braiam Jul 31 '13 at 0:03
    
According to that, all users logged in get their own desktop. I just want to see a desktop interface. –  Someone Jul 31 '13 at 0:05
    
OK, then lets set things straight. You went from work to home and wants to continue the same work (without the need of starting all the applications again) in your house, that? –  Braiam Jul 31 '13 at 0:07

1 Answer 1

up vote 1 down vote accepted

As discussed on chat, for what you want to do, opening a session over VNC, you (normally) don't need further configuration of the VNC server. Just delete the configuration file .vnc/xstartup and you will be fine.

share|improve this answer
    
So you're telling me that if I remove the line with -solid, it will work? –  Someone Jul 30 '13 at 23:49
    
Still not working. –  Someone Jul 30 '13 at 23:54
    
Yes. I deleted both. –  Someone Jul 30 '13 at 23:57

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.