On Nov 27, 2008, at 7:43 AM, Bob Wonderly wrote:

>
> I use Sage via the notebook() feature. "As advertised" it opens the
> notebooks in my default browser.
>
> But I want to use a non-default browser so sent it to the link
> <http://localhost:8000/> per instructions.
>
> It won't let me open any one of my notebooks without a password. But I
> did not ever set a password and without an old password it does not  
> want
> to let me set a new one.

Just as a bit of an explanation, authentication is required because  
giving someone a Sage prompt is as powerful as giving them a shell  
prompt (though no one should be able to sniff localhost if you're the  
only one on it). By default it creates a one-time token and passes  
that in the URL it sends to the default browser. When the page is  
accessed, it makes sure the tokens match and if they do logs you in.  
However, this token is only good for a single login, so if you try  
and open the notebook in a different browser it requires explicit  
authentication.

> Can I tell Sage which browser it should use?

It just uses the default browser you have, whatever the OS uses to  
open links (the same as typing "open http://..."; in the terminal on a  
mac). This should be a setting one can set, or even just pass into  
the "notebook()" function.

-Robert


--~--~---------~--~----~------------~-------~--~----~
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