Ask Your Question
0

Graphics are plotted on the wrong X11 display

asked 11 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 11 years ago

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.

Preview: (hide)
link

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: 11 years ago

Seen: 268 times

Last updated: Aug 02 '13