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

Just installed Ubuntu 12.04 on my UEFI ASUS laptop. Upon my first boot I am presented with a terminal instead of the GUI. I get a no screens found error if attempting to use startx. I am using an AMD Radeon HD 7730M with a Radeon HD 7660G switchable graphics configuration. How do I fix no screens error?

I have followed the instructions on this page How to turn off ATI Radeon HD 7730M (on Dell inspiron 7520)? in order to load the driver for my GPU and have the same result.

After completing installation I attempt to verify using the following command:

fglrxinfo

I get Error: unable to open display (null).

share|improve this question

closed as off-topic by karel, David Foerster, Charles Green, hg8, Eric Carvalho Dec 30 '15 at 14:22

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – karel, David Foerster, Charles Green, hg8, Eric Carvalho
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Welcome to Ask Ubuntu! What have you tried? Using the search I find a lot of relevant questions. For example, does the following help you? Why my live installation results blank screen? (also Asus/UEFI) – gertvdijk Feb 5 '13 at 21:46
    
Problem solved: youtube.com/watch?v=ReyT56rTWnA – Ryan Feb 6 '13 at 5:29
    
@Ryan Please add your solution as an answer so that others may benefit from your experience! – Elder Geek Jun 13 '14 at 15:28

Open a terminal and issue the command:

sudo lspci|grep VGA

write down the first entries address xx:xx.x on the left (where xx:xx.x is the numbers displayed)

then issue the commands

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak (to back up your current config)

sudo nvidia-xconfig

sudo gedit /det/X11/xorg.conf (to edit configuration)

Move down to the Device section.

Just before the end section add BusID "PCI:XX:XX.X" Where XX:XX.X is your cards address you wrote down earlier.

Save the file, exit and reboot

Source: Ryan solution from comments with minor mods for backup and clarity

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.