1

I'm trying to run a very graphically unintensive program on a remote server. However, it has no GPU capability, and thus the program just returns an X Window System error. The program runs fine on my local machine - is there a way to ssh into the remote server, but still have access to my local resources, so I can, in a sense, submit jobs to my local machine to complete?

edit: I'm already using ssh -Y to log into the server, and other graphical programs (gnuplot) do work properly.

Thanks for any assistance.

  • the program just returns an X Window System error What error, specifically? – Andrew Henle Nov 4 '16 at 10:46
  • This is the error: Gdk-ERROR **: The program 'VESTA-gui' received an X Window System error. This probably reflects a bug in the program. The error was 'BadValue (integer parameter out of range for operation)'. (Details: serial 196 error_code 2 request_code 150 minor_code 24) – Adam Shaw Nov 4 '16 at 16:43
0

X Windows System error usually means that you're trying to run a graphical program through command line which does not have a screen connected to it.

There's two ways to circumvent this. Either the program has a way to run headless (without displaying graphics) or you need to create some kind of graphics capability.

There's options like using VNC or running through X forwarded SSH. To do the latter, just do ssh with an -X flag.

(e.g. ssh -X root@myhost)

Or you could just redirect all the graphics to the monitor the computer is connected to, by doing this as the very first thing:

export DISPLAY=:0.0
  • Thanks for the quick response. I'm already using ssh -Y to connect. Additionally, doing export DISPLAY=:0.0 returns the following error: Error: Unable to initialize GTK+, is DISPLAY set properly? Any other ideas? To clarify, the whole point of the program is to display a graphic, so headless is not an option. – Adam Shaw Nov 3 '16 at 18:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.