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 ...
On 01/02/2021 14: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 ...
FWIW, I see the same observation with the XAUTHORITY variable. However, I'm seeing no delays when doing "su -" or doing an ssh to a remote system.
[egreshko@meimei ~]$ rpm -q sddm sddm-0.19.0-5.fc33.x86_64
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 ?
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 ~]$
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.
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.
When I downgrade to sddm-0.18.1-8.fc33 the "on-login" konsoles have "XAUTHORITY=/home/terry/.Xauthority" and the R-click konsoles have "XAUTHORITY=/tmp/xauth-1002-_0" and these two files are the same.
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 ...
Yes, due to recent f33 sddm update (most likely), being tracked here: https://bugzilla.redhat.com/show_bug.cgi?id=1922772
(I didn't see that mentioned yet in the thread)
I'll probably look into reverting to an older iteration of our xauth patch that didn't suffer from this problem. stay tuned...
-- Rex
On 01/02/2021 13:38, Rex Dieter wrote:
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 ...
Yes, due to recent f33 sddm update (most likely), being tracked here: https://bugzilla.redhat.com/show_bug.cgi?id=1922772
(I didn't see that mentioned yet in the thread)
I'll probably look into reverting to an older iteration of our xauth patch that didn't suffer from this problem. stay tuned...
-- Rex
Looks like the latest sddm-0.19.0-6.fc33.x86_64 fixes the issue.
Many thanks!
Terry