plot in sage console, through an ssh connection, with the LiveCd
I'm a Windows user, and I use sage with the Live Cd, version 4.8.
I use putty.exe to connect to the virtual machine, login as sage, and run the sage console.
I would like to plot from the sage console, through this ssh connection.
I've followed this guide to enable X11forwarding on the VM, and this guide to setup X11forwarding on the Windows machine.
When I run a simple script from within the sage environment like
var('x')
f(x)=x**2
plot(f,(x,0,2))
the plot command returns without any error, but no window is created. I've also tried to run from the bash console, before entering the sage environment, this command:
export DISPLAY=0.0
without any improvement. I actually don't even know if X11 forwarding is working, because I can't find any X program on the livecd like xclock, xeyes, etc. to test them.
EDIT: I've installed xeyes on the live cd, and it doesn't open. Running a netstat or a top, I can't see any sign of the X server running. I think the live CD DOES NOT HAVE AN INSTALLED X SERVER. This settles the question, at least partially. Instead of trying to install the X server on the sage live cd, I'll start with a virtual machine with X preinstalled, and then install Sage. I'll report back here when done.