You are not logged in.

#1 2015-07-11 15:13:50

Marvix
Member
Registered: 2013-10-08
Posts: 146

[SOLVED] LXDE - Black screen after log in

I have LXDE as DE and Openbox as WM.

After the last log in, I get only a black screen with the mouse pointer.

I installed Mate to be sure that it is only a LXDE problem.

It is customized with custom GTK2 and Openbox themes.

What can it be with this?

Last edited by Marvix (2017-11-02 17:12:27)

Offline

#2 2015-07-11 16:03:34

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [SOLVED] LXDE - Black screen after log in

Are you logging in with LXDM? If so, can you log in to LXDE with startx?

Did the issue occur following an update?

Offline

#3 2015-07-11 16:09:34

Marvix
Member
Registered: 2013-10-08
Posts: 146

Re: [SOLVED] LXDE - Black screen after log in

I use startx, no LXDM. My log in always in startx.

I don't remember to make an update but I might have done. Can't be sure.

Last edited by Marvix (2015-07-11 16:45:25)

Offline

#4 2015-07-11 16:15:58

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [SOLVED] LXDE - Black screen after log in

Ok. Regarding updates, check your /var/log/pacman.log You'll be able to see what you updated and when. If some packages were updated very recently, those updates might be what caused the problem.

You also might want to share what's in your ~/.xinitrc and your /var/log/Xorg.0.log

Last edited by Chazza (2015-07-11 16:16:40)

Offline

#5 2015-07-11 16:42:23

Marvix
Member
Registered: 2013-10-08
Posts: 146

Re: [SOLVED] LXDE - Black screen after log in

In my ~/.xinitrc I've got these rules

# Disable beep sound on boot
xset b off &
xset b 0 0 0 &

# Enable Numpad on boot
numlockx &

# Start LXDE
#exec startlxde
#exec openbox

# Temporary until I repair the LXDE issue
exec mate-session

I see, I have upgraded at 09:02 and since I haven't rebooted my system.

As I see, the problem my occurred before the update I did at 14:09 (the time I realized I couldn't log in) and tried to reinstall the packages.

Last edited by Marvix (2015-07-11 21:37:28)

Offline

#6 2015-07-11 17:07:13

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [SOLVED] LXDE - Black screen after log in

Nothing in the pacman.log looks like a likely candidate. The ~/.xinitrc looks fine. I notice that the Xorg log appears to be out of date:

[  2572.979] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jun  6 07:14:23 2015

Perhaps a more up to date one exists in ~/.local/share/xorg ?

From the log provided, I noticed this:

[  2572.992] (II) intel(0): SNA initialized with Ivybridge (gen7, gt2) backend

Have you ensured your microcode is up to date.

Also, does switching to the UXA backend help? See https://wiki.archlinux.org/index.php/In … SNA_issues

Offline

#7 2015-07-11 17:35:44

Marvix
Member
Registered: 2013-10-08
Posts: 146

Re: [SOLVED] LXDE - Black screen after log in

The microcode wasn't installed. I installed it now and set the /etc/X11/xorg.conf.d/20-intel.conf to

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod"  "uxa"
EndSection

as it is in https://wiki.archlinux.org/index.php/In … SNA_issues

As I log in from the root account LXDE works fine

Last edited by Marvix (2015-07-11 21:36:21)

Offline

#8 2015-07-11 17:49:11

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [SOLVED] LXDE - Black screen after log in

Logging in from another account was what I was going to suggest next so you beat me to it. For reference though, it's better not to log in as root. Just create a new user account and test from there.

Now if LXDE works fine from another account but not from your main account, that suggests faulty LXDE configuration in your main account so you might want to look into that.

Edit: Just had a look at the LXDE wiki article. It looks like ~/.config/lxsession and ~/.config/openbox are where the main LXDE config files are found. Perhaps try renaming each of those directories in turn and starting LXDE. If renaming one of the folders worked, you'll know where the faulty config resides if that is indeed the problem.

Last edited by Chazza (2015-07-11 19:06:29)

Offline

#9 2015-07-11 19:19:38

Marvix
Member
Registered: 2013-10-08
Posts: 146

Re: [SOLVED] LXDE - Black screen after log in

The Openbox alone works fine. I missed to report this before.

The ~/.config/lxsession/autostart is the above

@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@xscreensaver -no-splash

When you mean to rename, are you refering for the folder?

Offline

#10 2015-07-11 20:41:49

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [SOLVED] LXDE - Black screen after log in

Yes. The idea being that if the folder is renamed, the LXDE session manager will be unable to find the configuration files and will therefore be forced to regenerate the default configuration files. Renaming each file will have the same effect of course but if there are many files within the directory then it is easier to rename the directory itself.

So try renaming ~/.config/lxsession to ~/.config/lxsession.bak (or any other name you wish to use) and start LXDE to see if that makes a difference.
If not, then try renaming ~/.config/openbox to ~/.config/openbox.bak and see if that makes a difference.

I'm not sure if there are any other LXDE config files in the home directory, I haven't used LXDE in quite a while.

You could execute something like the following which should hopefully find all the relevant files and folders:

find ~ -name *lxde* -or -name *openbox*

Offline

#11 2015-07-11 21:38:38

Marvix
Member
Registered: 2013-10-08
Posts: 146

Re: [SOLVED] LXDE - Black screen after log in

Well it worked. I deleted every file and folder related with LXDE mostly in /.config/lxsession and after a 5 second delay it returned back to LXDE.

Thank you very much for your time :-)

Last edited by Marvix (2015-07-11 21:39:09)

Offline

Board footer

Powered by FluxBB