Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 an existing xubuntu server running on my local network. I set up x11vnc and it starts at the login screen, so I can login myself. The only problem is that every time I log in, the vnc connection closes, my vnc viewer (Remmina Remote Desktop Client) window closes, and as soon as I click connect again, I'm back at an empty login screen as if nothing happened. To get it to start before login, I've placed this command in my /etc/rc.local file before the exit 0 command.

x11vnc -xkb -noxrecord -noxfixes -noxdamage -ncache 6 -display :0 -forever -shared -bg -o /var/log/x11vnc.log -rfbport 5901

Why does it disconnect but still allow me to reconnect? Why does it disconnect in the first place? The log shows nothing wrong happening.

share|improve this question

Did you find the answer for this? I found Remmina would close if your colour depth was not the same on the Xserver as it is on the VNC client. vinagre didn't have an issue but I found this to be the case with Remmina.

share|improve this answer
This is more appropriate for a comment than an answer. – Drew Khoury Feb 8 '14 at 23:11
I thought so too, but as you're familiar with how things should be done here, you'll know that requires 50 reputation. – innvo Feb 10 '14 at 0:41
The point of the reputation system is for you to gain the 50 points, not post comments as answers. – Drew Khoury Feb 10 '14 at 2:32
the point is to help people find answers, try investing your time thinking about answers instead of "points systems". – innvo Feb 10 '14 at 3:30
Actually you mention the reputation system. ServerFault have implemented it for a reason and you're simply trying to bypass it. That's not a huge deal I just wanted to bring it to your attention. I'll continue to give back to ServerFault through reviews and answers like I've always done. – Drew Khoury Feb 10 '14 at 4:11

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.