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
Guru
Guru


Joined: 15 Feb 2017
Posts: 472

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
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 20124
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
Advocate
Advocate


Joined: 23 May 2008
Posts: 3567
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
_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
4.14.62 kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 7.3.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5327

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
Advocate
Advocate


Joined: 23 May 2008
Posts: 3567
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.
_________________
Asus m5a99fx, FX 8320 - nouveau & radeon, oss4
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
4.14.62 kernel, profile 17.0 (no-pie) amd64-no-multilib
gcc 7.3.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1623
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.
_________________
Kind Regards,
~ The Noob Unlimited ~

Sore wa sore, kore wa kore.
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