You are not logged in.
Just installed a fresh copy of arch linux, when attempting to start x it throws:
"(EE) xf86OpenConsole: Cannot open virtual console 2 (Permission Denied)"Created user as such:
useradd -b /home -d /home/ciel -m ciel
usermod -aG users.xinitrc
exec /usr/local/share/nw/nwEven with the default xinitrc it fails, however.
Kernel version is: 3.19.2
running in qemu 2.2.1, (qemu-system-x86_64)
Any help would be appreciated.
Last edited by rainbowdashdc (2015-04-04 22:36:24)
Offline
I have got it running by doing this:
startx -- vt1But is this truly a fix?
Offline
startx uses the vt number defined in XDG_VTNR, so it would seem that variable is not set. That variable is set by logind, so it would seem you do not have an active logind session.
Are you using an alternative init system, or are you running systemd? When logged in as a regular user, is the XDG_VTNR defined? What is the output of `loginctl`?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline