Ask Your Question
0

Graphics are plotted on the wrong X11 display

asked 2013-08-02 10:46:02 +0100

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
2

answered 2013-08-02 15:01:39 +0100

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

Stats

Asked: 2013-08-02 10:46:02 +0100

Seen: 221 times

Last updated: Aug 02 '13