2023-09-09 11:44:29 -03:00

817 B

Cannot open virtual Console

If you see this line in the log: !!! abstract "Log" 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:

usermod -a -G tty pi

(if your username is not 'pi' change 'pi' to your username)

Restart KlipperScreen:

sudo service KlipperScreen restart

If it's still failing:

add needs_root_rights=yes to /etc/X11/Xwrapper.config:

sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"

Restart KlipperScreen:

sudo service KlipperScreen restart