You are not logged in.

#1 2018-01-09 20:45:42

Jasmine
Member
Registered: 2018-01-09
Posts: 11

[SOLVED] lightdm login loop with openbox

Upon entering my password, lightdm opens a blank console in the middle of the screen and then goes back to the login. Logs don't tell me anything other than openbox/Xsession exited with status 1. Tried doing common solutions like delete .Xauthority, didn't work

Last edited by Jasmine (2018-01-13 17:27:10)

Offline

#2 2018-01-09 21:06:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] lightdm login loop with openbox

Paste your configs and the journal entries.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-01-10 02:18:05

Jasmine
Member
Registered: 2018-01-09
Posts: 11

Re: [SOLVED] lightdm login loop with openbox

[LightDM]
log-directory=/var/log/lightdm
run-directory=/var/run/lightdm

[Seat:*]
greeter-session=lightdm-webkit2-greeter
user-session=openbox

What do you mean by journal entries?

Offline

#4 2018-01-10 02:25:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] lightdm login loop with openbox

Please use code tags when pasting to the boards: https://wiki.archlinux.org/index.php/Co … s_and_code

systemd's journal... There will be entries for your DM and, as your config shows, you have a log file.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-01-10 02:40:52

Jasmine
Member
Registered: 2018-01-09
Posts: 11

Re: [SOLVED] lightdm login loop with openbox

lightdm log: https://ptpb.pw/EUdb

jornalctl log: https://ptpb.pw/nfvO

Offline

#6 2018-01-10 08:33:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: [SOLVED] lightdm login loop with openbox

[+193.71s] DEBUG: Session pid=616: Logging to .xsession-errors
....
[+193.75s] DEBUG: Session pid=616: Exited with return value 1

openbox crashes, if it writes anything, that should be in ~/.xsession-errors

Offline

#7 2018-01-10 11:34:21

Jasmine
Member
Registered: 2018-01-09
Posts: 11

Re: [SOLVED] lightdm login loop with openbox

.xsession-errors is empty

Offline

#8 2018-01-10 12:37:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: [SOLVED] lightdm login loop with openbox

Check whether it dumped its core:

coredumpctl

Otherwise start an xterm instead and try to run openbox from there.

Random other ideas:
Also try startx instead of lightdm.
Move away your openbox config.

Offline

#9 2018-01-10 20:37:20

Jasmine
Member
Registered: 2018-01-09
Posts: 11

Re: [SOLVED] lightdm login loop with openbox

No coredump, and I have no openbox config yet. Using startx and starting openbox from within xterm works fine

Offline

#10 2018-01-10 20:42:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: [SOLVED] lightdm login loop with openbox

Notice that lightdm will run /usr/bin/openbox-session which is a shell script.
You could try to edit /usr/share/xsessions/openbox.desktop and make it run openbox directly.

Offline

#11 2018-01-10 20:51:57

Jasmine
Member
Registered: 2018-01-09
Posts: 11

Re: [SOLVED] lightdm login loop with openbox

Tried that, no effect

Offline

#12 2018-01-10 21:05:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] lightdm login loop with openbox

Please paste your full pacman.log


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2018-01-10 21:57:00

Jasmine
Member
Registered: 2018-01-09
Posts: 11

Re: [SOLVED] lightdm login loop with openbox

Offline

#14 2018-01-10 22:03:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] lightdm login loop with openbox

Why is the first thing you install after system tools (git, sudo, etc) and before X, a GTK theme?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#15 2018-01-10 22:05:02

Jasmine
Member
Registered: 2018-01-09
Posts: 11

Re: [SOLVED] lightdm login loop with openbox

Automated install script, im doing it piece by piece manually, and then adding it to the script after, hence arc is done but im working on lightdm now

Offline

#16 2018-01-10 22:06:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] lightdm login loop with openbox

Whose automated script?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#17 2018-01-10 22:08:22

Jasmine
Member
Registered: 2018-01-09
Posts: 11

Re: [SOLVED] lightdm login loop with openbox

Mine, written from scratch. Basically just mounts a usb with configs and another script, does a basic install following the guide, and then chroots and setups a new user, copies configs, and installs programs

Offline

#18 2018-01-12 21:53:12

Jasmine
Member
Registered: 2018-01-09
Posts: 11

Re: [SOLVED] lightdm login loop with openbox

Any other ideas? I tried setting the openbox.desktop command to be

openbox --debug > ~/log.txt 2>&1

but no file is created hmm

Offline

#19 2018-01-12 22:00:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] lightdm login loop with openbox

Well, it's not an openbox issue, but a lightdm one, per #9.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#20 2018-01-12 22:12:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,863

Re: [SOLVED] lightdm login loop with openbox

Actually that wasn't entirely clear because lightdm calls openbox-session and not openbox, but comment #18 sorted that out as well.

There's also https://bbs.archlinux.org/viewtopic.php?id=207533 and https://bbs.archlinux.org/viewtopic.php?id=170866 - so the issue is real and old.

Time to invoke gdb & strace, I'd say. Or ditch lightdm.

Offline

#21 2018-01-12 22:13:40

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: [SOLVED] lightdm login loop with openbox

[+1353.57s] DEBUG: Session pid=943: Running command lightdm-session /usr/bin/openbox-session

Would have expected /etc/lightdm/Xsession instead of lightdm-session
Please post the whole of the system's /etc/lightdm/lightdm.conf

Offline

#22 2018-01-12 22:16:58

Jasmine
Member
Registered: 2018-01-09
Posts: 11

Re: [SOLVED] lightdm login loop with openbox

Huh. Adding

session-wrapper=/etc/lightdm/Xsession

fixed it. I KNOW ive tried that before with no result. Maybe it's a combination of things? Idk anymore, glad its fixed tho smile, thanks for your help

Offline

#23 2018-01-13 03:17:38

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] lightdm login loop with openbox

Please mark as solved, by editing the title of your initial post.

Offline

Board footer

Powered by FluxBB