This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Newbie question -


The problem with what you describe is that you can have 1 and only 1 window manager per X display at a time. In other words, you can't connect through XDMCP, which launches a window manager, and then launch a local window manager on the same display.

I don't see what would be wrong with running 2 instances of XWin. You could start the first one with DISPLAY=:0, and do the XDMCP query and all that. The second instance of XWin could be on DISPLAY=:1 and launch a local window manager. The only thing that would give away the fact that they are not the same DISPLAY would be the fact that they would apear to occupy different "planes" in the "z-axis".

You should be able to make this relatively seemless in your "startxwin" script.

Come to think of it, an alternative to launching a second XWin instance would be to use the Windows Start button to launch local X apps. As I've seen mentioned here before, you should be able to write a simple "startxapp.bat" script which sets the path, DISPLAY, etc. and then runs an x app that can be passed in as a command-line argument. You could then create a group off the Start button with a different shortcut for each X app you want to be able to launch.

The drawback to this would be that you'll get a separate icon for each local X app launched in this manner which, when un-minimized, is nothing but an empty box.

From: Jean-Claude Gervais <jc.gervais@videotron.ca>
Reply-To: cygwin-xfree@cygwin.com
To: cygwin-xfree@cygwin.com
Subject: RE: Newbie question -
Date: Fri, 15 Nov 2002 18:45:05 -0500

Hi Harold!

OK, I'll tell you what I'm up to:

What I do these days is start XWin -rootless -query host
I have the host set up so that I log in using gnome, and I have set the
remote Gnome to NOT set a background. That way, all I have is the Gnome
taskbar, which I dock on the top of my monitor while the Windows taskbar is
docked at the bottom of the monitor.

That way, it really is quite like being logged onto both computers
simultaneously.

The only thing is, I haven't figured out how to run local X applications at
the same time. I'd like WindowMaker's desktop launcher come up on the
display also. I could probably run a bash shell as a Windows console mode
app and from it start some X applications, but this seems inelegant.

I'm trying to get all three at the same time, and then, (hopefully) hook
Xwinclip into the chain and be able to paste data from one computer to
another...

Does that sound cogent? I can't really be sure, often I've noticed there are
even better ways of doing what I want with *nix, only I am still ignorant of
many of them.

Thanks



-----Original Message-----
From: cygwin-xfree-owner@cygwin.com [mailto:cygwin-xfree-owner@cygwin.com]On
Behalf Of Harold L Hunt II
Sent: Friday, November 15, 2002 5:07 PM
To: cygwin-xfree@cygwin.com
Subject: Re: Newbie question -

Jean-Claude,

No.

XDMCP manages your entire X Windows session. Either you use it at
startup or you don't use it at all.

If all you want is a local window manager and remote applications, then
you should launch XWin with your local window manager, then ssh into
your remote host with X forwarding enabled and launch your X Clients in
the background (e.g. ``xterm&'').

What did you envision would happen if you were running a local window
manager and you logged into a remote XDMCP session at the same time,
assuming that this was possible? Did you assume that the window
managers would share the screen, that a new window would popup with the
XDMCP session? What were you envisioning?

Harold

Harold

Jean-Claude Gervais wrote:

>Is there a way to invoke XDMCP AFTER the fact?
>Once I have started a local window manager, I'd like to do an XDMCP query,
>but running XWin again creates a second instance of X that is independent
of
>my current window session.
>I tried running XDM ?!? And it replies only root wants to run xdm... But
>there is no user called root on my system...
>Thanks.
>
>
>

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]