User avatar
Posts: 156
Joined: Wed Jan 21, 2015 11:20 pm
Contact: Website

What is the difference between LXDE and LXDE-pi

Tue Feb 17, 2015 9:35 pm

Hello all,
I was reading up the docs about how to autostart scripts on the raspberry pi and I saw the posts where we can insert a line in

However, only inserting the appropriate line in /etc/xdg/lxsession/LXDE-pi works for me. So could someone explain what is the difference between the two?

On another note, I am connecting using ssh and I do "startlxde", which works fine. However, if I do "startx", it gives a few errors/warnings about some g22 module and nothing happens for a long time. I have to Ctrl-C it. Is startx operational on the RPi, and if not, why hasn't it been removed/blocked.
edit: I also found a "startlxde-pi". Does anyone know why this is there, and how's it different from "startlxde"?

Thank you.
Last edited by electronicsguy on Sat Feb 21, 2015 12:28 am, edited 2 times in total.

Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 376
Joined: Fri Dec 26, 2014 11:02 am

Re: What is the difference between LXDE and LXDE-pi

Thu Feb 19, 2015 6:14 pm

LXDE is the profile used for the old UI; settings for the new UI design live in the LXDE-pi profile.

I've not looked at the X startup, but I know we had problems with getting some of the shutdown code to run properly if startx was used (a permissions issue that proved hard to track down); I assume that startlxde and startlxde-pi are replacement scripts which fix that issue and launch LXDE with the relevant profile.

Any references in documentation to paths ending in .../LXDE are referring to the old UI - if you are using the new UI, just use paths ending in .../LXDE-pi instead.

Return to “Beginners”