Re: In FC 15 only root can run the X server need HELP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux