Re: EMC / Linux
Posted by
Jon Elson
on 2000-01-19 16:12:18 UTC
Karl Klemm wrote:
startup script log in as any particular user, start X and various applications.
Now, as for setting to a particular user, you would use the su -l <username>
command. I don't know if you can also put the password on that line, but
you could always make the user of choice have a null password, and then
su won't ask for one. Startx is simple. Finally, you then need X to
start emc for you. There is a menu entry in X that says save desktop
configuration in new xinit.rc. I think if you start emc, and then do this,
it will start emc everytime X starts up.
So, the only thing I don't know how to do, is I don't know what script it is
that starts the login process, which gives you that Linux Login : message.
But, there is a script somewhere that fires this up on the console, when all
other starup tasks are complete. You just change that to an su command,
and it should leave the console open. The -l modifier makes it run the
login script for the user specified, and that script should start X. When X
comes up, it should start the desired tasks and open the desired windows,
etc.
I may try some of this, myself.
Jon
> From: Karl Klemm <kklemm@...>Well, I have not actually done this, but I have been told that you can make the
>
> > Karl Klemm wrote:
> >
> > > From: Karl Klemm <kklemm@...>
> > >
> > > To run EMC you must be in linux. Since you have to login to linux there
> > > is no way for it to automatically boot to EMC, this would be neat
> > > though. You can probably modify one of the xwindows startup files so that
> > > when you enter xwindows it starts up emc that way. To boot directly to
> > > emc you would probably need to write your own rtlinux emulator OS, that
> > > would be fun.
> >
> > No, I'm sure this isn't true. I don't know quite enough about the system
> > configuration and startup scripts, but I'm quite sure, from what I've read in the
> > run level scripts, that you can do just about ANYTHING having to do with
> > making programs active at boot time through these scripts.
> >
> > But, you do need to know what you are doing, or you could make your
> > system not boot at all.
> >
> > Jon
> >
>
> Do you still have to login to linux, or would said program just show up?
startup script log in as any particular user, start X and various applications.
Now, as for setting to a particular user, you would use the su -l <username>
command. I don't know if you can also put the password on that line, but
you could always make the user of choice have a null password, and then
su won't ask for one. Startx is simple. Finally, you then need X to
start emc for you. There is a menu entry in X that says save desktop
configuration in new xinit.rc. I think if you start emc, and then do this,
it will start emc everytime X starts up.
So, the only thing I don't know how to do, is I don't know what script it is
that starts the login process, which gives you that Linux Login : message.
But, there is a script somewhere that fires this up on the console, when all
other starup tasks are complete. You just change that to an su command,
and it should leave the console open. The -l modifier makes it run the
login script for the user specified, and that script should start X. When X
comes up, it should start the desired tasks and open the desired windows,
etc.
I may try some of this, myself.
Jon
Discussion Thread
Darrell
2000-01-19 09:50:00 UTC
EMC / Linux
Karl Klemm
2000-01-19 10:11:04 UTC
Re: EMC / Linux
Jon Elson
2000-01-19 12:26:22 UTC
Re: EMC / Linux
Karl Klemm
2000-01-19 13:43:56 UTC
Re: EMC / Linux
Jon Elson
2000-01-19 16:12:18 UTC
Re: EMC / Linux
Darrell
2000-01-19 16:57:03 UTC
Re: EMC / Linux
Jon Elson
2000-01-19 22:14:26 UTC
Re: EMC / Linux
Matt Shaver
2000-01-19 23:30:48 UTC
Re: EMC / Linux
Darrell
2000-01-20 10:41:51 UTC
Re: EMC / Linux
Marshall Pharoah
2000-01-20 11:05:56 UTC
Re: EMC / Linux
Marshall Pharoah
2000-01-20 11:16:04 UTC
Re: EMC / Linux
paul@A...
2000-01-20 12:42:21 UTC
Re: EMC / Linux
Marshall Pharoah
2000-01-21 04:30:03 UTC
Re: EMC / Linux
Jon Elson
2000-01-21 14:07:09 UTC
Re: EMC / Linux
Brian L.
2000-01-19 19:50:26 UTC
Re: EMC / Linux