Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a corrupt guest install of ubuntu 12.04 running on virtualbox 4.2.6. I cannot boot to graphical mode . I get an error “failed to load session “Ubuntu”" How can I remove information from the virtual disk or repair it? Networking is also disabled

share|improve this question

1 Answer 1

Try moving /etc/X11/xorg.conf to a /etc/X11/xorg.conf.backup.

I think the correct syntax would be :

sudo service lightdm stop , sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.backup , sudo service lightdm start , or sudo init 6 to restart the machine

The system will recreate xorg.conf by itself...

Of course, if you don't see the login screen, use alt+ctrl+f1 - f6

share|improve this answer

Your Answer

 
discard

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.