You are not logged in.
Hello,
I'm trying to set up logging in through the lightdm-gtk-greeter with $HOME/.xsession. But after entering my password, lightdm displays "Failed to start session".
Here's my .xsession:
#!/bin/sh
exec /usr/local/bin/dwm
When I log in at the virtual (text) console, I can start dwm just fine with "sx /usr/local/bin/dwm"
I have the impression that lightdm doesn't even try to start /etc/lightdm/Xsession because I can't find the first "echo" line in any logs.
Last edited by musbur (2022-01-19 15:21:28)
Offline
I'm trying to set up logging in through the lightdm-gtk-greeter with $HOME/.xsession.
How exactly?
https://wiki.archlinux.org/title/Displa … _a_session
https://aur.archlinux.org/packages/xinit-xsession/ runs ~/.xinitrc, not ~/.xsession
Offline
I'm trying to set up logging in through the lightdm-gtk-greeter with $HOME/.xsession.
How exactly?
Like this (unchanged config file):
$ grep -v '^#' /etc/lightdm/lightdm.conf
[LightDM]
run-directory=/run/lightdm
[Seat:*]
session-wrapper=/etc/lightdm/Xsession
[XDMCPServer]
[VNCServer]
$
$ tail /etc/lightdm/Xsession
# Run user xsession shell script
script="$HOME/.xsession"
if [ -x "$script" -a ! -d "$script" ]; then
echo "Loading xsession script $script"
. "$script"
fi
echo "X session wrapper complete, running session $@"
exec $@
$
I tried to follow this documentation: https://wiki.archlinux.org/title/LightDM, but what it doesn't mention, is that I need this file:
$ cat /usr/share/xsessions/default.desktop
[Desktop Entry]
Name = Xsession
Exec = /etc/lightdm/Xsession
$
This solved my issue. I know I'm supposed to change the title to [Solved] ... But how to edit the title?
Offline
I know I'm supposed to change the title to [Solved] ... But how to edit the title?
Editing your initial post allows you to edit the subject of the thread and simply prepend the token.
Offline