Re: XDMCP

2002-11-18 Thread Papa Fox
It looks like the unix login is happening.  What's in ~/.xsession-errors?

PapaFox
- Original Message -
From: David Calkins [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, November 17, 2002 5:11 AM
Subject: XDMCP


 I'm trying to connect up to a machine at work using XDMCP.  My home
machine
 is Win2k + Cygwin + XFree86.  I made sure to use the cygwin setup program
 to get the latest packages.  I'm using the -query option to do this, i.e.
 XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 -query
 $remotehost
 I get the login screen, enter my username and password and attempt to
 login.  For some reason, I just get bounced back to the login screen
 again.  I've been unable to get this to work.

 Any ideas as to what could cause this?






Re: xwinclip test 6 hacked to leave selection untouched

2002-11-18 Thread Chris Twiner
Hi,

I'm curious has it been forgotten that I already fixed the selection 
grabbing over two months ago?

Either way the latest code does the clipboard chain stuff and handles 
multiple windows ( -screen option), and some wierd bug were it doesn't free 
the dll properly.  I can't get it to link properly on gcc 3.2.

The problem being the -mno_cygwin option doesn't seem to work.  The dll must 
be without cygwin1.dll given that as a default it is not placed inside 
?:\windows\system.  Maybe this is a point for another list.

If the latest code is wanted I'll post it, I'm pretty much finished with 
what I want to do with it.  I can't for example see the point in spending 
much more time on it if it never get's included.

Chris

_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail



Re: XWin.exe -- xinit link

2002-11-18 Thread Pavel Holejsovsky
I think you are looking for $HOME/.xserverrc file. E.g. mine contains:

#! /bin/sh
X -nowinkill -nodecoration -lesspointer -rootless

BTW, this all seems to be documented in xinit man page, as pointed out 
by Thomas.

Pavel

[EMAIL PROTECTED] wrote:
Thanks Thomas,

	The thing is, no matter what I put in those files, it either starts XWin
with a border, or not at all.

	And when I do get it to start up, there is always a console mode window
hanging around until I close it, and that closes XWin...

	*sigh* I AM trying to understand how all this stuff fits together, but I'm
not having very much luck.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Thomas Chadwick
Sent: Sunday, November 17, 2002 10:41 PM
To: [EMAIL PROTECTED]
Subject: RE: XWin.exe -- xinit link

RTFM!  Do man xinit from the Cygwin command-line and read the 1st 3
paragraphs.



From: Jean-Claude Gervais [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: XWin.exe -- xinit link
Date: Sat, 16 Nov 2002 10:08:07 -0500

Thanks Artur,

 But that's not quite the info I was looking for;

 You see, when I type startxwin.bat or startxwin.sh, I get a


DIFFERENT


result than from starting xinit by itself.

 Yet, xinit does start XWin, only it is starting it in windowed


mode...


Which is OK, but I'm just wondering WHERE does xinit get this from? Is it
executing a script?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Artur Hefczyc
Sent: Saturday, November 16, 2002 9:56 AM
To: [EMAIL PROTECTED]
Subject: Re: XWin.exe -- xinit link



What parameters does it use to start XWin? Where does it get the


parameters?
You can find manual and parameters for XWin from command:
man XWin



Is it executing a script?


/usr/X11R6/bin/startxwin.bat
/usr/X11R6/bin/startxwin.sh

Artur Hefczyc
--
Artur Hefczyc
http://wttools.sf.net/




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






Re: X11 and Heavy loadbalancing?

2002-11-18 Thread choice15
 I *think* I understand what Jack  is trying to do.  The normal
 term for what he is attempting is host integration.  This is where
 host-based applications are integrated into web-based applications.
 The most common example of this is the IBM product Host On Demand.

 The obvious way to do host integration with X Windows is to use the same
 approach as HOD.  Use a java applet implementation of X (WeirdX) and place
 the applet in a web page.  This approach has the same problem as HOD - a
 very heavy applet download.

 PapaFox

Hmm, I think the Enduser should not use an Applet to use X-via Web.
A More efficient Way is an normal Java Desktop-Application that can
be autoupdated via the Webstartfeature (in JDK 1.4.0 Standandard allready
involved)

The original Projectplan was based on my Idea, to construct up an easy to
use
 Free-Software CrossPlatform alternative against the commercial CITRIX /
MS-Windows
 Terminalserver dominated Environment for Endcustomers with the Security of
SSH and
Highavaiability on Serverside (Disk I/O, Logon-Speed, Failoverc,
Enterprisefeatures)

On my Ressearche i have found:

1.An Applicationserver such as (commercial) Oracle 9iAS or JBoss (free)
(J2EE 1.2-Compliant)
   brings up an scalable faulttolerant, scalable, highavaiabil Framework for
Servercontainers.
  (Such as E-Mail, HTTP, SOAP, SMTP, POP3, Faxserver, X11, Filerserver and
so on)

2. The ORACLE J2EE compliant Applicationserver has implemented a lot of this
Features
   (called as CollaborationSuite) and all Servercontainers like E-mail
server can be simply checked 
   into the runnign AppServer  (for Example: java -jar
./myOnwnSMTPServer.jar)
   (it detects and installs the new J2EE Container automatically, by the
Path of an XML-Installdefinitionfile)

3. The J2EE-Appserver Certificationprocess at SUN Microsystems restrict
propritary Extensions
to an J2EE Appllicationservers to enforce compatibility to the Java
Enterprise Standard
(J2EE ServerContainers can also run on  JBoss  (the OpenSource
Applicationserver)

4. Java is Platform Independant and has rolebased Security Conecepts, it is
working on every
Environment, all J2EE ServerContainers can use this Features, the only
things to do is, writing,
code for the Serverside Support of XFree to Support Java X-Clients like
Weired.

5. An other Critical Position is the Disk I/O-Traffic and the RAM usage by
every User
thadt runs Hugh Applications on Serverside like OpenOffice, WINE and so
on.
(ps: i know thadt the Displayresults is only worked out by the
X-Clients, ok?)

6. To solve the Problem for Disk I/O and RAM Usage, a Databasedrivven
Filesystem
is a Powerfull choice (like the ORACLE Internetfilesystems IFS).
(Note: Microsoft implements MS-SQL-Serverfeatures in to the Windows
NTFS6-Filesystem,
but Oracle has this Feature over 2 Years ago on the Market and has spend
its Sourcecode
to the OpenSource Comunity under the Terms of the GPL)

Ok, it is a big Project and a lot of Work to implement/configure a more
advanced Solution as
Microsoft/Citrix-Metaframe, but a great Challenge.

Greetings from Germany,
Jack




Re: XDMCP

2002-11-18 Thread Danilo Turina
I had the same problem some time ago and the solution was to start a 
font server on one of the HP-UX machines and the use that font server 
when connecting to any of the HP-UX machines.

I also tried to copy all the needed fonts locally, bu I failed: I copied 
 60Mb of fonts from any directory with fonts but, for some reason, the 
connection stopped after the login.

Ciao,

		Danilo Turina

David Calkins wrote:

I'm trying to connect up to a machine at work using XDMCP.  My home
machine is Win2k + Cygwin + XFree86.  I made sure to use the cygwin
setup program to get the latest packages.  I'm using the -query option
to do this, i.e.
XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768
-query $remotehost
I get the login screen, enter my username and password and attempt to
login.  For some reason, I just get bounced back to the login screen
again.  I've been unable to get this to work.

Any ideas as to what could cause this?







RE: Preventing X server resets

2002-11-18 Thread Oliver, Peter
 -Original Message-
 From: Harold L Hunt II [SMTP:[EMAIL PROTECTED]]
 Sent: Friday, November 15, 2002 7:12 PM
 To:   [EMAIL PROTECTED]
 Subject:  Re: Preventing X server resets
 
 Peter,
 
 Let me rephrase your question and ask you if it makes sense:
 
 ``If I am talking on the phone to my mother and she unplugs her phone, 
 can I just continue talking to her?''
 
Yes, but if Dad is on the other extension at the same time I would expect to
be able to continue talking to him :-)

Perhaps I wasn't clear in my question.  I know that if a machine is rebooted
then any X clients running on it will be lost.  As an aside, I also know
that if a machine running an X server is rebooted then the server is lost,
and there's typically no way to tell the clients where to reconnect to; the
RandR extension will apparently change this in the future.

However, I have X clients running on many machines and all displaying on the
same server.  If most of these hosts go down then the clients on that host
are lost, but the X server keeps running and the other clients are
unaffected.  If the host I logged into with XDMCP goes down, the X server
resets and kicks off all the other clients which are otherwise fine.  It's
this behavior that I wish to avoid.

 The answer is no.  You have established a connection with a server that 
 is supposed to manage your X session... if that server fails, or if the 
 connection to it is unreliable, then you X Session is terminated. 
  Unfortunately, the way the system is designed is that applications you 
 launch from your X session are managed by the remote XDMCP machine... if 
 that machine goes down there is no way to transfer control of those 
 applications to another machine.
 
I don't believe that this is true.  As I understand it, X11 clients connect
directly to the X11 server.  Checking with netstat, I see that there are no
connections between the host that I logged into with XDMCP and another host
running an xterm.

I know that what I asked is possible in general, since an X server called
PC-Xware does it.  When XDMCP goes away it asks something like Your XDM
session has ended.  Would you like to reset the X server?, and if you say
no you can just carry on working.  I hoped that I'd be able to do the same
thing with XFree86.

 3) If you can't do anything about the machine or the network, then you 
 need to adjust your quality-of-service expectations.
 
Perhaps this is the best suggestion.  I can usually run a session for weeks
or months without incident, so perhaps I'm asking too much :-)

Alternatively, it occurs to me that I could start my session using rlogin
rather than XDMCP.  Fiddly, but it should do the trick.

-- 
Peter Oliver
Midrange Services
Aquila Networks Services Ltd



Confidentiality: This e-mail and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are addressed.  
If you have received this e-mail in error, use of this information (including 
disclosure, copying or distribution) may be unlawful.  Please notify 
[EMAIL PROTECTED] and delete the message immediately.

Security: Internet e-mail is not a 100% secure communications medium. 

Viruses: This e-mail (and any attachments) has been checked (using Sophos Sweep 3.58 + 
patches) and found to be clean from any virus infection before leaving.  
Therefore neither Aquila Networks Services Ltd nor Midlands Electricity plc  or any of 
their group undertakings  (as defined by the Companies Act 1989) (together referred to 
as the Companies) accept legal responsibility for this message or liability for the 
consequences of any computer viruses which may have been transmitted by this e-mail.
 
Monitoring: All electronic communications with the Companies may be monitored in 
accordance with the UK Regulation of Investigatory Powers Act, Lawful Business 
Practice Regulations, 2000.  If you do not consent to such monitoring, you should 
contact the sender of this e-mail. 

Aquila Networks Services Limited, 
Registered office: Whittington Hall, Whittington, Worcester, WR5 2RB
Registered in England and Wales number 3600545
This e-mail may be sent on behalf of any of the Companies.




Re: xwinclip test 6 hacked to leave selection untouched

2002-11-18 Thread Harold L Hunt II
Chris,

From what I understand, you are grabbing ownership of the selection 
when  Cygwin/XFree86 loses focus... that is not the correct solution, as 
other X Server on Windows implementations out there (not to name any 
names) are able to watch the X selection without taking ownership of it 
ever.

It sounds likes we need to watch the selection on the root window, 
rather than stealing it for our own.  If you did this, then I 
misunderstood what you were trying to say.  However, I doubt that you 
did this because grabbing ownership of the selection when we lose focus 
would be unnecessary.

I wait until a solution looks clean before I do anything with it, and 
stealing ownership on losing focus didn't look like much of a solution.

Harold

Chris Twiner wrote:
Hi,

I'm curious has it been forgotten that I already fixed the selection 
grabbing over two months ago?

Either way the latest code does the clipboard chain stuff and handles 
multiple windows ( -screen option), and some wierd bug were it doesn't 
free the dll properly.  I can't get it to link properly on gcc 3.2.

The problem being the -mno_cygwin option doesn't seem to work.  The dll 
must be without cygwin1.dll given that as a default it is not placed 
inside ?:\windows\system.  Maybe this is a point for another list.

If the latest code is wanted I'll post it, I'm pretty much finished with 
what I want to do with it.  I can't for example see the point in 
spending much more time on it if it never get's included.

Chris

_
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail





Re: Preventing X server resets

2002-11-18 Thread Harold L Hunt II
Peter,

So, if you knew that this was possible with another product, then why 
did you bother asking us if it was possible only to make us look like 
chumps when we said it wasn't?  Now I suppose we will look into it at 
some point in the future.

Harold

Oliver, Peter wrote:
-Original Message-
From:	Harold L Hunt II [SMTP:[EMAIL PROTECTED]]
Sent:	Friday, November 15, 2002 7:12 PM
To:	[EMAIL PROTECTED]
Subject:	Re: Preventing X server resets

Peter,

Let me rephrase your question and ask you if it makes sense:

``If I am talking on the phone to my mother and she unplugs her phone, 
can I just continue talking to her?''


Yes, but if Dad is on the other extension at the same time I would expect to
be able to continue talking to him :-)

Perhaps I wasn't clear in my question.  I know that if a machine is rebooted
then any X clients running on it will be lost.  As an aside, I also know
that if a machine running an X server is rebooted then the server is lost,
and there's typically no way to tell the clients where to reconnect to; the
RandR extension will apparently change this in the future.

However, I have X clients running on many machines and all displaying on the
same server.  If most of these hosts go down then the clients on that host
are lost, but the X server keeps running and the other clients are
unaffected.  If the host I logged into with XDMCP goes down, the X server
resets and kicks off all the other clients which are otherwise fine.  It's
this behavior that I wish to avoid.



The answer is no.  You have established a connection with a server that 
is supposed to manage your X session... if that server fails, or if the 
connection to it is unreliable, then you X Session is terminated. 
Unfortunately, the way the system is designed is that applications you 
launch from your X session are managed by the remote XDMCP machine... if 
that machine goes down there is no way to transfer control of those 
applications to another machine.


I don't believe that this is true.  As I understand it, X11 clients connect
directly to the X11 server.  Checking with netstat, I see that there are no
connections between the host that I logged into with XDMCP and another host
running an xterm.

I know that what I asked is possible in general, since an X server called
PC-Xware does it.  When XDMCP goes away it asks something like Your XDM
session has ended.  Would you like to reset the X server?, and if you say
no you can just carry on working.  I hoped that I'd be able to do the same
thing with XFree86.



3) If you can't do anything about the machine or the network, then you 
need to adjust your quality-of-service expectations.


Perhaps this is the best suggestion.  I can usually run a session for weeks
or months without incident, so perhaps I'm asking too much :-)

Alternatively, it occurs to me that I could start my session using rlogin
rather than XDMCP.  Fiddly, but it should do the trick.






Re: xwinclip test 6 hacked to leave selection untouched

2002-11-18 Thread Chris Twiner
Hi Harold,



From what I understand, you are grabbing ownership of the selection when 
Cygwin/XFree86 loses focus... that is not the correct solution,

Nope, it only grabs X selection when both the windows clipboard has changed 
(in latest code) and any cygwin/xfree86 class window is activated.  I.e. 
it won't grab it if a user moves from one cygwin/xfree86 to another.

When the cygwin/xfree86 looses focus it first looks for XA_PRIMARY and 
then XA_SECONDARY and then clipboard, not that the clipboard code works with 
motif apps.

The basic one window code (no clipboard chain) was there two months ago and 
posted to the group.  I.e. it fixed what was broken in test6 and fixed again 
by the recent poster.

as other X Server on Windows implementations out there (not to name any 
names) are able to watch the X selection without taking ownership of it 
ever.

Which was the whole point of my fixes, you yourself claimed you could not 
see what was wrong with test6 prove to me with code was your response.  So 
I did, you said great it looks like it works, thanks for the contributions 
I'll put it into a new test release, however you were busy and it would take 
a while. Which from the level of involvement you have with cygwin was all 
too reasonable.

It sounds likes we need to watch the selection on the root window, rather 
than stealing it for our own. If you did this, then I misunderstood what 
you were trying to say. However, I doubt that you did this because grabbing 
ownership of the selection when we lose focus would be unnecessary.

Indeed I did.  It never grabbed the selection when the focus was lost, only 
when the window was activated again. i.e. you have gone into windows and the 
clipboard is different so grab the windows clipboard.  The current version 
only does this when the clipboard has changed (And across -screen's).

I had tried to explain this before (as had other posters) but you didn't see 
anything was wrong, so I made it work in a consistent fashion with windows 
and most x servers and so it wouldn't break nedit (main motivation).

I wait until a solution looks clean before I do anything with it, and 
stealing ownership on losing focus didn't look like much of a solution.

Again it was only on gaining of activation, and you didn't at the time see 
anything was wrong with the test6 code.

You had wanted it external when you mentioned this (or internal with a 
disabling switch).  My solution was designed from the outset not to intefere 
with the inner workings of the xserver and to be within the X selection 
system, something that commercial solutions obviously aren't limited by.

Chris

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail



Re: xwinclip test 6 hacked to leave selection untouched

2002-11-18 Thread Harold L Hunt II
Chris,

Well, if you solution is everthing you claim, then you certainly have 
not been promoting it correctly.

The impression I have gathered is that it requires hooks to watch 
messages for the XWin.exe windows, whereas today's solution does not 
require such hooks.  I have really been waiting for a solution that does 
not require such hooks.  If your solution no longer requires such hooks, 
then you did a poor job of communicating that fact.

Harold

Chris Twiner wrote:

Hi Harold,



From what I understand, you are grabbing ownership of the selection 
when Cygwin/XFree86 loses focus... that is not the correct solution,


Nope, it only grabs X selection when both the windows clipboard has 
changed (in latest code) and any cygwin/xfree86 class window is 
activated.  I.e. it won't grab it if a user moves from one 
cygwin/xfree86 to another.

When the cygwin/xfree86 looses focus it first looks for XA_PRIMARY 
and then XA_SECONDARY and then clipboard, not that the clipboard code 
works with motif apps.

The basic one window code (no clipboard chain) was there two months 
ago and posted to the group.  I.e. it fixed what was broken in test6 
and fixed again by the recent poster.

as other X Server on Windows implementations out there (not to name 
any names) are able to watch the X selection without taking ownership 
of it ever.


Which was the whole point of my fixes, you yourself claimed you could 
not see what was wrong with test6 prove to me with code was your 
response.  So I did, you said great it looks like it works, thanks 
for the contributions I'll put it into a new test release, however you 
were busy and it would take a while. Which from the level of 
involvement you have with cygwin was all too reasonable.

It sounds likes we need to watch the selection on the root window, 
rather than stealing it for our own. If you did this, then I 
misunderstood what you were trying to say. However, I doubt that you 
did this because grabbing ownership of the selection when we lose 
focus would be unnecessary.


Indeed I did.  It never grabbed the selection when the focus was lost, 
only when the window was activated again. i.e. you have gone into 
windows and the clipboard is different so grab the windows clipboard.  
The current version only does this when the clipboard has changed (And 
across -screen's).

I had tried to explain this before (as had other posters) but you 
didn't see anything was wrong, so I made it work in a consistent 
fashion with windows and most x servers and so it wouldn't break nedit 
(main motivation).

I wait until a solution looks clean before I do anything with it, and 
stealing ownership on losing focus didn't look like much of a solution.


Again it was only on gaining of activation, and you didn't at the time 
see anything was wrong with the test6 code.

You had wanted it external when you mentioned this (or internal with a 
disabling switch).  My solution was designed from the outset not to 
intefere with the inner workings of the xserver and to be within the X 
selection system, something that commercial solutions obviously aren't 
limited by.

Chris

_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail





RE: Preventing X server resets

2002-11-18 Thread Jean-Claude Gervais
if a machine running an X server is rebooted then the server is lost,
and there's typically no way to tell the clients where to reconnect to

Isn't that what xmove does?

 




Re: xwinclip test 6 hacked to leave selection untouched

2002-11-18 Thread Chris Twiner
Well, if you solution is everthing you claim, then you certainly have not 
been promoting it correctly.

It's my fault that you have forgotten it?  I don't thinks so.  If you did 
not want to use it then you should have said a long time ago before I wasted 
days on it.

The impression I have gathered is that it requires hooks to watch messages 
for the XWin.exe windows, whereas today's solution does not require such 
hooks. I have really been waiting for a solution that does not require 
such hooks. If your solution no longer requires such hooks, then you did a 
poor job of communicating that fact.

Nothing has changed about it using hooks.  Nothing at all.  If his solution 
does work/ not had time to try it out. Then at least the jmp's and signal 
handling should still be of some use.

Also :

https://listman.redhat.com/pipermail/xdg-list/2000-October/05.html

And the reading I did whilst creating the changes would indicate this only 
happens for applications that explicitly choose it too.

Motif apps don't either it would seem.

Chris

_
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus



Re: XWin.exe -- xinit link

2002-11-18 Thread Thomas Chadwick
xinit does 2 things - it launches the X server and then one or more X 
clients.

If you want to customize the X client part (including the Window Manager), 
create/modify/edit the file $HOME/.xinitrc.

If you want to customize the X server part, create/modify/edit the file 
$HOME/.xserverrc.

Alternatively, you can pass command-line options to the X server by 
specifying them on xinit's command-line after --.  For example, xinit -- 
-rootless will cause XWin to startup in rootless mode.


As for the console window, there is no way to avoid it being there until 
xinit completes, which doesn't happen until after the X server shuts down.  
This is really no different than if you use a  Windows batchfile to fire up 
XWin and one or more local X clients.  It's a necessary evil.


From: Pavel Holejsovsky [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: XWin.exe -- xinit link
Date: Mon, 18 Nov 2002 10:10:40 +0100

I think you are looking for $HOME/.xserverrc file. E.g. mine contains:

#! /bin/sh
X -nowinkill -nodecoration -lesspointer -rootless

BTW, this all seems to be documented in xinit man page, as pointed out by 
Thomas.

Pavel

[EMAIL PROTECTED] wrote:
Thanks Thomas,

	The thing is, no matter what I put in those files, it either starts XWin
with a border, or not at all.

	And when I do get it to start up, there is always a console mode window
hanging around until I close it, and that closes XWin...

	*sigh* I AM trying to understand how all this stuff fits together, but 
I'm
not having very much luck.


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]On
Behalf Of Thomas Chadwick
Sent: Sunday, November 17, 2002 10:41 PM
To: [EMAIL PROTECTED]
Subject: RE: XWin.exe -- xinit link

RTFM!  Do man xinit from the Cygwin command-line and read the 1st 3
paragraphs.


From: Jean-Claude Gervais [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE: XWin.exe -- xinit link
Date: Sat, 16 Nov 2002 10:08:07 -0500

Thanks Artur,

 But that's not quite the info I was looking for;

 You see, when I type startxwin.bat or startxwin.sh, I get a


DIFFERENT


result than from starting xinit by itself.

 Yet, xinit does start XWin, only it is starting it in windowed


mode...


Which is OK, but I'm just wondering WHERE does xinit get this from? Is it
executing a script?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Artur Hefczyc
Sent: Saturday, November 16, 2002 9:56 AM
To: [EMAIL PROTECTED]
Subject: Re: XWin.exe -- xinit link



What parameters does it use to start XWin? Where does it get the


parameters?
You can find manual and parameters for XWin from command:
man XWin



Is it executing a script?


/usr/X11R6/bin/startxwin.bat
/usr/X11R6/bin/startxwin.sh

Artur Hefczyc
--
Artur Hefczyc
http://wttools.sf.net/




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




_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus



Re: Cygwin XFre86 - Redhat XDM login

2002-11-18 Thread swhatley
I'll check gdm.  I know hosts.allow is set up right.  I can telnet, FTP, SSH,
HTTP, SWAT, et.c to the Linux box.  I have commented out the last line
.../xdm/xdm.conf and modified the .../xdm/Xaccess file.

BTW, I didn't mean to put down XFree86 in any way.  It is a great product.
 Folks have put a lot of effort int it.  I'm just gtying to resolve this one
issue.

Thanks,
Steven

On Sun, 17 Nov 2002 23:48:50 -0800 (PST)
 Lars Jensen [EMAIL PROTECTED] wrote:
Stephen,

Are you sure you are running xdm and not gdm. If you're running the
latter, then you need to edit gdm.conf to enable xdmcp. If you're
running the former, I assume that xdm.conf must be edited the same way.
Also check that your hosts.allow allows connections from the remote
machine.

Lars.

--
Lars Jensen, TMCC/Vista B200, 7000 Dandini Blvd, Reno NV 89512-3999. 
Internet: [EMAIL PROTECTED], http://www.scsr.nevada.edu/~jensen
Tel: 775.673.7113  FAX: 775.674.7592



-- 
 ___ 
((__O\   (___ \    Don't get rattled by
Steven Whatley \ \_(___)\O\_/O___-  what I say.  It's just
[EMAIL PROTECTED] \O)\___/my opinion.



Re: xwinclip test 6 hacked to leave selection untouched

2002-11-18 Thread Harold L Hunt II
Robert,

In an intial test of your patch, I noticed that your patch, after the 
first selection, only tends to grab every other selection that I make on 
both the Windows clipboard and the X clipboard.  For example, I go into 
emacs under X and select a region, then I go to emacs under Windows and 
paste the selection with the middle mouse button; the first time it 
works fine; now I select some text in emacs under Windows (which causes 
the selection in emacs under X to be unhighlighted) and go to paste it 
in emacs under X, but instead of getting the new selection coming from 
emacs under Windows I instead get the same old selection from emacs 
under X.  Now, if I go back to emacs under Windows and select something 
else, then when I go to emacs under X it pastes the correct selection.

This process repeats and it always seems that every-other selection is 
gotten but that the ones in between are never picked up.

Any ideas?

Harold



beinnner frustration ...

2002-11-18 Thread Kenn Murrah
okay, i've read the user manual and the FAQ and still can't figure out how
to get started ... please feel free to tell me to RTFM, but please oh please
help me figure out WHAT and WHERE to read :-)

anyway, i installed xfree86/cygwin and i have an icon on my windows desktop
to prove it ... how the heck do i connect to the linux box on my network,
and login with one of my linux usernames, and run X on my windows box?

i hate to feel stupid ... someone PLEASE point me in the direction of a
document i can understand.

thanks,

kenn







Re: beinnner frustration ...

2002-11-18 Thread Harold L Hunt II
Kenn,

You must have missed the most relevant section of the Cygwin/XFree86 
User's Guide:

http://xfree86.cygwin.com/docs/ug/using-remote-session.html

Harold

Kenn Murrah wrote:

okay, i've read the user manual and the FAQ and still can't figure out how
to get started ... please feel free to tell me to RTFM, but please oh please
help me figure out WHAT and WHERE to read :-)

anyway, i installed xfree86/cygwin and i have an icon on my windows desktop
to prove it ... how the heck do i connect to the linux box on my network,
and login with one of my linux usernames, and run X on my windows box?

i hate to feel stupid ... someone PLEASE point me in the direction of a
document i can understand.

thanks,

kenn




 





Re: beinnner frustration ...

2002-11-18 Thread Kenn Murrah
no, i found that section, but was confused by it (sorry!) ...

it looked like a linux-style syntax, so i tried entering it at the $ prompt
in cygwin ... but it could not find the program ...

so i tried to find that program as a windows command (such as the .exe
extension would indicate) and i couldn't find that, either ...

a search of the windows box turned up no programs named xwin.exe ... so
there's no telling what i've done (or failed to do) 

any ideas?



- Original Message -
From: Harold L Hunt II [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 18, 2002 3:26 PM
Subject: Re: beinnner frustration ...


 Kenn,

 You must have missed the most relevant section of the Cygwin/XFree86
 User's Guide:

 http://xfree86.cygwin.com/docs/ug/using-remote-session.html

 Harold

 Kenn Murrah wrote:

 okay, i've read the user manual and the FAQ and still can't figure out
how
 to get started ... please feel free to tell me to RTFM, but please oh
please
 help me figure out WHAT and WHERE to read :-)
 
 anyway, i installed xfree86/cygwin and i have an icon on my windows
desktop
 to prove it ... how the heck do i connect to the linux box on my network,
 and login with one of my linux usernames, and run X on my windows box?
 
 i hate to feel stupid ... someone PLEASE point me in the direction of a
 document i can understand.
 
 thanks,
 
 kenn
 
 
 
 
 
 







Re: beinnner frustration ...

2002-11-18 Thread Harold L Hunt II
Kenn,

You have not installed Cygwin/XFree86.  You need to run Cygwin's 
setup.exe again (you do not need to uninstall Cygwin, setup is smart 
enough to download only the new packages), and you need to be sure to 
expand the XFree86 category and select the XFree86-base package.  You 
can then start Cygwin/XFree86 by double-clicking the startxwin.bat file 
that should reside in c:\cygwin\usr\X11R6\bin\startxwin.bat.  

After you have that working, you can make a copy of startxwin.bat, being 
sure to leave it in c:\cygwin\usr\X11R6\bin, REM out the lines that 
start xterm, twm, and xsetroot, then change add the -query parameter to 
the line that starts XWin.exe, as described in the user's guide.

Harold


Kenn Murrah wrote:

no, i found that section, but was confused by it (sorry!) ...

it looked like a linux-style syntax, so i tried entering it at the $ prompt
in cygwin ... but it could not find the program ...

so i tried to find that program as a windows command (such as the .exe
extension would indicate) and i couldn't find that, either ...

a search of the windows box turned up no programs named xwin.exe ... so
there's no telling what i've done (or failed to do) 

any ideas?



- Original Message -
From: Harold L Hunt II [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 18, 2002 3:26 PM
Subject: Re: beinnner frustration ...


 

Kenn,

You must have missed the most relevant section of the Cygwin/XFree86
User's Guide:

http://xfree86.cygwin.com/docs/ug/using-remote-session.html

Harold

Kenn Murrah wrote:

   

okay, i've read the user manual and the FAQ and still can't figure out
 

how
 

to get started ... please feel free to tell me to RTFM, but please oh
 

please
 

help me figure out WHAT and WHERE to read :-)

anyway, i installed xfree86/cygwin and i have an icon on my windows
 

desktop
 

to prove it ... how the heck do i connect to the linux box on my network,
and login with one of my linux usernames, and run X on my windows box?

i hate to feel stupid ... someone PLEASE point me in the direction of a
document i can understand.

thanks,

kenn






 

   



 





Re: beinnner frustration ...

2002-11-18 Thread Kenn Murrah
Harold:

I'm doing that now ... thanks for getting me pointed in the right direction.

kennM

- Original Message -
From: Harold L Hunt II [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 18, 2002 3:39 PM
Subject: Re: beinnner frustration ...


 Kenn,

 You have not installed Cygwin/XFree86.  You need to run Cygwin's
 setup.exe again (you do not need to uninstall Cygwin, setup is smart
 enough to download only the new packages), and you need to be sure to
 expand the XFree86 category and select the XFree86-base package.  You
 can then start Cygwin/XFree86 by double-clicking the startxwin.bat file
 that should reside in c:\cygwin\usr\X11R6\bin\startxwin.bat.

 After you have that working, you can make a copy of startxwin.bat, being
 sure to leave it in c:\cygwin\usr\X11R6\bin, REM out the lines that
 start xterm, twm, and xsetroot, then change add the -query parameter to
 the line that starts XWin.exe, as described in the user's guide.

 Harold


 Kenn Murrah wrote:

 no, i found that section, but was confused by it (sorry!) ...
 
 it looked like a linux-style syntax, so i tried entering it at the $
prompt
 in cygwin ... but it could not find the program ...
 
 so i tried to find that program as a windows command (such as the .exe
 extension would indicate) and i couldn't find that, either ...
 
 a search of the windows box turned up no programs named xwin.exe ... so
 there's no telling what i've done (or failed to do) 
 
 any ideas?
 
 
 
 - Original Message -
 From: Harold L Hunt II [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, November 18, 2002 3:26 PM
 Subject: Re: beinnner frustration ...
 
 
 
 
 Kenn,
 
 You must have missed the most relevant section of the Cygwin/XFree86
 User's Guide:
 
 http://xfree86.cygwin.com/docs/ug/using-remote-session.html
 
 Harold
 
 Kenn Murrah wrote:
 
 
 
 okay, i've read the user manual and the FAQ and still can't figure out
 
 
 how
 
 
 to get started ... please feel free to tell me to RTFM, but please oh
 
 
 please
 
 
 help me figure out WHAT and WHERE to read :-)
 
 anyway, i installed xfree86/cygwin and i have an icon on my windows
 
 
 desktop
 
 
 to prove it ... how the heck do i connect to the linux box on my
network,
 and login with one of my linux usernames, and run X on my windows box?
 
 i hate to feel stupid ... someone PLEASE point me in the direction of a
 document i can understand.
 
 thanks,
 
 kenn
 
 
 
 
 
 
 
 
 
 
 
 
 
 







Re: [xfree] Re: Cygwin XFre86 - Redhat XDM login

2002-11-18 Thread Steven Whatley
Hi all,

I must not have been doing a 'kill -1' on the right process.  Rebooting
the RH server got the login screen coming up.  But now, it exits back to
the login screen when I try to login.  I am getting a 'Can't open display'
message in my RH account ~/.xsession-errors file.  I am now looking at the
recent XDMCP thread.  I am very close now.  There seems to be a xhost
command missing somewhere.

Thanks,
Steven

On Mon, 18 Nov 2002, Papa Fox wrote:
 Have you enabled XDMCP over internet?
 
 Depending on whether you are running XDM, KDM or GDM, check
 
 /etc/X11/xdm/xdm-config   Comment out the appropriate line
 /etc/X11/xdm/kdmrcSet Enable=true for [Xdmcp]
 /etc/X11/gdm/gdm.conf
 
 You may also have to alter you firewall rules to allow UDP packets to port
 177.
 
 PapaFox
 
 - Original Message -
 From: Steven Whatley [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, November 18, 2002 4:20 PM
 Subject: Cygwin XFre86 - Redhat XDM login
 
 
  Hi all,
 
  I've been reading man pages, FAQs, and everything I can think of under
  Cygwin, RedHat 7.1, and the XFree86 web site.  I have been trying to
  figure this out off and on for months.  However, I can not figure out how
  to run an XFree86 session under Cygwin on my WinXP Pro system to get a
  login session on my RH 7.1 system.
 
  I have played with the files in /etc/X11/xdm on the RH system.  I played
  with XWin, xinit, and startx with -queue host and -broadcast options
  under cygwin.  All I get on the Cygwin side is no X11 window at all or a
  blank checkered default pattern X11 window.  I do not seem to be getting
  any error messages besides Giving up.  I've been dealing with X11 for
  over 10 yers.  But this XFree86 stuff is causing me to pull out my hair!
 
  BTW, XDM is running fine on the RH box and Gnome comes up just fine.  I
  just don't keep a monitor attached to the system and the system is in
  another room.  Any help to figure out what I am doing wrong will be really
  appreciated.
 
  Thanks!
  Steven :) -- trying to keep a happy face.
 
 
 

-- 
 ___  
((__O\   (___ \    Don't get rattled by 
Steven Whatley \ \_(___)\O\_/O___-  what I say.  It's just
[EMAIL PROTECTED] \O)\___/my opinion.




Re: XDMCP

2002-11-18 Thread Steven Whatley
The error I am getting in the ~/.xsessoin-errors is:

Xlib: connection to :0.0 refused by server
Xlib: Client is not authorized to connect to Server

Gtk-WARNING **: cannot open display: :0

Thanks,
Steven

From: Papa Fox papafox888 at hotmail dot com
Date: Mon, 18 Nov 2002 19:23:17 +1100
Subject: Re: XDMCP

It looks like the unix login is happening.  What's in ~/.xsession-errors?

PapaFox
- Original Message -
From: David Calkins [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, November 17, 2002 5:11 AM
Subject: XDMCP

 I'm trying to connect up to a machine at work using XDMCP.  My home
 machine is Win2k + Cygwin + XFree86.  I made sure to use the cygwin setup 
 program to get the latest packages.  I'm using the -query option to do this, 
 i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768 
 -query $remotehost
 I get the login screen, enter my username and password and attempt to
 login.  For some reason, I just get bounced back to the login screen
 again.  I've been unable to get this to work.

 Any ideas as to what could cause this?





Fwd: Re: XDMCP

2002-11-18 Thread David Calkins
I'm seeing the following in /tmp/XWin.log

AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP 
WORKMACHINEIP port 3468

I get a bunch of the above messages in my XWin.log.  Sounds like we're both 
having problems with convincing the X server that we do, in fact, want to 
allow connections from the work machine.

I tried using xhost, but it just hangs if I run it while my X server is 
running (with the -query option).  Anyone know how else I can tell my X 
server to trust a remote host?

Dave

Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
List-Unsubscribe: 
mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Archive: http://sources.redhat.com/ml/cygwin-xfree/
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED], 
http://sources.redhat.com/ml/#faqs
Sender: [EMAIL PROTECTED]
Mail-Followup-To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST)
From: Steven Whatley [EMAIL PROTECTED]
X-X-Sender: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: XDMCP

The error I am getting in the ~/.xsessoin-errors is:

Xlib: connection to :0.0 refused by server
Xlib: Client is not authorized to connect to Server

Gtk-WARNING **: cannot open display: :0

Thanks,
Steven

From: Papa Fox papafox888 at hotmail dot com
Date: Mon, 18 Nov 2002 19:23:17 +1100
Subject: Re: XDMCP

It looks like the unix login is happening.  What's in ~/.xsession-errors?

PapaFox
- Original Message -
From: David Calkins [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, November 17, 2002 5:11 AM
Subject: XDMCP

 I'm trying to connect up to a machine at work using XDMCP.  My home
 machine is Win2k + Cygwin + XFree86.  I made sure to use the cygwin setup
 program to get the latest packages.  I'm using the -query option to do 
this,
 i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768
 -query $remotehost
 I get the login screen, enter my username and password and attempt to
 login.  For some reason, I just get bounced back to the login screen
 again.  I've been unable to get this to work.

 Any ideas as to what could cause this?





Fwd: Re: XDMCP

2002-11-18 Thread David Calkins
Well, tried it again to make sure, and if I run XWin *without* the -query 
option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it 
(xhost) works.  If I then connect via the VPN to my work's intranet, and 
then run XWin *with* the -query option, xhost now hangs...  argh!  I 
think I'm *very* close to having this work.  I just need to convince X to 
allow my work machine to connect back to my home machine..

Dave


I'm seeing the following in /tmp/XWin.log

AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP 
WORKMACHINEIP port 3468

I get a bunch of the above messages in my XWin.log.  Sounds like we're 
both having problems with convincing the X server that we do, in fact, 
want to allow connections from the work machine.

I tried using xhost, but it just hangs if I run it while my X server is 
running (with the -query option).  Anyone know how else I can tell my X 
server to trust a remote host?

Dave

Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
List-Unsubscribe: 
mailto:[EMAIL PROTECTED]
List-Subscribe: mailto:[EMAIL PROTECTED]
List-Archive: http://sources.redhat.com/ml/cygwin-xfree/
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED], 
http://sources.redhat.com/ml/#faqs
Sender: [EMAIL PROTECTED]
Mail-Followup-To: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST)
From: Steven Whatley [EMAIL PROTECTED]
X-X-Sender: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: XDMCP

The error I am getting in the ~/.xsessoin-errors is:

Xlib: connection to :0.0 refused by server
Xlib: Client is not authorized to connect to Server

Gtk-WARNING **: cannot open display: :0

Thanks,
Steven

From: Papa Fox papafox888 at hotmail dot com
Date: Mon, 18 Nov 2002 19:23:17 +1100
Subject: Re: XDMCP

It looks like the unix login is happening.  What's in ~/.xsession-errors?

PapaFox
- Original Message -
From: David Calkins [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, November 17, 2002 5:11 AM
Subject: XDMCP

 I'm trying to connect up to a machine at work using XDMCP.  My home
 machine is Win2k + Cygwin + XFree86.  I made sure to use the cygwin setup
 program to get the latest packages.  I'm using the -query option to do 
this,
 i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768
 -query $remotehost
 I get the login screen, enter my username and password and attempt to
 login.  For some reason, I just get bounced back to the login screen
 again.  I've been unable to get this to work.

 Any ideas as to what could cause this?







Re: [xfree] Fwd: Re: XDMCP

2002-11-18 Thread Steven Whatley
Have you modified Cygwin's /etc/hsots.allow and /etc/hosts.deny files?  
I'm trying this but no go yet.

Later,
Steven

On Mon, 18 Nov 2002, David Calkins wrote:
 Well, tried it again to make sure, and if I run XWin *without* the -query 
 option, I can set my DISPLAY to 127.0.0.1:0.0 and then run xhost and it 
 (xhost) works.  If I then connect via the VPN to my work's intranet, and 
 then run XWin *with* the -query option, xhost now hangs...  argh!  I 
 think I'm *very* close to having this work.  I just need to convince X to 
 allow my work machine to connect back to my home machine..
 
 Dave
 
 
 I'm seeing the following in /tmp/XWin.log
 
 AUDIT: Mon Nov 18 22:22:19 2002: 5924 XWin: client 1 rejected from IP 
 WORKMACHINEIP port 3468
 
 I get a bunch of the above messages in my XWin.log.  Sounds like we're 
 both having problems with convincing the X server that we do, in fact, 
 want to allow connections from the work machine.
 
 I tried using xhost, but it just hangs if I run it while my X server is 
 running (with the -query option).  Anyone know how else I can tell my X 
 server to trust a remote host?
 
 Dave
 
 Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
 List-Unsubscribe: 
 mailto:[EMAIL PROTECTED]
 List-Subscribe: mailto:[EMAIL PROTECTED]
 List-Archive: http://sources.redhat.com/ml/cygwin-xfree/
 List-Post: mailto:[EMAIL PROTECTED]
 List-Help: mailto:[EMAIL PROTECTED], 
 http://sources.redhat.com/ml/#faqs
 Sender: [EMAIL PROTECTED]
 Mail-Followup-To: [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 Delivered-To: mailing list [EMAIL PROTECTED]
 Date: Mon, 18 Nov 2002 20:54:52 -0600 (CST)
 From: Steven Whatley [EMAIL PROTECTED]
 X-X-Sender: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: XDMCP
 
 The error I am getting in the ~/.xsessoin-errors is:
 
 Xlib: connection to :0.0 refused by server
 Xlib: Client is not authorized to connect to Server
 
 Gtk-WARNING **: cannot open display: :0
 
 Thanks,
 Steven
 
 From: Papa Fox papafox888 at hotmail dot com
 Date: Mon, 18 Nov 2002 19:23:17 +1100
 Subject: Re: XDMCP
 
 It looks like the unix login is happening.  What's in ~/.xsession-errors?
 
 PapaFox
 - Original Message -
 From: David Calkins [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, November 17, 2002 5:11 AM
 Subject: XDMCP
 
   I'm trying to connect up to a machine at work using XDMCP.  My home
   machine is Win2k + Cygwin + XFree86.  I made sure to use the cygwin setup
   program to get the latest packages.  I'm using the -query option to do 
  this,
   i.e. XWin -depth 32 -engine 4 -fullscreen -refresh 85 -screen 0 1024 768
   -query $remotehost
   I get the login screen, enter my username and password and attempt to
   login.  For some reason, I just get bounced back to the login screen
   again.  I've been unable to get this to work.
  
   Any ideas as to what could cause this?
 
 
 

-- 
 ___  
((__O\   (___ \    Don't get rattled by 
Steven Whatley \ \_(___)\O\_/O___-  what I say.  It's just
[EMAIL PROTECTED] \O)\___/my opinion.