[Bug 1180368] New: .Xauthority not created when user logs in
http://bugzilla.opensuse.org/show_bug.cgi?id=1180368 Bug ID: 1180368 Summary: .Xauthority not created when user logs in Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: gfx-bugs@suse.de Reporter: rs.opensuse@spitzenpfeil.org QA Contact: gfx-bugs@suse.de Found By: --- Blocker: --- I know that the xauth information of a logged in user is available via "/run/user/UID/xauth_some-string" Usecase: log into remote laptop via SSH and port-forwarding, start x11vnc on that remote machine, run vncviewer on local machine --> shared remote assistance for far-away relatives. This used to work as long as .Xauthority was around. Now that it is missing, x11vnc fails to start and it is very inconvenient to get access to it via "/run/...." (especially knowing the string before having logged in). I just use simple scripts! Unfortunately running "xauth extract - $DISPLAY" in an SSH session will not give me the correct cookie either. Current workaround: run a startup-script (KDE) that fetches the xauth data and stores it in $HOME/.Xauthority (xauth extract - $DISPLAY > ~/.Xauthority) It would be nice to have a working .Xauthority out of the box (again). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180368 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |IN_PROGRESS Assignee|gfx-bugs@suse.de |sndirsch@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180368 http://bugzilla.opensuse.org/show_bug.cgi?id=1180368#c1 --- Comment #1 from robert spitzenpfeil <rs.opensuse@spitzenpfeil.org> --- I've found an old .Xauthority file on one of my laptops (all TW). I use it daily. The date it was created is: 2020-07-17 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1180368 http://bugzilla.opensuse.org/show_bug.cgi?id=1180368#c2 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |INVALID --- Comment #2 from Stefan Dirsch <sndirsch@suse.com> --- Well, I understand what you're doing, but that's not the way it was meant to be used. ;-) I'm assuming you have the credentials of your far-away relatives. Anyway, I think what you can do is XAUTHORITY=<Xauthority-file> x11vnc ... You can try to figure out automatically the Xauthority-file via ps aux | grep auth | .... or similar. I don't think ~/.Xauthority will come back. The desktops (KDE, GNOME, etc.) didn't want to continue using it. Sorry, but you need to live with that workaround. Still I hope this information helps. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com