Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 use x11vnc since long, to connect from my office to my home. My goal is to access to my computer exactly as if I were in front of it. So when I return to home I can continue was I started remotly, and vice-versa.
The problem is I must leave my X session open before going to work, because x11vnc don't allow me to see any login screen. So I can't reboot remotly, I can't log as another user, etc.

I did something wrongly ?
Or any way to have this login screen ?

share|improve this question
up vote 2 down vote accepted

x11vnc perfectly works with x11vnc -display :0 -auth guess -no6 -forever -nolookup -passwd xxxx -ping 60
Also have a look at the -reopen parameter in case of problem when you logoff.

I use KDM so I put this line into /etc/kde/kdm/Xsetup

Every needed informations are there : http://www.karlrunge.com/x11vnc/faq.html

share|improve this answer

If you'd like the graphical login screen then install a Desktop Manager such as GDM, KDM, LXDM, SLIM, Qingy, LightDM, WDM (I'm sure there are many others, but these are all that I could rattle off the top of my head).

Once installed, enable it start at boot. The procedure for enabling this to start at boot will depend on your distribution's init system (sysvinit/systemd).

Instructions to enabling things to run at boot will most likely be explained on your distribution's wiki page.

  • sysvinit is configured via /etc/rc.conf
  • systemd requires the use of systemd unit files

Remember: You will also need to make sure that x11vnc is loaded at boot, and loaded after the Desktop Manager. Once that's all setup you should be able to reboot the machine remotely.

Good luck.

share|improve this answer

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.