You are not logged in.
Pages: 1
Topic closed
I can start X only by root. If I am using `startx` using ordinary user I get the error:
xf86OpenConsole: Cannot open virtual console 1 (Permission denied)
$ groups
lp wheel games video audio optical storage scanner power users$ ls -l /dev/tty1
crw-------- 1 root tty 4, 1 Jan 17 10:21 /dev/tty1
How can I fix it?
Last edited by adem1252 (2015-01-18 12:44:10)
Offline
Not an Installation issue, moving to NC...
Offline
$ groups
wheel users
$ ls -l /dev/tty1
crw------- 1 karol tty 4, 1 Jan 16 13:44 /dev/tty1
Works for me.
When did it start happening, what packages did you update, is there anything interesting in the logs?
If it's an old system you haven't updated in a long while, see https://www.archlinux.org/news/xorg-ser … available/
Edit What's the output of
type startx
Last edited by karol (2015-01-17 09:07:17)
Offline
Reinstalling xorg-server fixed the problem
Offline
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline
This might help someone. So I am going to post it. If your logged in as a different user and su to the user starting X. You will get an permission denied as tty1 is occupied by the original user. In short reboot or completely log out the current user then issue "startx".
Last edited by nmahadkar (2015-09-23 00:39:05)
Offline
Hi, I can resolve this error when add my user in tty group:
usermod -a <user> -G tty
Thanks
Last edited by viniciusfreitas (2023-06-14 18:11:58)
Offline
Closing this old solved topic.
Offline
Pages: 1
Topic closed