LXDE not starting

Please post all general support questions for LXDE here.
Locked
hbdevelop1
Posts: 6
Joined: Sun Nov 15, 2020 10:22 am

LXDE not starting

Post by hbdevelop1 »

Hello,

I had ~/.cache/lxsession/LXDE/run.log fill up 100% of my HDD.
I had to delete it to free up disk space.
But now LXDE doesn't start.
I have learned that lightdm should start both LXDE and OpenBox, but only the latter ends up running at the end of the start process.
I tried dpkg-reconfigure with lightdm, lxsession, openbox and LXDE packages.
But no success.

Any idea ?

Thank you
hbdevelop1
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: LXDE not starting

Post by drooly »

hbdevelop1 wrote: Sun Nov 15, 2020 10:25 amI had ~/.cache/lxsession/LXDE/run.log fill up 100% of my HDD.
I had to delete it to free up disk space.
That is very sad because that file would have contained some information about what's wrong with your system...
hbdevelop1 wrote: Sun Nov 15, 2020 10:25 amBut now LXDE doesn't start.
Please elaborate.
I have learned that lightdm should start both LXDE and OpenBox, but only the latter ends up running at the end of the start process.
There should be a choice of an LXDE session and an Openbox session.
I tried dpkg-reconfigure with lightdm, lxsession, openbox and LXDE packages.
Tried? And succeeded?
Next time you try, please show us all commands entered & full output received, in CODE tags.
hbdevelop1
Posts: 6
Joined: Sun Nov 15, 2020 10:22 am

Re: LXDE not starting

Post by hbdevelop1 »

Hi Drooly,

Thank you for your reply.

1 -
I am linking to the following :
A- screen shot of what I see on my screen.
B- the output of ps -aux
C- some log files.

https://drive.google.com/drive/folders/ ... sp=sharing

Let me know if anyone need more info.

2-
You said that there should be a choice of an LXDE session and an Openbox session.
But in my case I've never seen any choice. LXDE just ends up running at the end of the boot.

3-
The only way to have the usual desktop is by manually running
$ /usr/bin/startlxde &

Thank you
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: LXDE not starting

Post by drooly »

Why do you have all these root-owned files in your home folder? Something is very wrong in your screenshot.
I couldn't really look at the text files, please use a pastebin and always explain where the file comes from, in which context it was created and which command created it.
hbdevelop1
Posts: 6
Joined: Sun Nov 15, 2020 10:22 am

Re: LXDE not starting

Post by hbdevelop1 »

Hi Drooly,

1- The terminal screen shot is showing the content of /var/log, not my home directory.

2- Here are few log files at the end of the boot:
/var/log/Xorg.0.log -> https://appp.me/21e2K9
/var/log/syslog -> https://appp.me/jJ7I1y
/var/log/boot.log -> https://appp.me/j6qK1M
/var/log/auth.log -> https://appp.me/jPD3mr
ps -aux -> https://appp.me/JQ1RMZ

Let me know if you need more info.

Thank you
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: LXDE not starting

Post by drooly »

Upon superficial reading, I see no "error"s or "fail"s in these logs.
Sorry.
hbdevelop1
Posts: 6
Joined: Sun Nov 15, 2020 10:22 am

Re: LXDE not starting

Post by hbdevelop1 »

Thank you, Drooly, for your attempt to help
GalmOne
Posts: 2
Joined: Sat Nov 28, 2020 2:13 pm

Re: LXDE not starting

Post by GalmOne »

At that point, I'd attempt reinstalling LXDE, as the files are, quite literally, all over the place. It may solve some file location issues!
hbdevelop1
Posts: 6
Joined: Sun Nov 15, 2020 10:22 am

Re: LXDE not starting

Post by hbdevelop1 »

Hi all,

I have another computer successfully running LXDE.
Comparing /var/log/lightdm/lightdm.log in both computers, I've discovered this big difference:

In the computer that runs LXDE sucessfully: [+0.75s] DEBUG: Session pid=1410: Running command /usr/sbin/lightdm-session /usr/bin/startlxde

In the one where LXDE doesn't start: [+5.02s] DEBUG: Session pid=1481: Running command /usr/sbin/lightdm-session /usr/bin/openbox-session

I am not seeing any difference in config files on both computers.
Any clue about the possible root cause ?

Thank you
Hbdevelop
drooly
Posts: 791
Joined: Mon Apr 08, 2013 6:45 am

Re: LXDE not starting

Post by drooly »

No clue about the "root cause", but it's easy enough to fix: at the login screen, choose the LXDE session instead of the Openbox session.
Unless you actually want the Openbox session.
Locked