31 lines
718 B
Markdown
31 lines
718 B
Markdown
# Cannot open virtual Console
|
|
|
|
If you see this line in the logs:
|
|
```sh
|
|
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
|
|
```
|
|
|
|
* Run `cat /etc/X11/Xwrapper.config`
|
|
|
|
This should have the line `allowed_users=anybody` in it
|
|
|
|
* Run `cat /etc/group | grep tty`
|
|
|
|
If your username is not listed under that line, you need to add it with the following command:
|
|
|
|
```sh
|
|
usermod -a -G tty pi
|
|
```
|
|
(if your username is not 'pi' change 'pi' to your username)
|
|
|
|
Restart KlipperScreen:
|
|
```sh
|
|
sudo service KlipperScreen restart
|
|
```
|
|
|
|
If it's still failing as a last resort add `needs_root_rights=yes` to `/etc/X11/Xwrapper.config`:
|
|
```sh
|
|
sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"
|
|
```
|
|
|
|
restart KS. |