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 know that this question is likely to have been asked elsewhere, but despite a concerted effort I have found everything BUT what I am looking for. What I want to do is pretty straightforward. I have a server running on 14.04 server LTS. Some software that I want to run on in it necessitates a GUI, but other benefits from the CLI. What I want to be able to do is administer it remotely, and for it to boot into CLI but with one command switch to a GUI. From there I would be able to return to the CLI when I had finished. So:

  1. Boot to CLI
  2. Switch to GUI at will
  3. Switch back to CLI, also at will... that I could view what was going on from a remote desktop while my server was running a GUI.

Any help would not only be much appreciated, but the giver would be held in the highest regard :o)

David C

share|improve this question
Too much hassle ;-) Have a look at screen. We use that from /etc/crontab to automate a session. And we use the command line to take over that screen. Interested? – Rinzwind Apr 23 '14 at 14:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.