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.

The problem I have is that after I have entered my username and password, all I get is a blank desktop. No launcher and I am unable to click anything.

After some googling around, I switch to a console (Alt-F1) and run unity --replace. I then switch back to X console, and unity is running fine, and I can confirm it is unity-3d that is running (I am typing this from one of these manual sessions).

So, in desperation, I tried to install gdm instead. gdm seems to work, i.e. after login I get my desktop with launcher, but it is unity-2d and not unity-3d - even though the session is ubuntu and not ubuntu 2d.

So, how do I go about getting lightdm to automatically start unity-3d properly?

Some further info: If I switch to the discrete graphics card in Catalyst Control Centre, then the problem goes away (but my battery life drops drastically, and fans spin continuously).

I am not sure what info you need to help me out...

All I can tell you is that I have a laptop with switchable graphics. The 'onboard' graphics is an Intel HD3000 and the 'discrete' is a Radeon 6770M. I use the Onboard graphics (set via Catalyst Control Centre) as it eats a lot less battery.

share|improve this question
    
Some further info: If I switch to the discrete graphics card in Catalyst Control Centre, then the problem goes away (but my battery life drops drastically, and fans spin continuously). –  tardomatic May 19 '12 at 19:16

2 Answers 2

up vote 1 down vote accepted

Try:

sudo apt-get install --reinstall lightdm ubuntu-desktop

share|improve this answer
    
Hi, thanks... I've tried that, but it does not seem to have helped –  tardomatic May 20 '12 at 6:44
    
See my answer to this post: askubuntu.com/questions/139484/freeze-after-startup/… . When this happen i had to make this but not only because of what your are happening to you. If you have time, and you know what you are doing, try it. –  Eduardo Pinheiro May 21 '12 at 15:44

Ok, I've solved it, so I thought I'd post here in case anyone else has a similar issue. The solution can be found here: http://ubuntuforums.org/showthread.php?t=1930450&page=11 (Post 107)

Essentially, you need to change the /etc/X11/Xsession.d/10fglrx file to include the path for the intel drivers in the LIBGL_DRIVERS_PATH variable. Once I did this, Unity3d runs without issue.

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.