Set up the networking with the VM such that only the host OS has access
("Host-only networking" in VirtualBox and VMware). Then run the Sage
notebook without secure=True.
On Thursday, November 22, 2012 9:03:55 PM UTC, MartinX wrote:
>
> I am experimenting with a VM under W8 Hyper-V under ubuntu 12.10 server.
> The aim is to have the vm automatically launch and run sage notebook so I
> just connect via the browser as needed whenever in w8.
>
> I have installed Sage-5.4 with openssl.py. ptestlong has succeeded so I
> am content I have good installation.
>
> On running:
> sage: notebook(interface='', secure=True) on the vm
>
> I get:
>
> The notebook files are stored in: sage_notebook.sagenb
> ****************************************************
> * *
> * Open your web browser to https://localhost:8081 *
> * *
> ****************************************************
> There is an admin account. If you do not remember the password,
> quit the notebook and type notebook(reset=True).
> Executing twistd --pidfile="sage_notebook.sagenb/sagenb.pid" -ny
> "sage_notebook .sagenb/twistedconf.tac"
> 2012-11-22 20:30:06+0000 [-] Log opened.
> 2012-11-22 20:30:06+0000 [-] twistd 12.1.0
> (/home/martin/sage-5.4/local/bin/pyth on 2.7.3) starting up.
> 2012-11-22 20:30:06+0000 [-] reactor class:
> twisted.internet.epollreactor.EPollR eactor.
> 2012-11-22 20:30:06+0000 [-] QuietSite (TLS) starting on 8081
> 2012-11-22 20:30:06+0000 [-] Starting factory <__builtin__.QuietSite
> instance at 0x636f758>
> /usr/bin/xdg-open: 461: /usr/bin/xdg-open: links2: not found
> /usr/bin/xdg-open: 461: /usr/bin/xdg-open: links: not found
> /usr/bin/xdg-open: 461: /usr/bin/xdg-open: lynx: not found
> This SSL session was rejected: unable to get local issuer certificate
> w3m: Can't load
> https://localhost:8081/?startup_token=81650ebe8f7a65d523f1134398 5eeea.
>
> I can connect using a browser from W8 on https://ubuntuserver:8081 (
> ubuntserver is the vm name) using the admin account but on the first
> connection got warned:
> There is a problem with this website's security certificate.
> My queries are:
>
> 1. why am I getting /usr/bin.xdg-open xxxx not found and do I need to do
> anything
> 2. why is the SSL session being rejected and do I need to do anything.
>
> Martin
>
>
>
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/sage-devel?hl=en.