On Sunday 11 December 2005 22:08, Julius Schwartzenberg wrote:
> Thanks again for your messages!
> Blaisorblade wrote:
> >>I do not have X11 on my server. I also tried it with the DISPLAY
> >>environent pointing to my workstation's X11 server, but I got another
> >>error then.
> > Test if you can open an xterm directly first, it's not so easy (at least
> > you need to use xhost).
> I haven't got any X11 stuff at all on my server, so I can't really try
> that. I just did xhost +serverhostname on my workstation, this should allow
> all connections from that host?
Apart that as you say con=pts is good, but for X11:
1) Test with xterm, but before:
2) export DISPLAY=workstation:0 - that setting must be readable by processes
attempting to use X.
But you'd better:
3) Enable SSH forwading - ssh to the server and start UML from there (possibly
with screen) - SSH will open an encrypted X11 tunnel and auto-setup DISPLAY
and so on.
> > However, there is no auto fallback.
> > You're using wrong settings - you should pass it something like con=pts,
> > for instance, and then open the consoles with minicom or screen.
> It indeed seems that con=pts is the way to go for me :)
> With some images however I was able to get in some sort of rescue mode,
single user mode aka "add 1 on the cmd line?"
> which just put a log-in prompt & after that a shell on the same terminal
> I ran the 'linux' command on (and where also all the kernel messages are
> printed). Wouldn't it be possible to use this too for regular log-ins?
First, you can say con1=fd:0,fd:1 instead to redirect tty1 to stdin/out,
however you just need to add an entry in inittab for tty0 along with tty1 and
list tty0 in /etc/*securetty* (path varies) to allow root to login from tty0.
Don't use /dev/console as that is very different and has problems (aka
Ctrl-C, Ctrl-Z don't work, for instance).
However, I recall that Ctrl-C doesn't work well that way - from stdin,stdout.
> (I would imagine running the 'linux' commando from within a screen
We do it all the time, but you can IIRC make screen attach to a pts.
> so it would be really easy to attach back to it.)
> In the end I will probably do most of my stuff through ssh with the UML
> system, but I will probably need to get some sort of networking running
> for that first :)
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB