xauthority broken under ThinLinc
Bug #1980344 reported by
Pierre Ossman (Cendio AB)
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
New
|
Undecided
|
Unassigned |
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:
https:/
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@
> XAUTHORITY=
> cendio@
> No protocol specified
> Error: cannot open display: :11
To post a comment you must log in.