Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 was working on some stuff on my desktop running Ubuntu 11.04. I bumped the button sequence, i forget what it even is now, that throws you back to the terminal. So I log in and hear the music I was working on continue to play, that gives me hope that I haven't lost my work. But I can't figure out what to type to reconnect to the X server. xinit and startx didn't work.

so what do I need to type to reconnect to that running X server?

share|improve this question

On Linux, you can switch between virtual terminals by using Alt+Fx (or Ctrl+Alt+Fx if inside an X11 session).

Alt+F7 should work for you. (X11 starts on the first available tty, which is often tty7, as ttys 1-6 are set up by console logins in most Linux distributions.)

If it is not tty7 for some reason, run who or w and look for "Xorg" or "gdm" in the output.

share|improve this answer
homework: saved! thanks. :x – Narcolapser Sep 15 '11 at 19:02

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.