Re: [sage-devel] Re: One-click installer for Vbox+Sage

2014-09-02 Thread Jori Mantysalo

On Mon, 1 Sep 2014, Emil Widmann wrote:


Sure, more work is needed.



I just included the vanilla vbox installer and thought some verbosity might
be good for a prototype (back in 2011).
I have a different setup of the network, so localhost:8080 may not work.


If virtual machine has additions installed, then

VBoxManage guestproperty get VM name /VirtualBox/GuestInfo/Net/0/V4/IP

will show IP, like

Value: 10.0.2.15

In Linux we could do something like firefox $(VBoxManage... | cut -f 2 -d 
' '):8080, but is it possible with only .bat files on Windows? If not, 
then we need few lines of C (or something) to get this done.


--
Jori Mäntysalo

--
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: One-click installer for Vbox+Sage

2014-09-02 Thread Emil Widmann


Thanks for that line, looks promising! - you sure know your Vbox 
commandline options. I am going to give that a try.

cheers

emil 

Am Dienstag, 2. September 2014 08:33:08 UTC+2 schrieb Jori Mantysalo:

 On Mon, 1 Sep 2014, Emil Widmann wrote: 

  Sure, more work is needed. 

  I just included the vanilla vbox installer and thought some verbosity 
 might 
  be good for a prototype (back in 2011). 
  I have a different setup of the network, so localhost:8080 may not work. 

 If virtual machine has additions installed, then 

 VBoxManage guestproperty get VM name /VirtualBox/GuestInfo/Net/0/V4/IP 

 will show IP, like 

 Value: 10.0.2.15 

 In Linux we could do something like firefox $(VBoxManage... | cut -f 2 -d 
 ' '):8080, but is it possible with only .bat files on Windows? If not, 
 then we need few lines of C (or something) to get this done. 

 -- 
 Jori Mäntysalo 


-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: One-click installer for Vbox+Sage

2014-09-02 Thread mmarco
Does that show the IP from the point of view of the guest, or from the host?

If the ports are correctly forwarded, localhost or 127.0.0.1 should work.

El martes, 2 de septiembre de 2014 11:41:16 UTC+2, Emil Widmann escribió:

 Thanks for that line, looks promising! - you sure know your Vbox 
 commandline options. I am going to give that a try.

 cheers

 emil 

 Am Dienstag, 2. September 2014 08:33:08 UTC+2 schrieb Jori Mantysalo:

 On Mon, 1 Sep 2014, Emil Widmann wrote: 

  Sure, more work is needed. 

  I just included the vanilla vbox installer and thought some verbosity 
 might 
  be good for a prototype (back in 2011). 
  I have a different setup of the network, so localhost:8080 may not 
 work. 

 If virtual machine has additions installed, then 

 VBoxManage guestproperty get VM name 
 /VirtualBox/GuestInfo/Net/0/V4/IP 

 will show IP, like 

 Value: 10.0.2.15 

 In Linux we could do something like firefox $(VBoxManage... | cut -f 2 
 -d 
 ' '):8080, but is it possible with only .bat files on Windows? If not, 
 then we need few lines of C (or something) to get this done. 

 -- 
 Jori Mäntysalo 



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: One-click installer for Vbox+Sage

2014-09-02 Thread Volker Braun
That depends on whether the virtualbox networking is set to NAT or bridged 
mode.

I'm strongly in favor of NAT as default when providing a VM with known 
password(s). Of course we could have a UI that locally asks for passwords 
and then changes them in the VM before making it available on the network, 
but thats probably for later.


On Tuesday, September 2, 2014 2:19:33 PM UTC+1, mmarco wrote:

 Does that show the IP from the point of view of the guest, or from the 
 host?

 If the ports are correctly forwarded, localhost or 127.0.0.1 should work.

 El martes, 2 de septiembre de 2014 11:41:16 UTC+2, Emil Widmann escribió:

 Thanks for that line, looks promising! - you sure know your Vbox 
 commandline options. I am going to give that a try.

 cheers

 emil 

 Am Dienstag, 2. September 2014 08:33:08 UTC+2 schrieb Jori Mantysalo:

 On Mon, 1 Sep 2014, Emil Widmann wrote: 

  Sure, more work is needed. 

  I just included the vanilla vbox installer and thought some verbosity 
 might 
  be good for a prototype (back in 2011). 
  I have a different setup of the network, so localhost:8080 may not 
 work. 

 If virtual machine has additions installed, then 

 VBoxManage guestproperty get VM name 
 /VirtualBox/GuestInfo/Net/0/V4/IP 

 will show IP, like 

 Value: 10.0.2.15 

 In Linux we could do something like firefox $(VBoxManage... | cut -f 2 
 -d 
 ' '):8080, but is it possible with only .bat files on Windows? If not, 
 then we need few lines of C (or something) to get this done. 

 -- 
 Jori Mäntysalo 



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: One-click installer for Vbox+Sage

2014-09-02 Thread Emil Widmann
I used bridged network, because I preconfigured a small sage server. 
Passwords are not known, but can be reset in the VM.

Am Dienstag, 2. September 2014 13:42:20 UTC schrieb Volker Braun:

 That depends on whether the virtualbox networking is set to NAT or bridged 
 mode.

 I'm strongly in favor of NAT as default when providing a VM with known 
 password(s). Of course we could have a UI that locally asks for passwords 
 and then changes them in the VM before making it available on the network, 
 but thats probably for later.


 On Tuesday, September 2, 2014 2:19:33 PM UTC+1, mmarco wrote:

 Does that show the IP from the point of view of the guest, or from the 
 host?

 If the ports are correctly forwarded, localhost or 127.0.0.1 should work.

 El martes, 2 de septiembre de 2014 11:41:16 UTC+2, Emil Widmann escribió:

 Thanks for that line, looks promising! - you sure know your Vbox 
 commandline options. I am going to give that a try.

 cheers

 emil 

 Am Dienstag, 2. September 2014 08:33:08 UTC+2 schrieb Jori Mantysalo:

 On Mon, 1 Sep 2014, Emil Widmann wrote: 

  Sure, more work is needed. 

  I just included the vanilla vbox installer and thought some verbosity 
 might 
  be good for a prototype (back in 2011). 
  I have a different setup of the network, so localhost:8080 may not 
 work. 

 If virtual machine has additions installed, then 

 VBoxManage guestproperty get VM name 
 /VirtualBox/GuestInfo/Net/0/V4/IP 

 will show IP, like 

 Value: 10.0.2.15 

 In Linux we could do something like firefox $(VBoxManage... | cut -f 2 
 -d 
 ' '):8080, but is it possible with only .bat files on Windows? If not, 
 then we need few lines of C (or something) to get this done. 

 -- 
 Jori Mäntysalo 



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: One-click installer for Vbox+Sage

2014-09-02 Thread Volker Braun
You mean the notebook password? I'm more worried about the unix user/root 
password in the VM. They can of course be changed with physical access but 
not in a particularly user-friendly way ;-)



On Tuesday, September 2, 2014 3:48:04 PM UTC+1, Emil Widmann wrote:

 I used bridged network, because I preconfigured a small sage server. 
 Passwords are not known, but can be reset in the VM.

 Am Dienstag, 2. September 2014 13:42:20 UTC schrieb Volker Braun:

 That depends on whether the virtualbox networking is set to NAT or 
 bridged mode.

 I'm strongly in favor of NAT as default when providing a VM with known 
 password(s). Of course we could have a UI that locally asks for passwords 
 and then changes them in the VM before making it available on the network, 
 but thats probably for later.


 On Tuesday, September 2, 2014 2:19:33 PM UTC+1, mmarco wrote:

 Does that show the IP from the point of view of the guest, or from the 
 host?

 If the ports are correctly forwarded, localhost or 127.0.0.1 should work.

 El martes, 2 de septiembre de 2014 11:41:16 UTC+2, Emil Widmann escribió:

 Thanks for that line, looks promising! - you sure know your Vbox 
 commandline options. I am going to give that a try.

 cheers

 emil 

 Am Dienstag, 2. September 2014 08:33:08 UTC+2 schrieb Jori Mantysalo:

 On Mon, 1 Sep 2014, Emil Widmann wrote: 

  Sure, more work is needed. 

  I just included the vanilla vbox installer and thought some 
 verbosity might 
  be good for a prototype (back in 2011). 
  I have a different setup of the network, so localhost:8080 may not 
 work. 

 If virtual machine has additions installed, then 

 VBoxManage guestproperty get VM name 
 /VirtualBox/GuestInfo/Net/0/V4/IP 

 will show IP, like 

 Value: 10.0.2.15 

 In Linux we could do something like firefox $(VBoxManage... | cut -f 
 2 -d 
 ' '):8080, but is it possible with only .bat files on Windows? If 
 not, 
 then we need few lines of C (or something) to get this done. 

 -- 
 Jori Mäntysalo 



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: One-click installer for Vbox+Sage

2014-09-02 Thread Emil Widmann
No I mean unix passwords are not known. Servers are not running by default. 
No open door that I know, no obvious way to get hacked easily.
Not even me remember built in passwords. VM starts to desktop, so you can 
change unix passwords and start sage notebook/server with physical access, 
which was the planned use case.
Sage notebook admin password is asked for at first start, nothing built in.
But this is an old version and design choices may vary.

Whenever building a new VM it may be NAT and headless, as easy as possible, 
windows friendly. Nothing to be scared.
kind regards

On Tuesday, September 2, 2014 3:03:39 PM UTC, Volker Braun wrote:

 You mean the notebook password? I'm more worried about the unix user/root 
 password in the VM. They can of course be changed with physical access but 
 not in a particularly user-friendly way ;-)



 On Tuesday, September 2, 2014 3:48:04 PM UTC+1, Emil Widmann wrote:

 I used bridged network, because I preconfigured a small sage server. 
 Passwords are not known, but can be reset in the VM.

 Am Dienstag, 2. September 2014 13:42:20 UTC schrieb Volker Braun:

 That depends on whether the virtualbox networking is set to NAT or 
 bridged mode.

 I'm strongly in favor of NAT as default when providing a VM with known 
 password(s). Of course we could have a UI that locally asks for passwords 
 and then changes them in the VM before making it available on the network, 
 but thats probably for later.


 On Tuesday, September 2, 2014 2:19:33 PM UTC+1, mmarco wrote:

 Does that show the IP from the point of view of the guest, or from the 
 host?

 If the ports are correctly forwarded, localhost or 127.0.0.1 should 
 work.

 El martes, 2 de septiembre de 2014 11:41:16 UTC+2, Emil Widmann 
 escribió:

 Thanks for that line, looks promising! - you sure know your Vbox 
 commandline options. I am going to give that a try.

 cheers

 emil 

 Am Dienstag, 2. September 2014 08:33:08 UTC+2 schrieb Jori Mantysalo:

 On Mon, 1 Sep 2014, Emil Widmann wrote: 

  Sure, more work is needed. 

  I just included the vanilla vbox installer and thought some 
 verbosity might 
  be good for a prototype (back in 2011). 
  I have a different setup of the network, so localhost:8080 may not 
 work. 

 If virtual machine has additions installed, then 

 VBoxManage guestproperty get VM name 
 /VirtualBox/GuestInfo/Net/0/V4/IP 

 will show IP, like 

 Value: 10.0.2.15 

 In Linux we could do something like firefox $(VBoxManage... | cut -f 
 2 -d 
 ' '):8080, but is it possible with only .bat files on Windows? If 
 not, 
 then we need few lines of C (or something) to get this done. 

 -- 
 Jori Mäntysalo 



-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: One-click installer for Vbox+Sage

2014-09-01 Thread Emil Widmann
Sure, more work is needed. Thanks for interest, testing and feedback, 
especially to your wife!
I just included the vanilla vbox installer and thought some verbosity might 
be good for a prototype (back in 2011).
I have a different setup of the network, so localhost:8080 may not work.
If you start the VM with graphic then there is a colour popup, which shows 
the IP adress.
There is also a small sage server included which should serve to several 
different users on a small network.
kind regards
emil

Am Montag, 1. September 2014 11:52:41 UTC schrieb Jori Mantysalo:

 On Sun, 31 Aug 2014, Emil Widmann wrote: 

  Yes, I wrote an installer which included the VirtualBox installer and 
  the Sage Appliance inside one exe. 

 I haven't tested it myself, but got comments: Too many Next-clicks, and 
 then Sage did not open; I tell to open Vbox and click green arrow. It says 
 capturing keyboard, which afraids user. 

 So, more work is still needed. At least on Linux I can start vmachine with 

 VBoxManage startvm vmachine name --type headless 

 and I think that Windows can open browser with 

 start http://localhost:8080 

 or something like that. 

 -- 
 Jori Mäntysalo 



 

-- 
You received this message because you are subscribed to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.