You are not logged in.

#1 2023-12-16 19:38:27

kitzbi
Member
Registered: 2023-12-16
Posts: 1

Xauthority problems on login

I currently run into the issue that often when I log in I cannot start any X applications. Opening firefox says cannot open display 0.
The only reliable way to make this issue disappear if I restart the PC, first ssh into it and delete the .Xauthority file and then log in with my user. After a while it shows up again though.

Does anyone have an idea how to solve this problem?
Here is are my config:

cat .xinitrc                                                                                                     
xrdb -merge $HOME/.config/X11/.Xresources
urxvtd -o -q -f
udiskie &

setxkbmap -option 'caps:ctrl_modifier';xcape -e 'Caps_Lock=Escape'&
# setxkbmap -option caps:escape

exec i3


In .Xresources I only have some color and keybindings. Please let me know if I can provide more information that could be useful.

Offline

#2 2023-12-16 19:59:42

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Xauthority problems on login

Check the wiki and correct your ~/.xinitrc. It's not sourcing the files under /etc/X11/xinit/xinitrc.d/, which include the setting for DISPLAY & XAUTHORITY.

EDIT: read seth's signature if you need a direct link wink

Last edited by Head_on_a_Stick (2023-12-16 20:00:57)


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB