This is my dirty hack to start X automatically for colinux:
1. create an executable script called "$HOME/bin/cygwinloop" as follows.
while true; do
while [ `xset q 2>/dev/null |wc -l` =3D=3D "0" ]; do
2. add a line in the system start-up script. In my gentoo box it is
cd /home/USER; sudo -u USER -H bash --login -c bin/cygwinloop &
(to make things cleaner for gentoo, I also added "killall cygwinloop
|| true" to /etc/conf.d/local.stop)
3. start Xming with the following parameters in windows:
"C:\Program Files\Xming\Xming.exe" :0 -ac -nodecoration -clipboard
-unixkill -notrayicon -nowinkill -nokeyhook
Result: whenever colinux and Xming are both running, a window
manager will be launched on the screen in a couple of seconds. No ssh.
No manual log-in. No security :=3D)
On Thu, 09 Dec 2004 15:06:40 +0100, =D8yvind Harboe
> On Thu, 2004-12-09 at 13:24, Holger Krull wrote:
> > > I'm just trying to figure out what the minimum required components ar=
> > >
> > > - coLinux
> > > - Xming
> > > - ssh(?)
> > >
> > > What I do today to get an xterm shell is to execute the command line
> > > below under Windows. I've got CygWin w/ssh installed.
> > >
> > > C:\cygwin\bin\bash.exe --login -i -c "DISPLAY=3D127.0.0.1:0 ssh -l oh=
> > > -Y colinux 'xterm'"
> > Hmm, if you want to get rid of ssh just to eliminate a needed component=
on the windows side, maybe setup XDM with a xterm as a window manager.
> I don't think XDCMP is compatible with -multiwindow in Xming.
> > I never did that, but i don't see a reason why this shouldn't work. You=
can skip cygwin then. Putty is the nicer ssh anyway.
> Of course using ssh (CygWin or putty) with X tunneling works very nicely
> as is.
> This was just out of curiosity if I could make do with only the ssh
> client inside coLinux. :-)
> Could the following method work?
> - Start Xming
> - Start coLinux console (does not require SSH)
> - set DISPLAY=3D variable approperiately
> - fire up xeyes
> =D8yvind Harboe
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> coLinux-users mailing list