xauthority broken under ThinLinc

Bug #1980344 reported by Pierre Ossman (Cendio AB)
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

It seems snap only handles Xauthority being in somewhat common places. It fails if it is somewhere else, forcing you to lower restrictions in your X server in some manner. There was an attempt at fixing this in this PR:


However, it ended up only adding support for Xauthority files in /tmp.

One case where it fails is when using remote desktops via ThinLinc. The Xauthority file is then in a session specific directory under /var/opt.

E.g. on Ubuntu 22.04:

> cendio@ubuntu2204:~$ set | grep XAUTH
> XAUTHORITY=/var/opt/thinlinc/sessions/cendio/11/Xauthority
> cendio@ubuntu2204:~$ firefox
> No protocol specified
> Error: cannot open display: :11

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers