Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Impossible to use startx
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Fulgurance
Veteran
Veteran


Joined: 15 Feb 2017
Posts: 1198

PostPosted: Wed Nov 07, 2018 4:06 pm    Post subject: Impossible to use startx Reply with quote

Hello, when I start startx, I have this strange error ...

Screen: http://image.noelshack.com/fichiers/2018/45/3/1541606745-38048c7d-ecd2-49fe-b689-8c05ff02862c.jpeg
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30884
Location: here

PostPosted: Wed Nov 07, 2018 4:09 pm    Post subject: Reply with quote

Can help this?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
Location: Dallas area

PostPosted: Wed Nov 07, 2018 4:33 pm    Post subject: Reply with quote

Easy way is to do "chmod 4711 /usr/bin/Xorg" as root and add suid flag to package.use for xorg-server

Note: The chmod does what the suid flag does when xorg-server is emerged.

OR if you really want to try your hand at non-suid X and you're not running the xorg modesetting driver then https://wiki.gentoo.org/wiki/Non_root_Xorg
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Wed Nov 07, 2018 6:32 pm    Post subject: Reply with quote

Would be enough to setgid tty on /usr/bin/Xorg and have the user in the input/video groups, would it not?
Back to top
View user's profile Send private message
Krogan86
n00b
n00b


Joined: 08 Nov 2018
Posts: 1

PostPosted: Thu Nov 08, 2018 5:04 pm    Post subject: Reply with quote

I had the same problem.
I installed lightdm instead and it worked.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
Location: Dallas area

PostPosted: Thu Nov 08, 2018 6:27 pm    Post subject: Reply with quote

If you use a DM (lightd, gdm etc), instead of startx then yes it should work.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2569
Location: Here and Away Again

PostPosted: Mon Nov 12, 2018 3:33 pm    Post subject: Reply with quote

Moved from Desktop Environments to Duplicate Threads in favour of startx fails with xorg-server 1.20.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum