Re: installing a window manager - help please - answers to helpersquestions

2004-08-09 Thread Ian . McIntosh
Right, I finally managed to get somewhere.  Not with fvwm, but at least
with a window manager, openbox.  In the end I had to:

- edit startx so that
defaultserverargs=""
because otherwise by default it will open in multiwindow mode which will
conflict with any window manager,

and then

- provide a C:\.xinitrc file which just contains
exec openbox

I then got overconfident and tried to configure, make and install fvwm2
(the latest version, which is required if you want to use fvwm-themes), and
it wasn't looking good so I decided I was being a bit fancy and cut my
losses, reverting back to openbox.  Maybe later.

Thanks for the help anyway guys.
cheers,
Ian



This e-mail and any files transmitted with it are intended only for the use
of the addressee(s).  It may contain information that is confidential and
privileged.  If you are not an intended recipient, any use, interference
with, disclosure, distribution or copying of this material is unauthorised
and prohibited. If you receive this in error, please notify the author by
return e-mail or telephone +61-8-9273 7533.  Information in this message
not relating to the official business of DLI shall be understood as neither
given nor endorsed by it.  While every care is taken, it is recommended
that you scan any attachments for viruses. DLI liability is limited to
re-supplying affected attachments.




Re: installing a window manager - help please - answers to helpersquestions

2004-08-09 Thread Ian . McIntosh
>I'm a little confused by the copying of xterms and the reflection of
commands between xterms.

>what happens when you try "xterm &" in a x-term window?

It generates another two xterms, i.e. one embedded in the background and
one completely separate window; again, they mirror each other, even to the
point that if I drag the separate one around, the embedded one moves within
the background.  Weird huh.

cheers,
Ian



This e-mail and any files transmitted with it are intended only for the use
of the addressee(s).  It may contain information that is confidential and
privileged.  If you are not an intended recipient, any use, interference
with, disclosure, distribution or copying of this material is unauthorised
and prohibited. If you receive this in error, please notify the author by
return e-mail or telephone +61-8-9273 7533.  Information in this message
not relating to the official business of DLI shall be understood as neither
given nor endorsed by it.  While every care is taken, it is recommended
that you scan any attachments for viruses. DLI liability is limited to
re-supplying affected attachments.




Re: installing a window manager - help please - answers to helpers questions

2004-08-09 Thread Ken Dibble

[EMAIL PROTECTED] wrote:
Ok, thankyou to all the replies so far - I appreciate it very much.  It's
still not working but here are the answers to your questions:
-
From Ken Dibble -
 

Immediately after you do the install (i.e. before you make changes),
what happens when you double-click startxwin.bat?
   

It starts X (I get the X in the toolbar) and a basic bash terminal window.
-
From Thomas Chadwick -
 

Have you found/read this?
http://x.cygwin.com/docs/ug/using.html#using-starting
   

Yep, but all it says is the different ways of starting, none of which bring
up a window manager with the ability to do things like spawn a new xterm.
This is where I start to feel frustrated, because it seems that you're
implying that this part of the guide tells you how to do that, but I can't
for the life of me see where.
--
From Fergus -

3.   /usr/X11R6/bin/run /usr/X11R6/bin/XWin -nolisten local -multiwindow
/bin/xterm -display localhost:0.0
Ok, I tried that, and what happens is that I get a background (i.e. the
start of what might eventually become a window manager!) and then in a
different Windows window I get an xterm.  This xterm is also copied as an
embedded xterm in the background, and I can type commands in either and
they are reflected in the other.  If I shut one then the other shuts. I
can't right click on the background and create another xterm.
Thanks again, and any other suggestions are very welcome,
Ian
 

I'm a little confused by the copying of xterms and the reflection of 
commands between xterms.

what happens when you try "xterm &" in a x-term window?


Re: installing a window manager - help please - answers to helpers questions

2004-08-09 Thread Ian . McIntosh
Ok, thankyou to all the replies so far - I appreciate it very much.  It's
still not working but here are the answers to your questions:

-
>From Ken Dibble -
>Immediately after you do the install (i.e. before you make changes),
>what happens when you double-click startxwin.bat?

It starts X (I get the X in the toolbar) and a basic bash terminal window.
-
>From Thomas Chadwick -
>Have you found/read this?
> http://x.cygwin.com/docs/ug/using.html#using-starting

Yep, but all it says is the different ways of starting, none of which bring
up a window manager with the ability to do things like spawn a new xterm.
This is where I start to feel frustrated, because it seems that you're
implying that this part of the guide tells you how to do that, but I can't
for the life of me see where.
--
>From Fergus -

3.   /usr/X11R6/bin/run /usr/X11R6/bin/XWin -nolisten local -multiwindow
 /bin/xterm -display localhost:0.0

Ok, I tried that, and what happens is that I get a background (i.e. the
start of what might eventually become a window manager!) and then in a
different Windows window I get an xterm.  This xterm is also copied as an
embedded xterm in the background, and I can type commands in either and
they are reflected in the other.  If I shut one then the other shuts. I
can't right click on the background and create another xterm.

Thanks again, and any other suggestions are very welcome,
Ian




This e-mail and any files transmitted with it are intended only for the use
of the addressee(s).  It may contain information that is confidential and
privileged.  If you are not an intended recipient, any use, interference
with, disclosure, distribution or copying of this material is unauthorised
and prohibited. If you receive this in error, please notify the author by
return e-mail or telephone +61-8-9273 7533.  Information in this message
not relating to the official business of DLI shall be understood as neither
given nor endorsed by it.  While every care is taken, it is recommended
that you scan any attachments for viruses. DLI liability is limited to
re-supplying affected attachments.




RE: installing a window manager - help please

2004-08-09 Thread Thomas Chadwick
Have you found/read this?
http://x.cygwin.com/docs/ug/using.html#using-starting
_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



Re: installing a window manager - help please

2004-08-09 Thread fergus
>> I can't get so much as a basic window manager started
>> with the ability to open a new xterm.

Assuming you have a full install, or at least sufficient to run XWin, is
this any good at least to get you going? Sorry if this is the one thing you
can do ... in which case sorry for wasting your time.

1. Start with bash --login -i

2. At the bash prompt check your PATH. It should look something like this:

~> echo $PATH
/home/yourname/bin:/usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin

3. If so you can usefully reduce the length of the following two lines, but
full pathnames are included if you need them (or want to see them):

/usr/X11R6/bin/run /usr/X11R6/bin/XWin -nolisten local -multiwindow

/bin/xterm -display localhost:0.0

The -nolisten local switch is something I have found to work if your machine
is not permanently connected online. (For some reason I don't understand and
which may even be good, Xwin constantly listens to network connections and
throws a fit if it can't hear anything.)

4. Once you've got Xwin up and running you can jump in and out of xterm and
back to bash as you please. You don't have to start Xwin a 2nd time (in fact
it objects if you do). If you prefer to, you can set DISPLAY in your
environment and not have to type -display ... each time.

5. If after this you make more progress with fvwm please let me know as I
can't get anywhere either.

Fergus 





Re: installing a window manager - help please

2004-08-09 Thread Ken Dibble
It's probably best to address things one at a time.
Immediately after you do the install (i.e. before you make changes), 
what happens when you double-click startxwin.bat?

[EMAIL PROTECTED] wrote:
Hi,
I'm feeling pretty frustrated and stupid at the moment, because after 3
days of installing/reinstalling cygwin, trying to install various window
managers like fvwm, and trying the various configurations and start methods
of same, I can't get so much as a basic window manager started with the
ability to open a new xterm.
Some configurations give me the seemingly infamous "can't open
display:localhost:0.0"  (I've tried 127.0.0.1 also), whilst some will
complain that there's another window manager running (I can't find anything
in the task manager that would be another wm).
I'm going a bit crazy here as there doesn't seem to be any step-by-step
setup instructions (for cygwin AND a window manager) anywhere on the net
that I can find.  If this is wrong, please correct me.  I've obviously read
things like (http://x.cygwin.com/docs/ug/using-window-managers.html) which
give the basic theory, i.e. you can't run more than one wm etc, but there
doesn't seem to be anything explaining how to get a basic setup working
BEFORE doing anything fancy with configurations.
Alternatively, if there's somewhere that someone has a complete install
zipped up that I could potentially grab and just run it, that'd be great.
I realise this is all open-source software and I'm not moaning about
anything other than my own lack of ability to get this working.
Any help is appreciated.
cheers,
Ian