You are not logged in.
Pages: 1
When I start startx I get a weird session with three terminals and a clock instead of LeftWM (I also can't start it without root).
I only added this line to .xinitrc (from leftwm github page): "exec dbus-launch leftwm"
Edit: Fixed the boot into tdm session. Still can't use startx without sudo, and when used gives errors related to xkbcomp like:
Could not resolve keysym XF86KdbLcdMenu5Errors from xkbcomp are not fatalEdit2: Fixed the errors related to xkbcomp by deleting all autogenerated key symbols in /usr/share/X11/xkb/symbols/inet. I still haven't figured out how to run startx without room (LightWM won't work as root), and all topics on that doesn't point at any solution
Edit3: Finally found a topic and turned out that I need to downgrade kernel
Last edited by Qwart (2021-07-01 00:06:50)
Offline
You are using
cat /etc/X11/xinit/xinitrcPost your /home/<username>/.xinitrc
Or configure it correctly.
https://wiki.archlinux.org/title/Xinit
Offline
You are using
cat /etc/X11/xinit/xinitrcPost your /home/<username>/.xinitrc
Or configure it correctly.
https://wiki.archlinux.org/title/Xinit
I followed everything there and I already have ~/.xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login &
exec dbus-launch leftwmLast edited by Qwart (2021-06-30 22:28:17)
Offline
I followed everything there
You missed part. Read the "xinitrc" section again, starting with this:
This default xinitrc will start a basic environment with Twm, xorg-xclock and Xterm (assuming that the necessary packages are installed).
Offline
Qwart wrote:I followed everything there
You missed part. Read the "xinitrc" section again, starting with this:
This default xinitrc will start a basic environment with Twm, xorg-xclock and Xterm (assuming that the necessary packages are installed).
Didn't fixed the problem. DE won't launch and I get the same errors anbout keys
Last edited by Qwart (2021-06-30 22:40:13)
Offline
Xinit#Override_xinitrc implies
startx /usr/bin/leftwmwould not use xinitrc as a client command is specified.
Last edited by loqs (2021-06-30 22:38:58)
Offline
exec xterm -geometry 80x66+0+0 -name login &
exec dbus-launch leftwmthe problem is in those 2 lines, lookup what exec does.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
He apparently figured and moved on to https://bbs.archlinux.org/viewtopic.php?id=267637
Offline
Pages: 1