RE: Using XWin.exe to connect to a linux X Server

2007-12-04 Thread Phil Betts
jose isaias cabrera wrote on Monday, December 03, 2007 11:43 PM::

 Just to complete this issue, I had to delete the account and recreate
 it. The reason why was that I previously had an SPARC sunworkstion
 with Gentoo on it, and I rsync-ed all of the files and directories
 from that server.  I was running gnome on that server also, but
 somehow the previous settings were getting picked up by the new
 gnome, which was a newer version and it was kicking me out.  After
 creating the new user with the same name I am able to login and do my
 work. 
 
 thanks,
 
 josé

I'm glad you've got it working, but just for the benefit of anyone
picking up on this thread via the archives, unless you really *want*
to run a Linux desktop in XWin, the advice to use XDMCP is wrong (or 
at least, it's not the best advice).

The recommended way to run client applications is documented in the
XWin user guide:
 http://x.cygwin.com/docs/ug/using-remote-apps.html

Using ssh is secure, reliable and easy both on the network and the 
remote box.

In contrast, XDMCP is woefully insecure, overkill for running 
individual applications, and inefficient in terms of network resources 
and the remote host's resources - all window manager operations are 
transmitted over the network in addition to anything going on in the 
client area of the windows.  If in doubt, watch the spike in network 
activity when you drag a window under XDMCP.  Compare this with the 
same action using ssh tunnelling.  At the same time, you can also 
watch the spike in CPU activity on the remote box.

If you are running Gnome or KDE on the Linux box, you are running a 
fairly resource heavy application.  There have been efforts lately to 
reduce their footprint, but try getting 100 users connecting to your
Linux box, each using XDMCP and you'll soon notice the difference.

Using XDMCP to run display managers also goes against the spirit of X, 
which is to have a single, local display and window-manager/desktop on 
which you can run clients on many different hosts.  XDMCP was developed
to allow using X on the graphical equivalent of dumb-terminals.

Another problem with using XDMCP is that the remote X clients are,
as far as Windows is concerned, just one application - XWin.  You
cannot use alt-tab to cycle through your Windows and your Linux clients
at the same time.  If you connect to multiple remote hosts, each using
XDMCP, things can quickly become confusing.

Sorry if that all sounded a bit preachy - it wasn't meant to.  I only 
want people to make informed decisions, not make the decisions for 
them.

Phil

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-12-04 Thread jose isaias cabrera


In the third chapter of Phil Betts, verse 37-53, it says,



jose isaias cabrera wrote on Monday, December 03, 2007 11:43 PM::


Just to complete this issue, I had to delete the account and recreate
it. The reason why was that I previously had an SPARC sunworkstion
with Gentoo on it, and I rsync-ed all of the files and directories
from that server.  I was running gnome on that server also, but
somehow the previous settings were getting picked up by the new
gnome, which was a newer version and it was kicking me out.  After
creating the new user with the same name I am able to login and do my
work.

thanks,

josé


I'm glad you've got it working, but just for the benefit of anyone
picking up on this thread via the archives, unless you really *want*
to run a Linux desktop in XWin, the advice to use XDMCP is wrong (or
at least, it's not the best advice).

The recommended way to run client applications is documented in the
XWin user guide:
http://x.cygwin.com/docs/ug/using-remote-apps.html

Using ssh is secure, reliable and easy both on the network and the
remote box.

In contrast, XDMCP is woefully insecure, overkill for running
individual applications, and inefficient in terms of network resources
and the remote host's resources - all window manager operations are
transmitted over the network in addition to anything going on in the
client area of the windows.  If in doubt, watch the spike in network
activity when you drag a window under XDMCP.  Compare this with the
same action using ssh tunnelling.  At the same time, you can also
watch the spike in CPU activity on the remote box.

If you are running Gnome or KDE on the Linux box, you are running a
fairly resource heavy application.  There have been efforts lately to
reduce their footprint, but try getting 100 users connecting to your
Linux box, each using XDMCP and you'll soon notice the difference.

Using XDMCP to run display managers also goes against the spirit of X,
which is to have a single, local display and window-manager/desktop on
which you can run clients on many different hosts.  XDMCP was developed
to allow using X on the graphical equivalent of dumb-terminals.

Another problem with using XDMCP is that the remote X clients are,
as far as Windows is concerned, just one application - XWin.  You
cannot use alt-tab to cycle through your Windows and your Linux clients
at the same time.  If you connect to multiple remote hosts, each using
XDMCP, things can quickly become confusing.

Sorry if that all sounded a bit preachy - it wasn't meant to.  I only
want people to make informed decisions, not make the decisions for
them.


Preach away, my brother. :-)  I am just kidding, of course.

This is great information and many folks, like myself, are looking for info 
like this one.  Thanks.  I did not know much of these.


On my case, I am the one of two people on that machine and sometimes, I go 
to different buildings and I need to connect from there.  And, since I enjoy 
graphical interfaces than just the ssh xterm, I wanted to do this.  :-) 
Thanks for the sermon. :-)


josé 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-12-03 Thread jose isaias cabrera


Just to complete this issue, I had to delete the account and recreate it. 
The reason why was that I previously had an SPARC sunworkstion with Gentoo 
on it, and I rsync-ed all of the files and directories from that server.  I 
was running gnome on that server also, but somehow the previous settings 
were getting picked up by the new gnome, which was a newer version and it 
was kicking me out.  After creating the new user with the same name I am 
able to login and do my work.


thanks,

josé

- Original Message - 
From: Erich Dollansky [EMAIL PROTECTED]

To: cygwin-xfree@cygwin.com
Sent: Friday, November 30, 2007 8:38 PM
Subject: Re: Using XWin.exe to connect to a linux X Server



Hi,

jose isaias cabrera wrote:


Not to leave you hanging, the problem was the xdmcp was not enabled.  But 
there is another problem, which has nothing to do with cygwin.  Somehow, 
my userID has something weird.  Other co-workers are connecting fine, but 
my user ID is not working from any machine.  They can login from my 
cygwin setup with their logonID without any problem, but my userID just 
does not work.  From my setup and their setup.



have you checked to what DISPLAY is set for your user ID on the Linux box?

If it is set to local host, I expect what you are getting.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-12-01 Thread jose isaias cabrera


Hmmm... I will check that out.  Thanks.


- Original Message - 
From: Erich Dollansky [EMAIL PROTECTED]

To: cygwin-xfree@cygwin.com
Sent: Friday, November 30, 2007 8:38 PM
Subject: Re: Using XWin.exe to connect to a linux X Server



Hi,

jose isaias cabrera wrote:


Not to leave you hanging, the problem was the xdmcp was not enabled.  But 
there is another problem, which has nothing to do with cygwin.  Somehow, 
my userID has something weird.  Other co-workers are connecting fine, but 
my user ID is not working from any machine.  They can login from my 
cygwin setup with their logonID without any problem, but my userID just 
does not work.  From my setup and their setup.



have you checked to what DISPLAY is set for your user ID on the Linux box?

If it is set to local host, I expect what you are getting.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Erich Dollansky

Hi,

jose isaias cabrera wrote:


Not to leave you hanging, the problem was the xdmcp was not enabled.  
But there is another problem, which has nothing to do with cygwin.  
Somehow, my userID has something weird.  Other co-workers are connecting 
fine, but my user ID is not working from any machine.  They can login 
from my cygwin setup with their logonID without any problem, but my 
userID just does not work.  From my setup and their setup.



have you checked to what DISPLAY is set for your user ID on the Linux box?

If it is set to local host, I expect what you are getting.

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera



jose isaias cabrera schrieb:



jose isaias cabrera schrieb:

I am trying to connect to a Gentoo X Server and it is connecting,
but I
don't seem to be able to open an xterm.  All I get is a full screen
without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
I did that and I get the same thing.  I get the Cygwin X Window with 
the

title,

Cygwin/X - d-tuxedo.na.xde3.xerox.org

Because I think I am connecting, but I am not getting anything yet.



What you get if you try to connect with XDMCP (that's the protocol you
are using if you chose -query) is completely depending on the settings
of the gentoo Server.
Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the
gentoo box. Check if a process is listening to udp port 177
(netstat -unlp |grep 177).


So, here is what I get,

d-tuxedo 10:14:06- su
Password:
d-tuxedo jicman # netstat -unlp |grep 177
d-tuxedo jicman #


so, I guess  so, maybe XDMCP is not enabled.  But I am able to get into
gnome when I am in front of the machine...


Yes, looks like xdmcp is not enabled. If you sitting at the machine you 
don't need xdmcp, only if you want to connect via the network.

Enable xdmcp or use ssh tunneling. I recommend the first.


ssh is enabled, though.  That's how I connect to it from windows.  I use 
putty or cygwin.


let me enable xdmcp.

I will let you know how it goes.


Ok, so I enabled xdmcp and now I have a beautiful gnome signon screen.  But, 
after login on, the screen disappears and the gnome signon screens appears 
again.  Here is the output of the cygwin command line:


jicman 12:12:58- XWin -clipboard -query d-tuxedo.na.xde3.xerox.org
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

XWin -clipboard -query d-tuxedo.na.xde3.xerox.org

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winPrefsLoadPreferences: /home/us319318/.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per 
pixel

winFinishScreenInitFB - Masks: 00ff ff00 00ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of 
shared memory support in the kernel

(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
Rules = xorg Model = pc105 Layout = us Variant = (null) Options = 
(null)

(--) 5 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing 
from list!

winPointerWarpCursor - Discarding first warp: 697 486
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client until fourth call.

winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client until fourth call.

winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard 
client until fourth call.

winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winProcQueryTree - winInitClipboard returned.
winClipboardProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard client already launched, returning.
winClipboardProc - XOpenDisplay () returned and successfully opened the 
display.


winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.

winClipboardIOErrorHandler!

winClipboardProc - setjmp returned for IO Error Handler.
FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 
1; fixing.

(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winPrefsLoadPreferences: /home/us319318/.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winFinishScreenInitFB - Masks: 00ff ff00 00ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont 

Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera





jose isaias cabrera schrieb:



jose isaias cabrera schrieb:

I am trying to connect to a Gentoo X Server and it is connecting,
but I
don't seem to be able to open an xterm.  All I get is a full screen
without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
I did that and I get the same thing.  I get the Cygwin X Window with 
the

title,

Cygwin/X - d-tuxedo.na.xde3.xerox.org

Because I think I am connecting, but I am not getting anything yet.



What you get if you try to connect with XDMCP (that's the protocol you
are using if you chose -query) is completely depending on the settings
of the gentoo Server.
Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the
gentoo box. Check if a process is listening to udp port 177
(netstat -unlp |grep 177).


So, here is what I get,

d-tuxedo 10:14:06- su
Password:
d-tuxedo jicman # netstat -unlp |grep 177
d-tuxedo jicman #


so, I guess  so, maybe XDMCP is not enabled.  But I am able to get into
gnome when I am in front of the machine...


Yes, looks like xdmcp is not enabled. If you sitting at the machine you 
don't need xdmcp, only if you want to connect via the network.

Enable xdmcp or use ssh tunneling. I recommend the first.


ssh is enabled, though.  That's how I connect to it from windows.  I use 
putty or cygwin.


let me enable xdmcp.

I will let you know how it goes.

thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Holger Krull
jose isaias cabrera schrieb:
 
 jose isaias cabrera schrieb:
 I am trying to connect to a Gentoo X Server and it is connecting,
 but I
 don't seem to be able to open an xterm.  All I get is a full screen
 without anything.  I am running this command:

 XWin -query d-tuxedo

 Are you sure XDMCP is enabled on this server?
 Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
 I did that and I get the same thing.  I get the Cygwin X Window with the
 title,

 Cygwin/X - d-tuxedo.na.xde3.xerox.org

 Because I think I am connecting, but I am not getting anything yet.


 What you get if you try to connect with XDMCP (that's the protocol you
 are using if you chose -query) is completely depending on the settings
 of the gentoo Server.
 Usually that would be a login window.
 If you don't get anything, i assume xdmcp is not enabled on the
 gentoo box. Check if a process is listening to udp port 177
 (netstat -unlp |grep 177).
 
 So, here is what I get,
 
 d-tuxedo 10:14:06- su
 Password:
 d-tuxedo jicman # netstat -unlp |grep 177
 d-tuxedo jicman #
 
 
 so, I guess  so, maybe XDMCP is not enabled.  But I am able to get into
 gnome when I am in front of the machine...

Yes, looks like xdmcp is not enabled. If you sitting at the machine you don't 
need xdmcp, only if you want to connect via the network. 
Enable xdmcp or use ssh tunneling. I recommend the first.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera



jose isaias cabrera schrieb:

I am trying to connect to a Gentoo X Server and it is connecting, but I
don't seem to be able to open an xterm.  All I get is a full screen
without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip

I did that and I get the same thing.  I get the Cygwin X Window with the
title,

Cygwin/X - d-tuxedo.na.xde3.xerox.org

Because I think I am connecting, but I am not getting anything yet.



What you get if you try to connect with XDMCP (that's the protocol you are 
using if you chose -query) is completely depending on the settings of the 
gentoo Server.

Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the
gentoo box. Check if a process is listening to udp port 177
(netstat -unlp |grep 177).


So, here is what I get,

d-tuxedo 10:14:06- su
Password:
d-tuxedo jicman # netstat -unlp |grep 177
d-tuxedo jicman #


so, I guess  so, maybe XDMCP is not enabled.  But I am able to get into 
gnome when I am in front of the machine...




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera





jose isaias cabrera schrieb:



jose isaias cabrera schrieb:

I am trying to connect to a Gentoo X Server and it is connecting,
but I
don't seem to be able to open an xterm.  All I get is a full screen
without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
I did that and I get the same thing.  I get the Cygwin X Window with 
the

title,

Cygwin/X - d-tuxedo.na.xde3.xerox.org

Because I think I am connecting, but I am not getting anything yet.



What you get if you try to connect with XDMCP (that's the protocol you
are using if you chose -query) is completely depending on the settings
of the gentoo Server.
Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the
gentoo box. Check if a process is listening to udp port 177
(netstat -unlp |grep 177).


So, here is what I get,

d-tuxedo 10:14:06- su
Password:
d-tuxedo jicman # netstat -unlp |grep 177
d-tuxedo jicman #


so, I guess  so, maybe XDMCP is not enabled.  But I am able to get into
gnome when I am in front of the machine...


Yes, looks like xdmcp is not enabled. If you sitting at the machine you 
don't need xdmcp, only if you want to connect via the network.

Enable xdmcp or use ssh tunneling. I recommend the first.


ssh is enabled, though.  That's how I connect to it from windows.  I use 
putty or cygwin.


let me enable xdmcp.


Ok, so I enabled xdmcp and now I have a beautiful gnome signon screen.  But,
after login on, the screen disappears and the gnome signon screens appears
again.  Here is the output of the cygwin command line:

jicman 12:12:58- XWin -clipboard -query d-tuxedo.na.xde3.xerox.org
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

XWin -clipboard -query d-tuxedo.na.xde3.xerox.org

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winPrefsLoadPreferences: /home/us319318/.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per
pixel
winFinishScreenInitFB - Masks: 00ff ff00 00ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of
shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
Rules = xorg Model = pc105 Layout = us Variant = (null) Options =
(null)
(--) 5 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
winPointerWarpCursor - Discarding first warp: 697 486
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winProcQueryTree - winInitClipboard returned.
winClipboardProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard client already launched, returning.
winClipboardProc - XOpenDisplay () returned and successfully opened the
display.

winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.

winClipboardIOErrorHandler!

winClipboardProc - setjmp returned for IO Error Handler.
FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be
1; fixing.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winPrefsLoadPreferences: /home/us319318/.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winFinishScreenInitFB - Masks: 00ff ff00 00ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to 

Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Reid Thompson

On Fri, 2007-11-30 at 09:42 -0500, jose isaias cabrera wrote:
 Holger Krull escribio,
 
  jose isaias cabrera schrieb:
 
  Greetings.
 
  I am trying to connect to a Gentoo X Server and it is connecting, but I
  don't seem to be able to open an xterm.  All I get is a full screen
  without anything.  I am running this command:
 
  XWin -query d-tuxedo
 
  Are you sure XDMCP is enabled on this server?
  Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
 I did that and I get the same thing.  I get the Cygwin X Window with the 
 title,
 
 Cygwin/X - d-tuxedo.na.xde3.xerox.org
 
 Is there a way to add a menu on the X in the taskbar?  I see that there is a 
 Show Cursor, an About and Exit.  Can I add an XTerm to that?  Because I 
 think I am connecting, but I am not getting anything yet.
 
 thanks.
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://x.cygwin.com/docs/
 FAQ:   http://x.cygwin.com/docs/faq/
 
from http://x.cygwin.com/features.html

Configurable Tray Icon Menu - Menu entries can be added to the
configurable tray icon menu via a .XWinrc file in the user's home
directory, or via a system.XWinrc file in /usr/X11R6/lib/X11.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera


Holger Krull escribio,


jose isaias cabrera schrieb:


Greetings.

I am trying to connect to a Gentoo X Server and it is connecting, but I
don't seem to be able to open an xterm.  All I get is a full screen
without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
I did that and I get the same thing.  I get the Cygwin X Window with the 
title,


Cygwin/X - d-tuxedo.na.xde3.xerox.org

Is there a way to add a menu on the X in the taskbar?  I see that there is a 
Show Cursor, an About and Exit.  Can I add an XTerm to that?  Because I 
think I am connecting, but I am not getting anything yet.


thanks.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Holger Krull
jose isaias cabrera schrieb:
 
 Greetings.
 
 I am trying to connect to a Gentoo X Server and it is connecting, but I
 don't seem to be able to open an xterm.  All I get is a full screen
 without anything.  I am running this command:
 
 XWin -query d-tuxedo

Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera


Not to leave you hanging, the problem was the xdmcp was not enabled.  But 
there is another problem, which has nothing to do with cygwin.  Somehow, my 
userID has something weird.  Other co-workers are connecting fine, but my 
user ID is not working from any machine.  They can login from my cygwin 
setup with their logonID without any problem, but my userID just does not 
work.  From my setup and their setup.


This is a Gentoo x86 server running gdm.  In case anyone has heard anything 
about it.


Thanks for the help.






jose isaias cabrera schrieb:



jose isaias cabrera schrieb:

I am trying to connect to a Gentoo X Server and it is connecting,
but I
don't seem to be able to open an xterm.  All I get is a full 
screen

without anything.  I am running this command:

XWin -query d-tuxedo


Are you sure XDMCP is enabled on this server?
Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
I did that and I get the same thing.  I get the Cygwin X Window with 
the

title,

Cygwin/X - d-tuxedo.na.xde3.xerox.org

Because I think I am connecting, but I am not getting anything yet.



What you get if you try to connect with XDMCP (that's the protocol 
you
are using if you chose -query) is completely depending on the 
settings

of the gentoo Server.
Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the
gentoo box. Check if a process is listening to udp port 177
(netstat -unlp |grep 177).


So, here is what I get,

d-tuxedo 10:14:06- su
Password:
d-tuxedo jicman # netstat -unlp |grep 177
d-tuxedo jicman #


so, I guess  so, maybe XDMCP is not enabled.  But I am able to get 
into

gnome when I am in front of the machine...


Yes, looks like xdmcp is not enabled. If you sitting at the machine you 
don't need xdmcp, only if you want to connect via the network.

Enable xdmcp or use ssh tunneling. I recommend the first.


ssh is enabled, though.  That's how I connect to it from windows.  I use 
putty or cygwin.


let me enable xdmcp.


Ok, so I enabled xdmcp and now I have a beautiful gnome signon screen. 
But,

after login on, the screen disappears and the gnome signon screens appears
again.  Here is the output of the cygwin command line:

jicman 12:12:58- XWin -clipboard -query d-tuxedo.na.xde3.xerox.org
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.99.901-4

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

XWin -clipboard -query d-tuxedo.na.xde3.xerox.org

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more 
information

winPrefsLoadPreferences: /home/us319318/.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 0007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per
pixel
winFinishScreenInitFB - Masks: 00ff ff00 00ff
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack 
of

shared memory support in the kernel
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: 0409 (0409)
(--) Using preset keyboard for English (USA) (409), type 4
Rules = xorg Model = pc105 Layout = us Variant = (null) Options =
(null)
(--) 5 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from list!
winPointerWarpCursor - Discarding first warp: 697 486
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winProcEstablishConnection - Hello
winProcEstablishConnection - Xdmcp enabled, waiting to start clipboard
client until fourth call.
winInitClipboard ()
winClipboardProc - Hello
DetectUnicodeSupport - Windows NT/2000/XP
winProcQueryTree - winInitClipboard returned.
winClipboardProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard client already launched, returning.
winClipboardProc - XOpenDisplay () returned and successfully opened the
display.

winProcSetSelectionOwner - Clipboard not yet started, aborting.
winProcSetSelectionOwner - Clipboard not yet started, aborting.

winClipboardIOErrorHandler!

winClipboardProc - setjmp returned for IO Error Handler.
FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should 
be

1; fixing.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more 
information


Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread jose isaias cabrera




Hi,

DISPLAY on the Linux box must be set to the IP address of the cygwin box.

H...

But DISPLAY on the cygwin box must be set to either localhost or the IP 
address of this machine.
Ok, this one was set to d-tuxedo, which I did not change.  But I just set it 
back to localhost:0.0 and still happens.


You also must have some method to communicate between both machines. I 
always used telnet as it was all locally done. You can also take SSH if 
you do not know who else listens between.
I do.  I am able to connect to d-tuxedo through ssh, etc.  I just want to 
use X with cygwin to get to it.





Erich

jose isaias cabrera wrote:


d-tuxedo 00:32:35- set | grep DISPLAY
DISPLAY=localhost:0.0

what should it be?


- Original Message - From: Erich Dollansky 
[EMAIL PROTECTED]

To: cygwin-xfree@cygwin.com
Sent: Friday, November 30, 2007 12:31 AM
Subject: Re: Using XWin.exe to connect to a linux X Server



Hi,

jose isaias cabrera wrote:


I am trying to connect to a Gentoo X Server and it is connecting, but I 
don't seem to be able to open an xterm.  All I get is a full screen 
without anything.  I am running this command:


I did this for years using FreeBSD as the server. No problems.


XWin -query d-tuxedo

Ok, I used the startup script provided by cygwin to start the local X 
server and then connected to the FreeBSD machine.


Did you set the DISPLAY variable properly on the Linux box?

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Reid Thompson

On Fri, 2007-11-30 at 09:38 -0500, jose isaias cabrera wrote:
 
  Hi,
 
  DISPLAY on the Linux box must be set to the IP address of the cygwin box.
 H...
 
  But DISPLAY on the cygwin box must be set to either localhost or the IP 
  address of this machine.
 Ok, this one was set to d-tuxedo, which I did not change.  But I just set it 
 back to localhost:0.0 and still happens.
 
  You also must have some method to communicate between both machines. I 
  always used telnet as it was all locally done. You can also take SSH if 
  you do not know who else listens between.
 I do.  I am able to connect to d-tuxedo through ssh, etc.  I just want to 
 use X with cygwin to get to it.
 
try ssh -Y [EMAIL PROTECTED]

or ssh -X [EMAIL PROTECTED]

and then try to start an xterm

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread Holger Krull
jose isaias cabrera schrieb:
 I am trying to connect to a Gentoo X Server and it is connecting, but I
 don't seem to be able to open an xterm.  All I get is a full screen
 without anything.  I am running this command:

 XWin -query d-tuxedo

 Are you sure XDMCP is enabled on this server?
 Try Xwin -query gentoo.numeric.ip -from windows.nummeric.ip
 I did that and I get the same thing.  I get the Cygwin X Window with the
 title,
 
 Cygwin/X - d-tuxedo.na.xde3.xerox.org
 
 Because I think I am connecting, but I am not getting anything yet.
 

What you get if you try to connect with XDMCP (that's the protocol you are 
using if you chose -query) is completely depending on the settings of the 
gentoo Server.
Usually that would be a login window.
If you don't get anything, i assume xdmcp is not enabled on the gentoo box. 
Check if a process is listening to udp port 177 (netstat -unlp |grep 177).

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-30 Thread xerces8
1.)
If you start the XWin.exe and then connect to d-tuxedo over ssh and there you 
start:
DISPLAY=your_displays_IP:0 xterm

does it work ?

2.) is there an XDCMP server running on d-tuxedo ?
(can be set somewhere in the gdm settings Allow remote loginW or similar)

Regards,
David

-Original Message-
From: jose isaias cabrera [EMAIL PROTECTED]
To: cygwin-xfree@cygwin.com
Date: Thu, 29 Nov 2007 23:58:26 -0500
Subject: Using XWin.exe to connect to a linux X Server

 
 Greetings.
 
 I am trying to connect to a Gentoo X Server and it is connecting, but I 
 don't seem to be able to open an xterm.  All I get is a full screen without 
 anything.  I am running this command:
 
 XWin -query d-tuxedo
 
 where d-tuxedo is the X Server.  It works well with xinit.  Here is the 
 .xinitrc:
 
 jicman 23:51:28- cat .xinitrc
 #!/bin/sh
 # $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
 
 userresources=$HOME/.Xresources
 usermodmap=$HOME/.Xmodmap
 sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
 sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
 
 # merge in defaults and keymaps
 
 if [ -f $sysresources ]; then
 xrdb -merge $sysresources
 fi
 
 if [ -f $sysmodmap ]; then
 xmodmap $sysmodmap
 fi
 
 if [ -f $userresources ]; then
 xrdb -merge $userresources
 fi
 
 if [ -f $usermodmap ]; then
 xmodmap $usermodmap
 fi
 
 # start some nice programs
 
 
 xhost + localhost
 cd
 xterm -display $DISPLAY -name xterm-1 -sb \
 -sl 1000 -geometry +0+0 
 xterm -display $DISPLAY -name xterm-2 -sb \
 -sl 1000 -geometry +270+190 
 #fvwm2
 wmaker
 
 So, what is it that I am doing wrong?  I tried searching on different places 
 and google it, but I could not find any thing.
 
 Any help would be greated appreciated.
 
 thanks,
 
 josé 
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://x.cygwin.com/docs/
 FAQ:   http://x.cygwin.com/docs/faq/
 



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-29 Thread Erich Dollansky

Hi,

DISPLAY on the Linux box must be set to the IP address of the cygwin box.

But DISPLAY on the cygwin box must be set to either localhost or the IP 
address of this machine.


You also must have some method to communicate between both machines. I 
always used telnet as it was all locally done. You can also take SSH if 
you do not know who else listens between.


Erich

jose isaias cabrera wrote:


d-tuxedo 00:32:35- set | grep DISPLAY
DISPLAY=localhost:0.0

what should it be?


- Original Message - From: Erich Dollansky 
[EMAIL PROTECTED]

To: cygwin-xfree@cygwin.com
Sent: Friday, November 30, 2007 12:31 AM
Subject: Re: Using XWin.exe to connect to a linux X Server



Hi,

jose isaias cabrera wrote:


I am trying to connect to a Gentoo X Server and it is connecting, but 
I don't seem to be able to open an xterm.  All I get is a full screen 
without anything.  I am running this command:


I did this for years using FreeBSD as the server. No problems.


XWin -query d-tuxedo

Ok, I used the startup script provided by cygwin to start the local X 
server and then connected to the FreeBSD machine.


Did you set the DISPLAY variable properly on the Linux box?

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-29 Thread jose isaias cabrera


d-tuxedo 00:32:35- set | grep DISPLAY
DISPLAY=localhost:0.0

what should it be?


- Original Message - 
From: Erich Dollansky [EMAIL PROTECTED]

To: cygwin-xfree@cygwin.com
Sent: Friday, November 30, 2007 12:31 AM
Subject: Re: Using XWin.exe to connect to a linux X Server



Hi,

jose isaias cabrera wrote:


I am trying to connect to a Gentoo X Server and it is connecting, but I 
don't seem to be able to open an xterm.  All I get is a full screen 
without anything.  I am running this command:


I did this for years using FreeBSD as the server. No problems.


XWin -query d-tuxedo

Ok, I used the startup script provided by cygwin to start the local X 
server and then connected to the FreeBSD machine.


Did you set the DISPLAY variable properly on the Linux box?

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Using XWin.exe to connect to a linux X Server

2007-11-29 Thread Erich Dollansky

Hi,

jose isaias cabrera wrote:


I am trying to connect to a Gentoo X Server and it is connecting, but I 
don't seem to be able to open an xterm.  All I get is a full screen 
without anything.  I am running this command:


I did this for years using FreeBSD as the server. No problems.


XWin -query d-tuxedo

Ok, I used the startup script provided by cygwin to start the local X 
server and then connected to the FreeBSD machine.


Did you set the DISPLAY variable properly on the Linux box?

Erich

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/