LoginSignup
1
2

More than 5 years have passed since last update.

"startx"で「xf86OpenConsole: Cannot open virtual console 1 (Permission denied)」とエラーになったときに

Posted at

Arch LinuxでGUI環境を構築中に、"startx"を実行したところ下記のエラーが発生した。

xf86OpenConsole: Cannot open virtual console 1 (Permission denied)

原因は、rootでログインしたあと、"su - username"で一般ユーザに変更したうえで"startx"を実行したため。

"username"ユーザでログインし直して、"startx"を再度実行して解決。

もう少し詳しく

下記コマンドで使用中の仮想コンソール(?)のパーミッションを確認すると、なぜ"Permission denied"となったかがわかる。

tty | xargs ls -l

参考

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2