How can I start an additional Xorg on tty8?

This works on Debian:

startx -- :2 vt8

, but on NixOS, the mouse and keyboard does not work and everything appears frozen. I am able to ssh in and kill the Xorg server.

I have tried to generate an Xorg file and start it as such:

sudo startx -- :2 vt8 -config /root/xorg.conf.new

With this, the same thing happens.

I’m at loss as to what I can do. Any pointers?:wink:

I’ve asked this question numerous times on this forum and I’m not getting any response. I’m not sure what I can do, cause I need this. Should I just file this as a bug, cause it should not freeze the screen if I start an X server?

This must be a bug, cause this works fine on newest Debian, which I just tried.

…or it’s just something else I need to add. To me, it seems like a permission problem to the keyboard and mouse, cause the system responds fine to SSH.

Not sure if you, @bzLem0n , with your Cage experience know how to start a second Xorg?;).