On Feb 4, 1:00 pm, "[email protected]" <[email protected]> wrote:

Hi Richard,

> I installed sage locally on a Fedora Core 10 machine.
>
> My user wants to access this installation remotely.
> When he runs sage on his (Mac) laptop,
> it tells him to open his browser tohttp://localhost:8000.
>
> What is the URL?  Is it port 8000?
> The machine name is strings358.
> I tried "http://strings358:8000";, and the fully-qualified
> "http://strings358.rutgers.edu:8000";.
> In both cases, not found.
>
> Also ran "notebook()" on the local sage machine;
> no help there, either.

Per default the notebook server only listens to localhost, so when
starting the notebook you need to tell it to also listen to
strings358. Typing "notebook?" in Sage will give you all the details
including examples:

    Start the Sage Notebook server. More documentation is available in
the
    Sage installation guide, in the "Running the SAGE Notebook
Securely"
    chapter, and at http://wiki.sagemath.org/StartingTheNotebook.

        INPUT:
            directory     -- directory that contains the Sage notebook
files;
                             the default is .sage/sage_notebook, in
your home
                             directory.
            port          -- (default: 8000), port to serve the
notebook on.
            address       -- (default: 'localhost'), address of
network
                             interface to listen on; give '' to listen
on all
                             interfaces.
            port_tries    -- (default: 0), number of additional ports
to try if
                             the first one doesn't work (*not*
implemented).
            secure        -- (default: False) if True use https so all
                             communication, e.g., logins and
passwords, between
                             web browsers and the Sage notebook is
encrypted
                             via GNU TLS.  *Highly recommended!*
            require_login -- (default: True) if True login is required
else web
                             user is automatically logged in as user
admin.
<SNIP>

So notebook(address='') should give you something like

sage: notebook(address='')
The notebook files are stored in: /Users/michaelabshoff/.sage//
sage_notebook
**********************************************************************
WARNING: Running the notebook insecurely not on localhost is dangerous
because its possible for people to sniff passwords and gain access to
your account. Make sure you know what you are doing.
**********************************************************************
**********************************************************************
WARNING: Insecure notebook server listening on external address.
Unless you are running this via ssh port forwarding, you are
**crazy**!  You should run the notebook with the option secure=True.
**********************************************************************
<SNIP>

As pointed out you should also use secure=True to force the use of
ssl.

> Thoughts?
>
> Thanks,
> -Richard Vaughn

Let us know if you have any more trouble.

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to