I'm kinda lost with what you're doing, but I really don't see the
point of running VNC just to use XDMCP to connect to it.
I usually query an XDM server (GDM typically) and login that way. I
use this method under every X server I use on Mac, Windows and Linux.
Unless you want some form of persistent connection(???) I can't see
the point of VNC, you're better off just using a real VNC client to
connect to it instead of doing what ever you're trying.
If you look around your system I do believe there is a file which will
be the template for this or similar, but again, why bother with VNC if
you're going to use XDMCP?
Set up your XDM server properly and just use it. No need to worry
about VNC at all. And you can always kill twm and replace it with what
ever WM you would like to use as well, but again, you're better off
not bothering with VNC if all you're going to do is connect to it via
XDMCP and you won't need a persistent desktop (e.g. you log out of
your marchine while coLinux is a service but you don't reboot or your
coLinux VM is on another desktop, etc).
On 5/14/06, Dave Coventry <dc@...> wrote:
> danny staple wrote:
> > On 13/05/06, Dave Coventry <dc@...> wrote:
> >> Hi,
> >> I'm trying to run my Colinux Gui using Xming.
> >> My Colinux Installation is Gentoo.
> >> I've used 'emerge icewm' to install another window manager, but,
> >> although 'Icewm' appears in the kdm menu, if I select it (or any other
> >> wm), the only wm I get is TWM. (Although the menu does indicate that t=
> >> requested wm was used previously by appending the word "(previous)"
> >> after the ICEwm entry).
> >> Also, any app that I call has the bulk of it's window positioned outsi=
> >> of the screen area so that it's not visible. Furthermore, if I could
> >> just drag the window into the centre of the screen, it would at least =
> >> usable, but the window seems to be immovable.
> >> I realise that this is probably not within Colinux's scope, but it see=
> >> symptomatic of the way colinux must access the display hardware throug=
> >> a windows virtual display.
> >> --
> >> Dave Coventry
> >> Tel: +27(0)31 7644107
> >> Fax: +27(0)31 7644107
> >> Cell: +27(0)82 3685983
> > Dave,
> > Colinux does nothing at all with any kind of hardware, and all the
> > display handling is the X server, which in your case is Xming. What
> > kind of res are you running at? I have been using cygwin for my X
> > display when using colinux for some time, and have had no such
> > problem.
> > Danny
> Thanks for the reply.
> Yes, I am aware that Colinux cannot access the hardware resources.
> Indeed, I am also aware that this is not a Colinux issue at all. However
> I feel that other colinux users could have similar problems getting
> their gui to run and have either managed to solve them or are in need of
> help to do so.
> I start vncserver with the following parameters:
> 'vncserver :1 -geometry 1024x768 -depth 16'
> I run Xming XLaunch and specify 'Open session via XDMCP' which gives the
> option to broadcast for my colinux vncserver.
> In the /root/.vnc/ directory there is a file called 'xstartup' which
> contains the following lines:
> xrdb $HOME/.Xresources
> xsetroot -solid grey
> xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
> twm &
> This file is generated by vncserver and if I edit it or delete it, the
> vncserver just replaces it.
> Dave Coventry
> Tel: +27(0)31 7644107
> Fax: +27(0)31 7644107
> Cell: +27(0)82 3685983
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job ea=
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronim=
> coLinux-users mailing list