On 01/02/2021 06:45, Ed Greshko wrote:
On 01/02/2021 14:31, Terry Barnaby wrote:
> On 01/02/2021 06:23, Terry Barnaby wrote:
>> In the last day or so my system has been showing long delays (> 30
>> secs) when doing a "su -" or "ssh" from an konsole terminal
>> application that has been opened as a manual session setup at KDE
>> startup.
>>
>> Investigating the konsole has the environment variable
>> "XAUTHORITY=/var/run/sddm/xauth_nsAoIs". Now if you open a konsole
>> from a right hand mouse button click popup on the desktop, that
>> konsole has "XAUTHORITY=/tmp/xauth-1002-_0" and suffers no delays.
>> Opening konsole from the main "F" start menu has
>> "XAUTHORITY=/var/run/sddm/xauth_nsAoIs" and so has delays.
>>
>> Any ideas on what is going on here ? There was an update to sddm
>> recently ...
>>
> Further point, downgrading sddm to 0.18.1-8.fc33 fixes the issue, so
> definitely something todo with changes in sddm. But is sddm now
> correct and some of my older config wrong ?
Also, FWIW, on an F32 system....
R-click start XAUTHORITY=/home/egreshko/.Xauthority
Menu start XAUTHORITY=/tmp/xauth-1026-_0
[egreshko@f32k ~]$ cmp -b /home/egreshko/.Xauthority /tmp/xauth-1026-_0
[egreshko@f32k ~]$
[egreshko@f32k ~]$ rpm -q sddm
sddm-0.18.1-4.fc32.x86_64
And on the F33 system...
[egreshko@meimei ~]$ cmp -b /tmp/xauth-1026-_0 /var/run/sddm/xauth_umbOSp
[egreshko@meimei ~]$
In my case the /tmp/xauth-1002-_0 and /var/run/sddm/xauth_xpDgqp files
also have the same content. The ~/.Xauthority is different however.
Removing ~/.Xauthority does not appear to have any effect.
In my case I also have "ForwardX11 yes" in .ssh/config as I use X11 apps
over ssh quite frequently. Removing that allows ssh to be quick (as
expected) although "su -" is still slow.
Note I am using X11 rather than Wayland.