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 just rebooted my laptop and I can't start the gui. I logged in in text mode and startx says no screens detected.

I have tried to purge and install the nvidia driver,

  • I have tried to reinstall and reconfigure xserver-xorg...
  • I have tried to manually add my device (video card), monitor and screen in /etc/X11/xorg.conf and....

I have no gui at all. I need my desktop environment back. Can anyone help?

share|improve this question
(1) Add laptop/video card model (2) Post /var/log/Xorg.log.0 – John Siu Jan 20 '13 at 20:32
please, post full error log which appears after you hit startx. which desktop are you trying to start? what did you do prior the reboot? – 5chdn Jan 20 '13 at 20:49
Here is how i solved it. Installed nvidia-310.19 instead of nvidia-current 1. sudo add-apt-repository ppa:xorg-edgers/ppa 2. sudo apt-get update 3. cd && wget 4. chmod +x nvidia-310.19 5. cd && sudo sh nvidia-310.19 6. sudo reboot – Zeiss Jan 20 '13 at 22:17
@user1930341 1) Please don't just run software from unsupported sources. Nividia driver 310.19 is packaged for Ubuntu and also has an official Nvidia source. 2) Please don't put answers in comments. (This is a Q&A site and answers should be posted as answers) – gertvdijk Jan 21 '13 at 10:30

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.