You are not logged in.
Hi,
When I try to shutdown the system, it kills the Xorg server before xinit, so xinit thinks it is still running and tries to kill, which ends in "X server refuses to die" printed in linux terminal and the computer freezes (can't even use keyboard). The temporary solution I found is
alias poweroff="pkill -9 Xorg & poweroff"
but this doesnt always work, chances are lower if there are more programs open. Manually killing xinit doesnt work, because of the xinit autostart script in my .bash_profile, which returns desktop back when I try to enter terminal
Hardware:
ThinkPad T420
SSD drive - btrfs root and ext4 home partition
xf86-video-intel, tp_smapi, tpacpi-bat, acpi, acpi_call, intel-ucode, grub-silent installed
Offline
please post your ~/.xinitrc
Offline
~/.xinitrc
#!/bin/bash
setxkbmap pl
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
[[ -f $sysresources ]] && xrdb -merge $sysresources
[[ -f $sysmodmap ]] && xmodmap $sysmodmap
[[ -f "$userresources" ]] && xrdb -merge "$userresources"
[[ -f "$usermodmap" ]] && xmodmap "$usermodmap"
# 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
exec i3
Offline
No, that's fine.
What if you comment the xinit autostart script in your .bash_profile?
Edit: for clarification, start out of a shell w/o that profile elements.
Last edited by seth (2018-07-12 06:36:55)
Offline
Changed .bash_profile and did some restarting xinit
Observations - when xinit fails to connect to Xorg it throws me after a while to terminal and when I try startx it connects to Xorg very long, x server initial message is displayed and again computer locks. Also I noticed the more windows I have opened during current session, the more likely is Xorg/xinit going to freeze my laptop.
Offline
some restarting xinit
Xorg/xinit going to freeze my laptop
?
So this problem isn't limited to shutdowns?
Just terminating/restarting the X11 server causes freezes (at some point)?
Try to remove xf86-video-intel (ie. use the modesetting driver) and if that doesn't change things, when
it throws me after a while to terminal
dump a dmeg and the last xorg log, see https://wiki.archlinux.org/index.php/Li … in_clients on how to paste w/o a GUI browser.
Offline