x11 forwarding - Error: Unable to initialize gtk, is DISPLAY set properly? -


I am trying to run an image application from the server "bert"

I have my OSX Maverick As

  ssh ak324@bert.eecs.qmul.ac.uk  

I

 with  $ my Make the file compile  

but when I run the resultant file

$ ./window

it gives me the following error:

  Error: Unable to start gtk, is DISPLAY set correctly?  

How can I solve this problem?

You should connect to the graphical applications to be able to launch the -X or -Y option With:

  ssh -X ak324@bert.eecs.qmul.ac.uk  

If this does not help, you can / etc / ssh / Sshd_config should consult whether X11Forwarding is enabled.


Comments