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 am away from my Ubuntu machine and was working on it via VNC. I had to sign out of a user account and I lost my Ubuntu VNC connection. I am assuming the VNC server is not running since Ubuntu is sitting at the sign in screen.

I still have ssh access to the machine. I was wondering if it is possible to sign into a (desktop) user account via ssh so the VNC server will come back online?

share|improve this question
This may still work in 12.10 (untested):… – Takkat Feb 12 '13 at 15:32
up vote 1 down vote accepted

I solved this by running and sudo reboot command from inside of the ssh session I still had access too. Luckily, my system is set to auto sign-in to the main account on the computer, so I had VNC access again after it booted up.

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.