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 Fri, 3 Feb 2017 13:29:25 -0500
"Willaim W. Austin" <airedad@xxxxxxx> 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). FWIW I can't run the Wayland server
> since I am using an NVIDIA GeForce GTX 950 and wayland doensn't
> handle it yet.  The problem occurs whether I use the O/S nouveau
> drivers or install the proprieary (xO/S ?) Nvidia drivers.

[snip]

> Any help and/or suggestions would be appreciated, and please feel
> free to contact me off list if that is easier for you.  

I always startx from multiuser, and have been doing that for a long
time also.  I am currently running F25 and doing that without problems
using the same technique I have always used (a bash script).  I run X
because Wayland doesn't handle custom keymaps at this point, and I've
used my home-rolled layout (80% home row, yay!) for so long that I'm
hunt and peck on qwerty at this point.

My procedure in that script is the following:

echo 'GSESSION="$(type -p gnome-session)"' >> $XCLIENTS                                                                                                                                                                                     
echo 'exec $GSESSION' >> $XCLIENTS                                                                                                                                                                                                          
echo 'Starting X with Gnome...'
startx -- vt10

However, I run LXDE as a desktop.  Have you tried any other desktops?
XFCE, Mate, Cinnamon, or even KDE?  I haven't tried recently, but I've
been able to boot into all the above desktops, including gnome, using
startx in F25.

I can also start Wayland using a compositor, but I haven't really used
that for the above reason.

I also wonder if there is a new group that the user has to belong to in
order to use startx from Gnome.  Is the user you add in wheel (has
sudo)?  I am in these groups.

wheel:x:10:stan
cdrom:x:11:stan,vdr
video:x:39:stan
audio:x:63:stan,vdr


Could it be an SElinux permissions problem?  I run enforcing and have
no problems, but there might be a quirk on your system.  You could try
setenforce=0 before using startx.
_______________________________________________
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