This question already has an answer here:
I like to use Mathematica 8.0 from the commandline, then I just have to SSH in, no matter where I am, and go. I also like to do this without forwarding X, because that is slow and lags on my connection.
I have a wrapper script that adds keyword completion and readline functionality, and will, iff i have forwarded X start a java program to display the graphs.
However, this issue occurs whether or not I use my wrapper script.
I would like to import some code from LaTeX,
so I do:
In:= ToExpression["x=4-2", TeXForm]
Can't open display "localhost:12.0"
then hangs. I'm not sure why it wants to open the display in the first-place. What is going on?
If I use
StandardForm this works fine:
In:= ToExpression["x=4-2", StandardForm] Out= 2
It appears that people can't reproduce this. So some more details of my setup.
- I am SSHing using Putty from Windows to Debian Wheezy,
- then SSHing again into Debian Wheezy to ensure there is no Putty related issue (using
ssh -x(I have tried both with and without this step)
- I execute
ToExpression["x=4-2", TeXForm]and press enter
- the above occurs
I have tried this on both a normal user and the root user.
Other than this mathematica appears to be working fine