Honestly, I’m not sure if this is the best place to post this, but hopefully someone can help, or at least point me in the right direction.
For security/accounting reasons, I want to be able to run Xorg as a non-root user on my RHEL-6 HPC cluster (some of the nodes have Tesla k80s), while still using the Nvidia driver, libgl, etc, to accelerate the processing. This is for a Paraview worker (pvworker, I think), which needs an OpenGL context to do its work, but doesn’t actually need to display anything. I’ve been able to build Xorg and run it as a non-root user, using the ‘void’ input drivers, and the ‘dummy’ video driver. But when I switch that config to use the ‘nvidia’ driver, it fails with this error:
“xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)”
Now, since this doesn’t happen with the dummy driver, I’m assuming this has something to do with the nvidia driver software, and not Xorg itself. But I don’t know. I could be completely wrong. The complexity of Xorg has stymied better people than me.