Skip to content

tty mode switching fails #2

@fieldOfView

Description

@fieldOfView

When starting an app, I get the following error (but the app continues to run succesfuly):
[ error ]ofAppEGLWindow::initNative: Failed to open tty set graphics mode
Logically, restoring the tty also fails:
[ error ] ofAppEGLWindow::initNative: Failed to open tty restore text mode

Adding the user to the 'tty' group, which has access to /dev/tty1, gets me a step further, but yields the following error:

[ error ] ofAppEGLWindow::initNative: Failed to set graphics mode
...
[ error ] ofAppEGLWindow::initNative: Failed to restore text mode

Running the app as root (sudo make run) fixes the error entirely, so there is probably some other permission that my normal user does not have.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions