Ask Your Question

Graphics are plotted on the wrong X11 display

asked 2013-08-02 03:46:02 -0500

feynman gravatar image

I set up a sage server by adding the following line to my ~/.profile:

nohup sage -c "notebook(interface='', secure=True, automatic_login=False, directory='./sage_notebook.sagenb')" >/dev/null 2>&1 &

I run my sage server from an Ubuntu desktop.

When I login and try to plot graphics from my laptop, the figures appear on my desktop screen.

I tried looking for solutions to this online, but I could not find anything.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-08-02 08:01:39 -0500

feynman gravatar image

It turns out that this was caused by setting SAGE_PATH to python's site-packages.

In hindsight, I realize this probably overwrote Sage's built in graphics libraries and caused the graphs to be plotted from the computer that started sage.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-08-02 03:46:02 -0500

Seen: 73 times

Last updated: Aug 02 '13