All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [uml-devel] Creating virtual consoles on the fly
@ 2003-09-04 18:00 Michael Talyansky
  2003-09-04 22:49 ` Nuno Silva
  2003-09-05 20:12 ` Jeff Dike
  0 siblings, 2 replies; 9+ messages in thread
From: Michael Talyansky @ 2003-09-04 18:00 UTC (permalink / raw)
  To: user-mode-linux-devel

This is the result of "openvt -l bash":

Couldnt get a file descriptor referring to the console
Could not get a file descriptor referring to the console

If I run /sbin/mingetty with a new console tty (say, ttys/2), the
virtual console xterm does come up, but then mingetty terminates, and no
login process is run for the new console. Could someone tell me what am
I doing wrong?

Thanks!

-----Original Message-----
From: Russell Coker [mailto:russell@coker.com.au] 
Sent: Wednesday, September 03, 2003 9:39 PM
To: Michael Talyansky; user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Creating virtual consoles on the fly

On Thu, 4 Sep 2003 05:59, Michael Talyansky wrote:
> Is there a programmatic way to create a virtual console on the fly,
that
> is, without changing /etc/inittab and doing something like "telinit
q"?

What is wrong with openvt?

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux
packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: [uml-devel] Creating virtual consoles on the fly
@ 2003-09-05 20:46 Michael Talyansky
  2003-09-06  0:53 ` Henrik Nordstrom
  0 siblings, 1 reply; 9+ messages in thread
From: Michael Talyansky @ 2003-09-05 20:46 UTC (permalink / raw)
  To: Jeff Dike; +Cc: user-mode-linux-devel

That works fine. You could also to telinit -q which has the same effect
as kill -1 1.

I was looking for a programmatic way of doing it, like when someone
sends a command to UML from the outside to open a new virtual console. I
guess if there is no other way, this will have to do.

Do you know why mingetty is unhappy when run from the command line? If
there is some additional stuff I have to do programmatically, I can do
it from a script or a little program.

Thanks,
Michael

-----Original Message-----
From: Jeff Dike [mailto:jdike@addtoit.com] 
Sent: Friday, September 05, 2003 1:13 PM
To: Michael Talyansky
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Creating virtual consoles on the fly 

michaelt@doublewidesoft.com said:
> If I run /sbin/mingetty with a new console tty (say, ttys/2), the
> virtual console xterm does come up, but then mingetty terminates, and
> no login process is run for the new console. Could someone tell me
> what am I doing wrong? 

Have you tried putting an entry in inittab and kill -1 1?  I've tried
running
getty from the command like in the past, and IIRC it wasn't happy about
that.

				Jeff



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [uml-devel] Creating virtual consoles on the fly
@ 2003-09-03 19:59 Michael Talyansky
  2003-09-03 20:28 ` Matt Zimmerman
  2003-09-04  4:38 ` Russell Coker
  0 siblings, 2 replies; 9+ messages in thread
From: Michael Talyansky @ 2003-09-03 19:59 UTC (permalink / raw)
  To: user-mode-linux-devel

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]

Is there a programmatic way to create a virtual console on the fly, that
is, without changing /etc/inittab and doing something like "telinit q"? 
 
Thanks in advance,
Michael

[-- Attachment #2: Type: text/html, Size: 3357 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-09-13 15:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-04 18:00 [uml-devel] Creating virtual consoles on the fly Michael Talyansky
2003-09-04 22:49 ` Nuno Silva
2003-09-05 20:12 ` Jeff Dike
  -- strict thread matches above, loose matches on Subject: below --
2003-09-05 20:46 Michael Talyansky
2003-09-06  0:53 ` Henrik Nordstrom
2003-09-13 14:33   ` BlaisorBlade
2003-09-03 19:59 Michael Talyansky
2003-09-03 20:28 ` Matt Zimmerman
2003-09-04  4:38 ` Russell Coker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.