Artix Linux Forum

Artix Linux => System => Topic started by: AzmuthForger on 30 March 2023, 12:18:29

Title: [SOLVED] There seems to have some problem with .Xauthority file
Post by: AzmuthForger on 30 March 2023, 12:18:29
Hey there, I recently reinstalled my artix-openrc system and it seems to have some problem running Xorg. I think the main problem is with .Xauthority file. When first time I installed the Xorg, compiled the dwm and started dwm with xinitrc it seems to have a error it was like

Authorization required but no authorization protocol specified.

but it started then after sometimes dmenu didn't worked but I had a terminal open when I tried to lauch firefox it had the same error

Authorization required but no authorization protocol specified. Can't open display

I belive it has something to do with .Xauthority file and search the internet for it . But nothing worked, I had similar issue with previous installation.

Also it fixes when I kill xorg but my hostname resets to artix linux.
Title: Re: There seems to have some problem with .Xauthority file
Post by: AzmuthForger on 30 March 2023, 16:28:20
Hey there its fixed now it was due to hostnamectl because by default connman change the transient the hostname on per network basis and I just have to edit
Quote
/etc/connman/main.conf
and add the following
Code: [Select]
[General]
AllowHostnameUpdates=false

PS : I am understanding how to write forum in professnal way and sorry for any mistake

Azmuth