You are not logged in.
I have setup xorg & xinit. So in my xinitrc I have "exec openbox-session" and when I login I just run startx and everything's fine.
Though sometimes, usually when I put the laptop on sleep for a while and come back my shortcut aren't working anymore and when I run openbox --restart I get this error message:
Openbox-Message: Failed to open the display from the DISPLAY environmeI'm forced to logout and login again to get it working again
Offline
Are you sourcing /etc/X11/xinitrc.d/50-systemd-user.sh in your ~/.xinitrc as per the wiki?
Offline
Yes I think that's what the last if block does right?
#!/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
exec openbox-sessionOffline
Yes, it is. Not sure what's going on then. You might want to take a look at this bug report: FS#46374.
Offline
Could this be caused by my hostname? Found some thread talking about that.
unkn0wn@localhost{~}:echo $HOSTNAME
localhost.localdomainI did set it with hostnamectl and I can see it in /etc/hostname but $HOSTNAME is still localhose (I did logout and also tried the hostname command)
edit: after a reboot the hostname is set, let's wait and see if it happens again now
Last edited by MisterChoc (2015-10-03 14:44:02)
Offline