Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

on my thinkpad T400, Ubuntu 12.04 hangs after "Checking battery state" and I have to boot the unity shell using startx in tty1 . My video card is an Intel Gma 4500Mhd. I cannot reinstall Ubuntu (because I have big software installs). It came after an upgrade. Maybe it is a shell problem.

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

When using the recovery mode root console, Xorg -configure leads to an error:

could not create lock file /tmp/tx0-lock

Can you help please?

share|improve this question
    
In recovery mode the file system is read only. If you type mount -o remount,rw / it will remount the filesystem as normal, so do that and try the X command again - might give you a better error. –  Tim Fountain Oct 9 '12 at 21:09
    
Thanks Tim, with mount -o remount,rw / I was able to run X -configure, it gives the error message : Number of created screens does not match number of detrected devices. Configuration failed. ....error(2) with or without my external VGA screen plugged in. –  louis Oct 11 '12 at 12:22
    
If X crashes on login it will bounce you straight back to the login screen. Is that what you are getting or is it actually hanging? Also check for the file .xsession-errors on your user's home directory - that should give you some more sensible errors. –  Tim Fountain Oct 11 '12 at 14:26
    
thanks. But I have login disabled. So it does not bounce back to login, it displays the log lines in tty7, ending by "checking battery state". .xsession-errors is confusing, I don't what to do with that. –  louis Oct 12 '12 at 10:50
    
up up up up up up –  louis Oct 19 '12 at 15:00
add comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.