1

I'm currently implementing some machine learning algorithm by octave and run in the remote server. Once I type some drawing commands such like hist() it shows that

warning: X11 DISPLAY environment variable not set

Is it possible that I set the environment as my local X11 service. How to do it? Thanks.

waitingkuo
  • 89,478
  • 28
  • 112
  • 118

1 Answers1

2

Connect the remote server by ssh and add the option -X

ssh -X remote_server

Then ssh will enable X11 forwarding.

carandraug
  • 12,938
  • 1
  • 26
  • 38
waitingkuo
  • 89,478
  • 28
  • 112
  • 118