You are not logged in.

#1 2015-01-17 04:28:41

adem1252
Member
Registered: 2013-10-28
Posts: 24

[SOLVED] xf86OpenConsole: Cannot open virtual console 1

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

#2 2015-01-17 04:37:16

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] xf86OpenConsole: Cannot open virtual console 1

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-01-17 09:05:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] xf86OpenConsole: Cannot open virtual console 1

$ 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

#4 2015-01-17 16:11:39

adem1252
Member
Registered: 2013-10-28
Posts: 24

Re: [SOLVED] xf86OpenConsole: Cannot open virtual console 1

Reinstalling xorg-server fixed the problem

Offline

#5 2015-01-17 16:49:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] xf86OpenConsole: Cannot open virtual console 1

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#6 2015-09-23 00:38:14

nmahadkar
Member
Registered: 2015-09-23
Posts: 2

Re: [SOLVED] xf86OpenConsole: Cannot open virtual console 1

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

#7 2023-06-14 18:11:37

viniciusfreitas
Member
Registered: 2023-06-14
Posts: 1

Re: [SOLVED] xf86OpenConsole: Cannot open virtual console 1

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

#8 2023-06-14 22:23:41

2ManyDogs
Forum Moderator
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] xf86OpenConsole: Cannot open virtual console 1

Closing this old solved topic.


How to post. A sincere effort to use modest and proper language and grammar is a sign of respect toward the community.

Offline

Board footer

Powered by FluxBB