On Thursday 10 November 2005 16:16, alex katebi wrote: > Hi Blaisorblad, > > Thanks for responding. I am not sure about your suggestion, but I have the > answer. In inittab add the below line. > > con:2345:respawn:/sbin/mingetty --noclear console Yep, this is the answer (having a login prompt on tty0). con0=fd:0,fd:1 is the default UML config, but that's tuneable, so I warned about it too. > also remember to add a line in securetty file that either says "console" or > "vc/0" otherwise it won't let root to login. I'd add a small correction: console and vc/0 are different, so I guess you need to make them match (i.e. with the above line, I think vc/0 in securetty probably doesn't work).
More important, with /dev/console you get that Ctrl-C, Ctrl-Z and so on won't work (even on host Linux). With vc/0 (or tty0, in non-DevFS speech) they should work. Btw, I'd suggest converting to non-devfs as it went away starting from 2.6.13. > This does the trick. > Please post this so others can use the info. UML mailing lists are public access, so there's no problem in posting directly. > Blaisorblade <[EMAIL PROTECTED]> wrote: > > On Wednesday 09 November 2005 04:54, alex katebi wrote: > > Hello, > > > > I like to get the uml login prompt (console) in the same xterm that I > > started the uml in. Is this possible? If so how can I do this? > > Have a login prompt on tty0, and make sure to have (either by default or > explicitly) con0=fd:0,fd:1. > > > Thanks, > > -Alex -- Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Messenger: chiamate gratuite in tutto il mondo http://it.messenger.yahoo.com ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user