[opensuse-factory] TW: su -; DISPLAY missing; .Xauthority 0 bytes
Team, Not sure which update this happened in, but in TW you no longer get the DISPLAY variable set when issuing an su - command. Also the .Xauthority files seems empty as well when you switch to the root user. I now have to copy my .Xauthority file over from my standard user account and then export my DISPLAY variable to run gfx tools as root user. Thoughts as to why this has now changed. Thanks, -- Cameron Seader Technology Strategist SUSE cs@suse.com (M)+1 208.420.2167 www.susecon.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, 2018-05-17 at 17:10 -0600, Cameron Seader wrote:
Team, Not sure which update this happened in, but in TW you no longer get the DISPLAY variable set when issuing an su - command. Also the .Xauthority files seems empty as well when you switch to the root user. I now have to copy my .Xauthority file over from my standard user account and then export my DISPLAY variable to run gfx tools as root user. Thoughts as to why this has now changed. Thanks,
I could say something stupid like: this is normal when you login on a text console - and it'd be as accurate as any answer one could give. You should at least describe your setup, like what DM, what DE... don't expect we can guess all this info (and I for one can't reproduce this on my machine) Cheers Dominique
:-) On 05/18/2018 12:56 AM, Dominique Leuenberger / DimStar wrote:
On Thu, 2018-05-17 at 17:10 -0600, Cameron Seader wrote:
Team, Not sure which update this happened in, but in TW you no longer get the DISPLAY variable set when issuing an su - command. Also the .Xauthority files seems empty as well when you switch to the root user. I now have to copy my .Xauthority file over from my standard user account and then export my DISPLAY variable to run gfx tools as root user. Thoughts as to why this has now changed. Thanks,
I could say something stupid like: this is normal when you login on a text console - and it'd be as accurate as any answer one could give.
You should at least describe your setup, like what DM, what DE... don't expect we can guess all this info
(and I for one can't reproduce this on my machine)
Well you could say that yes. :-) Fair enough. I'm running TW with KDE for quite a long time just rolling my updates with zypper dup weekly. This has never been a problem in the past. I've always been able to execute su - and the xauthority and DISPLAY have always been available. So I quickly suspected something in packages that may have changed, but if your not getting the same thing or if this is really expected behavior and mine was just a fluke for the past few years well then so be it. So i guess my question comes to. What is the expected default behavior since my expectation seems to be skewed. -- Cameron Seader Technology Strategist SUSE cs@suse.com (M)+1 208.420.2167 www.susecon.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
* Cameron Seader
:-)
On 05/18/2018 12:56 AM, Dominique Leuenberger / DimStar wrote:
On Thu, 2018-05-17 at 17:10 -0600, Cameron Seader wrote:
Team, Not sure which update this happened in, but in TW you no longer get the DISPLAY variable set when issuing an su - command. Also the .Xauthority files seems empty as well when you switch to the root user. I now have to copy my .Xauthority file over from my standard user account and then export my DISPLAY variable to run gfx tools as root user. Thoughts as to why this has now changed. Thanks,
I could say something stupid like: this is normal when you login on a text console - and it'd be as accurate as any answer one could give.
You should at least describe your setup, like what DM, what DE... don't expect we can guess all this info
(and I for one can't reproduce this on my machine)
Well you could say that yes. :-) Fair enough. I'm running TW with KDE for quite a long time just rolling my updates with zypper dup weekly. This has never been a problem in the past. I've always been able to execute su - and the xauthority and DISPLAY have always been available. So I quickly suspected something in packages that may have changed, but if your not getting the same thing or if this is really expected behavior and mine was just a fluke for the past few years well then so be it. So i guess my question comes to. What is the expected default behavior since my expectation seems to be skewed.
fwiw, Tw up-to-date atm 09:41 Crash:~ > su - Password: 09:41 Crash: ~ # echo $DISPLAY :0 09:42 Crash: ~ # $DISPLAY *is* set. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Registered Linux User #207535 @ http://linuxcounter.net Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, 2018-05-18 at 07:38 -0600, Cameron Seader wrote:
:-)
On 05/18/2018 12:56 AM, Dominique Leuenberger / DimStar wrote:
On Thu, 2018-05-17 at 17:10 -0600, Cameron Seader wrote:
Team, Not sure which update this happened in, but in TW you no longer get the DISPLAY variable set when issuing an su - command. Also the .Xauthority files seems empty as well when you switch to the root user. I now have to copy my .Xauthority file over from my standard user account and then export my DISPLAY variable to run gfx tools as root user. Thoughts as to why this has now changed. Thanks,
I could say something stupid like: this is normal when you login on a text console - and it'd be as accurate as any answer one could give.
You should at least describe your setup, like what DM, what DE... don't expect we can guess all this info
(and I for one can't reproduce this on my machine)
Well you could say that yes. :-) Fair enough. I'm running TW with KDE for quite a long time just rolling my updates with zypper dup weekly.
That for one is a major difference between your usage and mine and makes my testing useless for you: I run a GNOME/wayland session here.
This has never been a problem in the past. I've always been able to execute su - and the xauthority and DISPLAY have always been available.
This should still be possible: not too long ago there was actually a push to get wayland sessions usable with 'root running applications' in openSUSE.
So I quickly suspected something in packages that may have changed, but if your not getting the same thing or if this is really expected behavior and mine was just a fluke for the past few years well then so be it. So i guess my question comes to. What is the expected default behavior since my expectation seems to be skewed.
On Plasma (with sddm) the xauth should be working indeed. Either the KDE Maintainers can help you debug here on list or you might file a bug to get things checked out structurally. Cheers, Dominique
Dominique Leuenberger / DimStar wrote:
On Fri, 2018-05-18 at 07:38 -0600, Cameron Seader wrote:
Well you could say that yes. :-) Fair enough. I'm running TW with KDE for quite a long time just rolling my updates with zypper dup weekly.
That for one is a major difference between your usage and mine and makes my testing useless for you: I run a GNOME/wayland session here.
It does also nicely run with recent TW and KDE here, no issues (but I have not yet installed todays new snapshot...)
This has never been a problem in the past. I've always been able to execute su - and the xauthority and DISPLAY have always been available.
This should still be possible: not too long ago there was actually a push to get wayland sessions usable with 'root running applications' in openSUSE.
Yes, it does. Maybe some change in the pam files? Does /etc/pam.d/su contain session optional pam_xauth.so (or check for files with recently changed timestamp...) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Interesting. I just applied the latest update and well its working again. Pfftt, no idea what the issue was. Well i guess ignore unless i see it creep in again. hrmm. On 05/18/2018 08:01 AM, Peter Suetterlin wrote:
Dominique Leuenberger / DimStar wrote:
On Fri, 2018-05-18 at 07:38 -0600, Cameron Seader wrote:
Well you could say that yes. :-) Fair enough. I'm running TW with KDE for quite a long time just rolling my updates with zypper dup weekly.
That for one is a major difference between your usage and mine and makes my testing useless for you: I run a GNOME/wayland session here.
It does also nicely run with recent TW and KDE here, no issues (but I have not yet installed todays new snapshot...)
This has never been a problem in the past. I've always been able to execute su - and the xauthority and DISPLAY have always been available.
This should still be possible: not too long ago there was actually a push to get wayland sessions usable with 'root running applications' in openSUSE.
Yes, it does. Maybe some change in the pam files? Does /etc/pam.d/su contain session optional pam_xauth.so
(or check for files with recently changed timestamp...)
-- Cameron Seader Technology Strategist SUSE cs@suse.com (M)+1 208.420.2167 www.susecon.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Cameron Seader
-
Dominique Leuenberger / DimStar
-
Patrick Shanahan
-
Peter Suetterlin