You are not logged in.
Pages: 1
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
Paste your configs and the journal entries.
Moving to NC...
Offline
[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
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.
Offline
lightdm log: https://ptpb.pw/EUdb
jornalctl log: https://ptpb.pw/nfvO
Offline
[+193.71s] DEBUG: Session pid=616: Logging to .xsession-errors
....
[+193.75s] DEBUG: Session pid=616: Exited with return value 1openbox crashes, if it writes anything, that should be in ~/.xsession-errors
Offline
.xsession-errors is empty
Offline
Check whether it dumped its core:
coredumpctlOtherwise 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
No coredump, and I have no openbox config yet. Using startx and starting openbox from within xterm works fine
Offline
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
Tried that, no effect
Offline
Please paste your full pacman.log
Offline
Offline
Why is the first thing you install after system tools (git, sudo, etc) and before X, a GTK theme?
Offline
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
Whose automated script?
Offline
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
Any other ideas? I tried setting the openbox.desktop command to be
openbox --debug > ~/log.txt 2>&1 but no file is created ![]()
Offline
Well, it's not an openbox issue, but a lightdm one, per #9.
Offline
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
[+1353.57s] DEBUG: Session pid=943: Running command lightdm-session /usr/bin/openbox-sessionWould have expected /etc/lightdm/Xsession instead of lightdm-session
Please post the whole of the system's /etc/lightdm/lightdm.conf
Offline
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
, thanks for your help
Offline
Please mark as solved, by editing the title of your initial post.
Offline
Pages: 1