Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to Connect to localhost:8000

I am trying to use Sage by SSH into my university's computer system. I succeeded in getting into the computer which has Sage installed on it. However, when I try to actually run the program, I run into problems. I type

sage -n

and get the following


| Sage Version 4.5.3, Release Date: 2010-09-04 |

| Type notebook() for the GUI, and license() for information. |

Please wait while the Sage Notebook server starts... ... The notebook files are stored in: sage_notebook.sagenb


  • *
  • Open your web browser to http://localhost:8000 *
  • *

2012-07-02 13:00:49-0500 [-] Log opened.

2012-07-02 13:00:49-0500 [-] twistd 9.0.0 (/usr/share/sage-4.5.3/local/bin/python 2.6.4) starting up.

2012-07-02 13:00:49-0500 [-] reactor class: twisted.internet.selectreactor.SelectReactor.

2012-07-02 13:00:49-0500 [-] twisted.web2.channel.http.HTTPFactory starting on 8000

2012-07-02 13:00:49-0500 [-] Starting factory <twisted.web2.channel.http.httpfactory instance="" at="" 0xa6be8ec="">

xprop: unable to open display ''

usage: xprop [-options ...] [[format [dformat]] atom] ...

where options include:

-grammar                       print out full grammar for command line

-display host:dpy              the X server to contact

-id id                         resource id of window to examine

-name name                     name of window to examine

-font name                     name of font to examine

-remove propname               remove a property

-set propname value            set a property to a given value

-root                          examine the root window

-len n                         display at most n bytes of any property

-notype                        do not display the type field

-fs filename                   where to look for formats for properties

-frame                         don't ignore window manager frames

-f propname format [dformat]   formats to use for property of given name

-spy                           examine window properties forever

When I try to open http://localhost:8000 in an in internet window, I get "Unable to Connect" from Firefox, and a similar message when I try to open it in Internet Explorer.

I'm very new to Sage and Linux, and have no idea what's going wrong here. I haven't been able to find any instructions on how to run Sage through ssh, so I'm wondering if I'm missing a step somewhere.

Thanks.

Unable to Connect to localhost:8000

I am trying to use Sage by SSH into my university's computer system. I succeeded in getting into the computer which has Sage installed on it. However, when I try to actually run the program, I run into problems. I type

$ sage -n 

-n

and get the following


----------------------------------------------------------------------
| Sage Version 4.5.3, Release Date: 2010-09-04                       |

| | Type notebook() for the GUI, and license() for information. |

| ---------------------------------------------------------------------- Please wait while the Sage Notebook server starts... ... The notebook files are stored in: sage_notebook.sagenb


  • *
  • sage_notebook.sagenb ************************************************** * * * Open your web browser to http://localhost:8000 *
  • *

* * * ************************************************** 2012-07-02 13:00:49-0500 [-] Log opened.

opened. 2012-07-02 13:00:49-0500 [-] twistd 9.0.0 (/usr/share/sage-4.5.3/local/bin/python 2.6.4) starting up.

up. 2012-07-02 13:00:49-0500 [-] reactor class: twisted.internet.selectreactor.SelectReactor.

twisted.internet.selectreactor.SelectReactor. 2012-07-02 13:00:49-0500 [-] twisted.web2.channel.http.HTTPFactory starting on 8000

8000 2012-07-02 13:00:49-0500 [-] Starting factory <twisted.web2.channel.http.httpfactory instance="" at="" 0xa6be8ec="">

<twisted.web2.channel.http.HTTPFactory instance at 0xa6be8ec> xprop: unable to open display ''

'' usage: xprop [-options ...] [[format [dformat]] atom] ...

... where options include:

include:

    -grammar                       print out full grammar for command line

 -display host:dpy              the X server to contact

 -id id                         resource id of window to examine

 -name name                     name of window to examine

 -font name                     name of font to examine

 -remove propname               remove a property

 -set propname value            set a property to a given value

 -root                          examine the root window

 -len n                         display at most n bytes of any property

 -notype                        do not display the type field

 -fs filename                   where to look for formats for properties

 -frame                         don't ignore window manager frames

 -f propname format [dformat]   formats to use for property of given name

 -spy                           examine window properties forever

When I try to open http://localhost:8000 in an in internet window, I get "Unable to Connect" from Firefox, and a similar message when I try to open it in Internet Explorer.

I'm very new to Sage and Linux, and have no idea what's going wrong here. I haven't been able to find any instructions on how to run Sage through ssh, so I'm wondering if I'm missing a step somewhere.

Thanks.

Unable to Connect to localhost:8000

I am trying to use Sage by SSH into my university's computer system. I succeeded in getting into the computer which has Sage installed on it. I am running SecureShellClient on a windows machine. However, when I try to actually run the program, I run into problems. I type

$ sage -n

and get the following

----------------------------------------------------------------------
| Sage Version 4.5.3, Release Date: 2010-09-04                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------

Please wait while the Sage Notebook server starts...
...
The notebook files are stored in: sage_notebook.sagenb
**************************************************
*                                                *
* Open your web browser to http://localhost:8000 *
*                                                *
**************************************************
2012-07-02 13:00:49-0500 [-] Log opened.

2012-07-02 13:00:49-0500 [-] twistd 9.0.0 (/usr/share/sage-4.5.3/local/bin/python 2.6.4) starting up.

2012-07-02 13:00:49-0500 [-] reactor class: 
twisted.internet.selectreactor.SelectReactor.

2012-07-02 13:00:49-0500 [-] twisted.web2.channel.http.HTTPFactory starting on 8000

2012-07-02 13:00:49-0500 [-] Starting factory <twisted.web2.channel.http.HTTPFactory instance at 0xa6be8ec>

xprop:  unable to open display ''

usage:  xprop [-options ...] [[format [dformat]] atom] ...


where options include:

    -grammar                       print out full grammar for command line

    -display host:dpy              the X server to contact

    -id id                         resource id of window to examine

    -name name                     name of window to examine

    -font name                     name of font to examine

    -remove propname               remove a property

    -set propname value            set a property to a given value

    -root                          examine the root window

    -len n                         display at most n bytes of any property

    -notype                        do not display the type field

    -fs filename                   where to look for formats for properties

    -frame                         don't ignore window manager frames

    -f propname format [dformat]   formats to use for property of given name

    -spy                           examine window properties forever

When I try to open http://localhost:8000 in an in internet window, I get "Unable to Connect" from Firefox, and a similar message when I try to open it in Internet Explorer.

I'm very new to Sage and Linux, and have no idea what's going wrong here. I haven't been able to find any instructions on how to run Sage through ssh, so I'm wondering if I'm missing a step somewhere.

Thanks.