On 03.02.2017 19:29, Willaim W. Austin wrote:
I recently upgraded a machine (my main workstation) from FC 23 to FC
24, and there's a problem
The install was from the Workstation version and the checksum correctgly matches
(actually I always make 2 copies, just in case, which I hold on to forever - they both
check).
I did the install, and intitially (until I added other users) everything was fine - no
problems in logging in.
However, I have an imortant app which I support and it needs the entire root screen and
can't coexist with plasma shell, so the machine normally runs in multi-user mode, and
X sessions are accessed via /usr/bin/startx. (This has been working since the days of
Redhat 5 through FC1 and up to and including FC23 - I never tried FC 24 - and has never
given a bit of trouble.)
After I added a non-privileged user for myself the fun began. The biggest issue was that
a non-privileged user could nto run an X-server (not via startx anyway).
[...]
$ loginctl show-session 1 -pId -pName -pVTNr -pSeat -pTTY -pType -pClass -pActive -pState
Id=1
Name=umbrella
VTNr=1
Seat=seat0
TTY=tty1
Type=tty
Class=user
Active=yes
State=active
$ man 1 Xorg.wrap
$ cat /etc/X11/Xwrapper.config
needs_root_rights = no
$ startxfce4
$ ps au | grep [X]org
umbrella [...] tty1 [...] /usr/libexec/Xorg :0 vt1
$ runlevel
N 3
~~~~~
Via GNOME Display Manager:
$ runlevel
N 5
Xfce:
$ ps au | grep [X][wo]
gdm [...] tty1 [...] /usr/bin/Xwayland :1024 -rootless -noreset -listen 4 -listen 5
-displayfd 6
umbrella [...] tty5 [...] /usr/libexec/Xorg vt5 -displayfd 3 -auth
/run/user/1012/gdm/Xauthority -background none -noreset -keeptty -verbose 3
GNOME:
$ ps au | grep [X][wo]
gdm [...] tty1 [...] /usr/bin/Xwayland :1024 -rootless -noreset -listen 4 -listen 5
-displayfd 6
umbrella [...] tty5 [...] /usr/libexec/Xorg vt5 -displayfd 3 -auth
/run/user/1012/gdm/Xauthority -background none -noreset -keeptty -verbose 3
KDE:
$ ps au | grep [X][wo]
gdm [...] tty1 [...] /usr/bin/Xwayland :1024 -rootless -noreset -listen 4 -listen 5
-displayfd 6
umbrella [...] tty5 [...] /usr/libexec/Xorg vt5 -displayfd 3 -auth
/run/user/1012/gdm/Xauthority -background none -noreset -keeptty -verbose 3