Hello,

For an application I need to run simple batch scripts using GIMP. Once the command is executed, the error I get is:

Cannot open display:

It seems that even using the –no-interface flag it requires a display.

What might be the best way of solving this with minimal impact on CPU/Mem usage? I do not need to personally see the display, it should only run for this batch script.

Thank you!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hey, @PSNick

I can see that you’re running this on Ubuntu droplet/server. May I ask if you’ve checked if X11Forwarding is enabled in the sshd config?
/etc/ssh/sshd_config

X11Forwarding yes

Let me know how it goes.

Submit an Answer