You are not logged in.
Pages: 1
Topic closed
So after about 24 hours, I start being unable to open graphical applications.
Running something from console, I get this:
$ xterm
No protocol specified
xterm: Xt error: Can't open display: :0.0
$ ls $XAUTHORITY
ls: cannot access /tmp/xauth-1000-_0: No such file or directory
adam@t420a:~$ XAUTHORITY=~/.Xauthority xterm
[launches successfully]
I want to know what's going on and how to fix it.
Offline
set the var in .profile?
Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux
Offline
If I remember correctly (and I really hope I do, or risk looking foolish), if you open a graphical application with sudo, you end up corrupting or changing the permissions on .Xauthority. The fix is to log out of KDE, drop into/ log into console and delete .Xauthority. Don't do it from inside the GUI. There was also some buzz about half of the kf5 applications getting their configs from one config folder and the other half from a different folder... But I'm not going to wade thru 25 pages of complaints about kde5 just to figure it out. I'll leave that to you to do: https://bbs.archlinux.org/viewtopic.php?id=184439
Offline
Ok, I'm not sure if the variable itself is actually changing, I will check what it is next time I reboot. I suspect there is something that empties out /tmp periodically, no?
Then I'll have to figure out how XAUTHORITY gets set, and whether it is supposed to be set to this tmp file. I am using SLiM btw.
Offline
I have the same problem since I have installed KF5/plasma5.
When I start my session, XAUTHORITY is defined with "~/.XAuthority". But some time later (few hours), the value in XAUTHORITY is "/tmp/xauth-1000-_0" and I cannot start new graphical application.
Tempory fix is to logout and login or to set XAUTHRITY with the good value in a term and start apps from it.
Someone has clues for fixing the problem?
Offline
For me this seems to happen when networkmanager reconnects to the wifi, when also using plasma/kf5.
Try to disconnect/reconnect to networkmanager to see if it triggers it. No solution tho, just checking if that's the same issue.
Offline
NetworkManager reconnection doesn't trigger it.
Offline
Anyone found the reason for the issue or maybe even a solution/workaround?
I'm experiencing exactly the same issue on openSUSE 42.1, using KF5/Plasma5
Opened a KDE bug report:
https://bugs.kde.org/show_bug.cgi?id=370608
Offline
Please don't necrobump, kolAflash.
https://wiki.archlinux.org/index.php/Co … bumping.22
Closing.
EDIT: KolAflash kindly reported back with their findings chasing their problem, and asked me to share their findings here in case it helps others:
I found a solution to that thread. (at least for openSUSE - but it seemed to be the same problem on Arch Linux).
https://bbs.archlinux.org/viewtopic.php?id=193273So because there was never a solution being posted in that thread, it would probably make sense to attach the following to put the thread to an proper end.
--
https://bugzilla.suse.com/show_bug.cgi?id=1006239
https://bugs.kde.org/show_bug.cgi?id=370608#c6On openSUSE it's the file /etc/tmpfiles.d/tmp.conf and systemd-tmpfiles-clean.timer which are deleting the file /tmp/xauth-1000-_0 periodically.
Last edited by WorMzy (2016-10-21 19:20:33)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed