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.

I want to remove lxdm and start lxde with just startx or startlxde.

I previously just had an openbox installation and was building that up. I then installed lxde, but wanted to get rid of lxdm, so I uninstalled it. Upon doing so, typing startx or startlxde kicks me into the previous openbox session and not into the lxde session. How do I fix this?

share|improve this question

1 Answer 1

Your .xinitrc file will need to be changed to start lxde instead of openbox. Open a terminal, and type nano ~/.xinitrc. You should see a line that says "exec openbox-session". Comment that line out by adding a "#" as the first character. Then, add a line that says exec lxde-session.

The xinit manpage offers a more complete description of what this file does, but basically, it's the file that startx looks at to decide what to do, and what order to do it in. Here's the manpage for ubuntu's xinit file.

If that doesn't work, the LXDE wiki also has the following instructions on their wiki:

No display manager, use startx Run following command:

sudo update-alternatives --config x-session-manager

Then choose startlxde. The next time you run startx, LXDE will be started.

share|improve this answer
1  
I'd came across the LXDE wiki article before and tried that. Also, edited .xinitrc and it says no lxde-session found when I try to run startx. Any other ideas? I have an auto and manual startlxde, and I believe I've tried both. –  Noah Clark Jan 10 '13 at 0:42
    
Sorry to have kept you waiting. Maybe try re-installing lxde to see if any dependencies have gone missing? Please let us know what you've tried in the meantime, especially if you've gotten it to work. –  Hank Gettinger Feb 1 '13 at 21:51

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.