0

Bit of ubuntu noob but I'm trying to run a code off github on a server remotely using SSH, and the code stops at this Gtk-WARNING **: cannot open display:

How to solve this error? I don't think I can use VNC server as I don't have root permissions. Any other way to access/enable GUI interface of server running Ubuntu?

Thanks!

0

You should enable X11Forwarding in /etc/ssh/sshd_config and then see what happens.

Excerpt from a config file:

 X11Forwarding yes
 X11DisplayOffset 10
 PrintMotd no
 PrintLastLog yes
 TCPKeepAlive yes

Hope this helps.

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.