I would like to use gnuplot of a remote pc (under linux) with the help of sftp, but the following error message is thrown:
gnuplot: unable to open display ''
gnuplot: X11 aborted.
Could anybody help me how to use gnuplot without X11 forwarding?
You won't be able to display a window, but you can set the terminal to be something else.
set term png
set out "test.png"
plot sin(x)
set out
That will plot sin(x) to a png file.
set term eps and there are a bunch of options. Also just set term will show you a list of terminals.
sftp? Why not use ssh and include X forwarding if you are using linux?/etc/ssh/sshd_configand being unable to setX11Forwarding yesand restartssh.