You are not logged in.

#1 2014-07-19 15:29:59

blackout23
Member
Registered: 2011-11-16
Posts: 780

[SOLVED] xorg-server 1.16.0 - How to have X running as regular user?

Hello,

I have seen that 1.16.0 in [testing] has been build with --enable-systemd-logind and --enable-suid-wrapper.

According to: 

http://hansdegoede.livejournal.com/14268.html

You can run X as regular user when you have xorg built with systemd-logind support, systemd-logind is available and your driver has support for server managed fds.

I'm using Gnome 3 with the xf86-video-nouveau driver, which seems to have this patch for server managed fds.

http://lists.x.org/archives/xorg-devel/ … 41194.html.

Still X runs as root. Anyone had more luck?

I also noticed

--enable-install-setuid \
[...]
--disable-install-setuid \

In the PKGBUILD. Maybe this is the problem?

Last edited by blackout23 (2014-07-19 17:34:13)

Offline

#2 2014-07-19 15:32:45

AnAkkk
Member
Registered: 2014-03-03
Posts: 138

Re: [SOLVED] xorg-server 1.16.0 - How to have X running as regular user?

If you are using a Display Manager to start X, it'll need to have support added for this as well. I don't think any DM currently support it.

https://bugzilla.redhat.com/show_bug.cgi?id=1078789 gdm
https://bugzilla.redhat.com/show_bug.cgi?id=1078808 lightdm
https://bugzilla.redhat.com/show_bug.cgi?id=1078810 sddm

Last edited by AnAkkk (2014-07-19 15:36:03)

Offline

#3 2014-07-19 15:43:44

blackout23
Member
Registered: 2011-11-16
Posts: 780

Re: [SOLVED] xorg-server 1.16.0 - How to have X running as regular user?

Ok that makes sense. But what is the LoginManager running on, when both X and Wayland will be socket activated when the session is launched?

UPDATE:
When I use startx to "exec gnome-session" in my .xinitrc it seems to work. Xorg.bin is running as $USER.
http://i.imgur.com/YQViQCr.png

Last edited by blackout23 (2014-07-19 15:57:06)

Offline

#4 2014-07-20 17:19:33

kabbalah
Member
Registered: 2011-08-23
Posts: 125

Re: [SOLVED] xorg-server 1.16.0 - How to have X running as regular user?

As you use startx in .Xinitrc?
I use Gnome and since upgrading to xorg-server 1.6, can not go, I can only enter lxde.

Offline

#5 2014-07-20 18:09:24

blackout23
Member
Registered: 2011-11-16
Posts: 780

Re: [SOLVED] xorg-server 1.16.0 - How to have X running as regular user?

kabbalah wrote:

As you use startx in .Xinitrc?
I use Gnome and since upgrading to xorg-server 1.6, can not go, I can only enter lxde.

As I have written in my last post. When using GDM to start Gnome X runs as root, since there is no support for it in GDM, yet. When using startx to start Gnome X runs as regular user.

I can use all desktops and login managers with xorg-server 1.16.

Last edited by blackout23 (2014-07-20 18:10:03)

Offline

#6 2014-07-24 13:03:11

gegenschall
Member
From: Munich, Germany
Registered: 2013-10-09
Posts: 33

Re: [SOLVED] xorg-server 1.16.0 - How to have X running as regular user?

I'm really interested in this. Has anyone tried applying the fixes posted in the Redhat bugreport for GDM?

Or: Are there DMs currently supporting being run as a user?

Offline

#7 2014-07-24 19:06:55

kabbalah
Member
Registered: 2011-08-23
Posts: 125

Re: [SOLVED] xorg-server 1.16.0 - How to have X running as regular user?

What is the problem with xorg-server 1.16 I can not login with Gnome but if I can do it with lxde and when I downgrade to 1.15 if I loguearme with Gnome.
The truth I'm not sure if I'm the only one with this problem, but I see no solution anywhere.

Offline

#8 2014-07-24 19:19:45

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,239

Re: [SOLVED] xorg-server 1.16.0 - How to have X running as regular user?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#9 2014-07-24 19:42:45

kabbalah
Member
Registered: 2011-08-23
Posts: 125

Re: [SOLVED] xorg-server 1.16.0 - How to have X running as regular user?

Ok, I'am sorry.

Offline

Board footer

Powered by FluxBB