[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-30 Thread John Cremona
There are also quite a few notebook-related things taking up startup time, which surely is unnecessary unless -notebook is on the command line, or until the notebook() command is run? I mostly do not use the notebook, and it looks from here as if I am wasting 2s everytime I start up: {{{ 0.310 c

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread William Stein
On Thu, Oct 29, 2009 at 3:44 PM, Robert Bradshaw wrote: > > On Oct 29, 2009, at 3:39 PM, William Stein wrote: > >> On Thu, Oct 29, 2009 at 3:27 PM, Jason Grout >> wrote: >>> >>> William Stein wrote: Nothing is "forbidden" yet, but we should try not to load whatever we can get away

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread Robert Bradshaw
On Oct 29, 2009, at 3:39 PM, William Stein wrote: > On Thu, Oct 29, 2009 at 3:27 PM, Jason Grout > wrote: >> >> William Stein wrote: >>> Nothing is "forbidden" yet, but we should try not to load whatever >>> we >>> can get away with not loading in order to improve the import time. >> >> Well,

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread William Stein
On Thu, Oct 29, 2009 at 3:27 PM, Jason Grout wrote: > > William Stein wrote: >> Nothing is "forbidden" yet, but we should try not to load whatever we >> can get away with not loading in order to improve the import time. > > Well, it sounds like you are forbidding matplotlib and numpy being > load

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread Jason Grout
William Stein wrote: > Nothing is "forbidden" yet, but we should try not to load whatever we > can get away with not loading in order to improve the import time. Well, it sounds like you are forbidding matplotlib and numpy being loaded at startup, if you're making a doctest for that. > > Desp

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread William Stein
On Thu, Oct 29, 2009 at 10:48 AM, Jason Grout wrote: > > William Stein wrote: > >> Speaking of startup time, I'm sad that numpy, matplotlib, etc., all >> get imported by default again, hence  "sage -startuptime" is bad >> again.   We need to stop having all those slow-to-import modules get >> imp

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread Dr. David Kirkby
David wrote: > Things are looking up here. I think I'm having some firewall issues > with high port numbers. Is there any way to allow sage to open port > 443 without running as root? This would be easier than trying to get > the computer center to open up a new port campus-wide. > > If I run the

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread Jason Grout
William Stein wrote: > Speaking of startup time, I'm sad that numpy, matplotlib, etc., all > get imported by default again, hence "sage -startuptime" is bad > again. We need to stop having all those slow-to-import modules get > imported by default once and for all (by adding and keeping doctes

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread William Stein
On Thu, Oct 29, 2009 at 10:29 AM, Jason Grout wrote: > hmmm...instead of world-writeable, you could also make the tmp directory > group-writeable and make the server and worksheet members of the same group. Given that the only users in the virtual machine are the worksheet processes and notebook

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread Jason Grout
William Stein wrote: > On Thu, Oct 29, 2009 at 9:05 AM, Jason Grout > wrote: >> David Guichard wrote: >>> Thanks Robert--works fine. >>> >>> I sort of answered my question about simultaneous connections: >>> apparently one account in the server pool can be used by two users--it >>> appears to jus

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread William Stein
On Thu, Oct 29, 2009 at 9:52 AM, William Stein wrote: > On Thu, Oct 29, 2009 at 9:05 AM, Jason Grout > wrote: >> >> David Guichard wrote: >>> Thanks Robert--works fine. >>> >>> I sort of answered my question about simultaneous connections: >>> apparently one account in the server pool can be use

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread William Stein
On Thu, Oct 29, 2009 at 9:05 AM, Jason Grout wrote: > > David Guichard wrote: >> Thanks Robert--works fine. >> >> I sort of answered my question about simultaneous connections: >> apparently one account in the server pool can be used by two users--it >> appears to just log in twice as that user.

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread Jason Grout
David Guichard wrote: > Thanks Robert--works fine. > > I sort of answered my question about simultaneous connections: > apparently one account in the server pool can be used by two users--it > appears to just log in twice as that user. There must be a good reason > to have more users in the serve

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread David Guichard
Thanks Robert--works fine. I sort of answered my question about simultaneous connections: apparently one account in the server pool can be used by two users--it appears to just log in twice as that user. There must be a good reason to have more users in the server pool, though, right? What is it?

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread ma...@mendelu.cz
On 28 říj, 15:13, David wrote: > Things are looking up here. I think I'm having some firewall issues > with high port numbers. Is there any way to allow sage to open port > 443 without running as root? This would be easier than trying to get > the computer center to open up a new port campus-wi

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-29 Thread David
Is there some way to delete user accounts as administrator? When I log in as admin, I see options to create an account and to suspend an account, but not to delete one. -- David --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.co

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-28 Thread David
Do I need one entry in the server pool for each simultaneous connection? Eventually I'll need perhaps 20 simultaneous sessions. -- David --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send em

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-28 Thread David
Things are looking up here. I think I'm having some firewall issues with high port numbers. Is there any way to allow sage to open port 443 without running as root? This would be easier than trying to get the computer center to open up a new port campus-wide. If I run the server in the background

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-28 Thread John Cremona
When you have got this working please could you post somewhere *exactly* what you needed to do? You are doing lots of things which I have never seen before in any of the notebook server documentation. As I have never yet managed to start a notebook server on one machine on campus and connect to i

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-27 Thread Mike Hansen
On Wed, Oct 28, 2009 at 11:10 AM, David wrote: > > I'm getting the picture now I think. I need a user to run the notebook > server, preferably not root. Then I create ssh keys for that user with > no passphrase. Then I create authorized_keys files for all the nb? > users. Start the server as the

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-27 Thread David
I'm getting the picture now I think. I need a user to run the notebook server, preferably not root. Then I create ssh keys for that user with no passphrase. Then I create authorized_keys files for all the nb? users. Start the server as the server-user, and I should be good? Thanks, David --~--~--

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-27 Thread David
OK, some progress. I ssh'd from the server to itself to register keys, now I don't get the errors. The calculation wasn't returning, so I looked at the process list and saw an apparent attempt to ssh to the server, using username nb5. Do I need to set up users nb1-5 ? Is there some standard place

[sage-support] Re: [david.r.guich...@gmail.com: Re: sage server]

2009-10-27 Thread David
I'm using Dan's script: # A script for starting the Sage notebook with the options you like. # Change the options to your needs, save this script and do "sage # start_notebook.sage" to start the notebook with these options. # # by Dan Drake; see http://wiki.sagemath.org/DanDrake/JustEnoughSageSer