Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/tty0 permission error [SOLVED]
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
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6271
Location: /usr/lib64/lv2

PostPosted: Sat Nov 03, 2018 3:39 pm    Post subject: /dev/tty0 permission error [SOLVED] Reply with quote

After my last update yesterday, I had to
Code:

chmod u+s /usr/bin/Xorg

in order to use startx. Otherwise, I was getting permission errs on /dev/tty0. What changed?
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.


Last edited by audiodef on Sat Nov 03, 2018 3:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
saboya
Guru
Guru


Joined: 28 Nov 2006
Posts: 411
Location: Brazil

PostPosted: Sat Nov 03, 2018 3:46 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-1088836.html
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


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

PostPosted: Sat Nov 03, 2018 3:48 pm    Post subject: Reply with quote

They've been playing with the suid use flag. It used to be on by default, now you have to set it manually (/etc/portage/package.use) or global use flag (not recommended) or do what you did, ie chmod (same as setting the suid flag)

Note: In my case, since I'm the only one on my computer, I just changed owner of tty7 and used startx without being suid. but you also need to be in the input and video groups (manually add or use udev rule). I also don't use the vt? option to startx.
_________________
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


Last edited by Anon-E-moose on Sat Nov 03, 2018 3:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6271
Location: /usr/lib64/lv2

PostPosted: Sat Nov 03, 2018 3:53 pm    Post subject: Reply with quote

Cool, thanks. :)
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 6552
Location: Saint Amant, Acadiana

PostPosted: Sat Nov 03, 2018 4:21 pm    Post subject: Reply with quote

You may want to check this out, too: https://wiki.gentoo.org/wiki/Non_root_Xorg
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


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

PostPosted: Sun Nov 04, 2018 3:08 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