Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 am currently working over a serial-console (from desktop computer to a developing board)... i tried switching between this three visual alternatives: unity, gnome and recovery console (using the board devices, not serial-console)... they worked perfectly... but for some reason, my keyboard stopped working on the board just when i switched to recovery console, and the only way to control the device is through the desktop serial-console...

does anyone know how to go back to gnome or unity from serial-console? i tried gnome-shell --replace and unity --replace but:

Window manager error: Unable to open X display

** (gnome-shell:6053): WARNING **: Command line `dbus-launch --autolaunch=b6a0f5be3cacff6ccdea054a00000008 --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n

... so any ideas??

thank you!

share|improve this question
up vote 0 down vote accepted

You will probably need to restart the display manager:

# sudo restart lightdm

You can also change virtual terminals using chvt, so if you're on the recovery console (VT1) and X is running on VT7 then the following might help:

# chvt 7
share|improve this answer
thank you so much! – Alexis Jul 2 '12 at 22:15

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.