techone243
asked on
Start X server without an attached monitor
I'm running a Linux Centos 5.5 x64 server with no physical monitor attached and an NVidia graphics card (using the latest linux drivers). I am accessing it through ssh. I have some software that uses the NVIDIA card to perform calculations, but it won't work because the X server is not running. Running startx gives me an error that no display devices have been found. Is there a way to start the x server without a physical monitor attached to the machine? I've had the software work before by plugging in a monitor and then disconnecting it, so it does not need a screen attached to work, but I don't have physical access to this machine at the time.
ASKER
I don't need to tunnel the X connection over ssh. I just need the X server to start with the nvidia driver without a monitor attached.
ASKER
I tried using the Xvfb program but I get this error when running the program:
Xlib: extension "NV-GLX" missing on display "unix:0.0".
Xlib: extension "NV-GLX" missing on display "unix:0.0".
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try : startx& i.e. try running the command so that it runs in background and starts the x-windows in background of instead of trying to run it in your current ssh session.
Just tried it on a remote centos5 machine and it worked.
Just tried it on a remote centos5 machine and it worked.
ssh -Y user@host