|
From: Patrick K. <pet...@gm...> - 2003-06-29 17:02:42
|
Hi,
Ridgeway, Alan wrote:
> I would like to keep all 6 Xterms for each User Mode Linux Virtual
> Machine to stay in the same window. So I could have one window per
> virtual machine and not a whole desktop cluttered with Xterms all
> over.
I found a way to do this, but it still has some flaws. I call the uml=20
like this:
linux ubd0=3Dcow_2 con=3Dxterm xterm=3Dwrapper.sh
Using the following wrapper.sh:
#--- snip ---
title=3D$2
exec=3D$4" "$5" "$6
session=3D$(dcop $KONSOLE_DCOP newSession)
temp=3D$KONSOLE_DCOP
call=3D"DCOPRef("$(echo $temp | cut -d "," -f 1 | cut -d "(" -f 2)
call=3D$call","$session")"
dcop $call renameSession "$title"
dcop $call sendSession "$exec"
#--- snip ---
This way I get a new konsole session for each tty of the starting uml.
NOTE: wrapper.sh and port-helper MUST be in the path of every newly=20
started konsole! Otherwise you are in for some trouble.
The big problem using this "solution" is the following message:
> winch_thread : TIOCSCTTY failed, errno =3D 1
> register_winch : failed to write synchronization byte
>
> uml login: winch_interrupt : read failed, errno =3D 5
> fd 53 is losing SIGWINCH support
I keep getting this meassage on tty0 on every start up. And I noticed=20
that sometimes "shutdown" doesn't work as expected; I had to kill the=20
uml for the outside.
HTH,
Patrick "Petschge" Kilian
--=20
Ein Passender Vergleich wuerde einen Braunkohletagebaufoerderbagger
mit einbeziehen. Dieser ist zu Strassen so kompatibel wie Notes zu
SMTP.=09=09-- J=FCrgen P. Meier in d.a.s.r
|