Re: Xdmcp too slow with SOME Linux accounts.

2007-09-19 Thread Holger Krull
Michael Giroux schrieb:
 Do the CygwinX developers watch this list?

As far as i know xwin is unmaintained at the moment. 



--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-13 Thread Michael Giroux
I have retested this with connections to different Linux systems, and
it (my xwin server hang) appears to be isolated to a single Linux.


I find there is a difference in Fedora versions on the two systems.
Although I'm surprosed that the version of Fedora would cause my local
xwin.exe to stop reading the windows message queue, I will ask the
system admin to look into this from a Linux config standpoint.

--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-13 Thread Michael Giroux
Are there known issues with various versions of Fedora?

--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-12 Thread Michael Giroux
Is there an alternative to XDCMP that I could try to see if that
protocol is causing the problem?

--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-12 Thread Jean-Claude Gervais
Michel,

One alternative you could try is ssh-ing to the host you want to run
the programs on and invoking the programs directly and comparing the
graphics-update performance.

In essence this means issuing the following command:

ssh -Y [EMAIL PROTECTED] program

The 'Y' parameter is very important, don't forget it.

All this hinges on whether or not the host has SSH enabled, and if it
does, it must also have X forwarding enabled.

Still, it won't cost you that much to try.

In the past, I have tried to use xdmcp like you have only to encounter
the same sluggish performance you've reported, so I've opted to use X
tunneling over SSH instead, which works great. 

The IS a drawback though, it doesn't give you the full desktop with the
background and everything you might be looking for, but in practice the
things you really want are the apps, anyway.

J


On Wed, 2007-09-12 at 06:56 -0700, Michael Giroux wrote:
 Is there an alternative to XDCMP that I could try to see if that
 protocol is causing the problem?
 
 --
 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: Xdmcp too slow with SOME Linux accounts.

2007-09-12 Thread Michael Giroux
Thanks for the tip.  I was able to use the ssh, but that generated
errors on the console (below).  Before running the ssh command, I
started xwin, but perhaps I need to specify some options?

Michael

(eclipse:29698): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(eclipse:29698): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_T
YPE_CHECK_INSTANCE (instance)' failed

(eclipse:29698): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion `GDK_IS
_SCREEN (screen)' failed

(eclipse:29698): GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT
(object)' failed

(eclipse:29698): GLib-GObject-WARNING **: value TRUE of type `gboolean' is inv
alid or out of range for property `visible' of type `gboolean'

--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-12 Thread Jean-Claude Gervais
Michael,

I am assuming you are invoking the ssh connection from a graphical
xterm window, it won't work from a console-mode bash prompt.

Other than that, it might mean that X forwarding is not enabled on the
host you are connecting to.

For the record, I just tried the scenario I outlined; ssh to a host and
then invoking eclipse. It worked for me, so it has to be a configuration
issue on your setup.

J

On Wed, 2007-09-12 at 07:45 -0700, Michael Giroux wrote:
 Thanks for the tip.  I was able to use the ssh, but that generated
 errors on the console (below).  Before running the ssh command, I
 started xwin, but perhaps I need to specify some options?
 
 Michael
 
 (eclipse:29698): GLib-GObject-WARNING **: invalid (NULL) pointer instance
 
 (eclipse:29698): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 
 `G_T
 YPE_CHECK_INSTANCE (instance)' failed
 
 (eclipse:29698): Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 
 `GDK_IS
 _SCREEN (screen)' failed
 
 (eclipse:29698): GLib-GObject-CRITICAL **: g_object_get: assertion 
 `G_IS_OBJECT
 (object)' failed
 
 (eclipse:29698): GLib-GObject-WARNING **: value TRUE of type `gboolean' is 
 inv
 alid or out of range for property `visible' of type `gboolean'
 
 --
 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: Xdmcp too slow with SOME Linux accounts.

2007-09-12 Thread Holger Krull
Jean-Claude Gervais schrieb:

 The IS a drawback though, it doesn't give you the full desktop with the
 background and everything you might be looking for, but in practice the
 things you really want are the apps, anyway.

That is not true, if you tunnel through ssh you can easily start kde, gnome or 
whatever window manager you like if you tell xwin not to start its own local 
window manager.
(kde is startkde, gnome is gnome-session, icewm is icewm-session)



--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-12 Thread Holger Krull
Jean-Claude Gervais schrieb:
 Michael,
 
   I am assuming you are invoking the ssh connection from a graphical
 xterm window, it won't work from a console-mode bash prompt.

It will if you set DISPLAY right before starting ssh.


--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-11 Thread Michael Giroux
Have been watching this for a few days now and here is what we see.

When I start an XWin session, response is excellent for about 1
minute.  If I happen to close the XWin server in my cygwin desktop
while the response is really good, I get a warning dialog that there
are 4 clients connected.

Repeat the test, start XWin, open Eclipse, use system until response
degrades. Now close the XWin server while the response is poor.  This
time, I get a message box indicating that there are 17 clients
connected.

My network admin is seeing sessions connecting from the Linux box into
my XWin server confirming that there are sessions being initiated on
the Linux system.

From this, it seems the response issue is somehow related to these clients.

Since I'm only starting one client (Eclipse) the others I have no way
of knowing what the others are.

To test the theory that this is the cause of the problem, is there any
way to prevent these clients from starting and connecting to my XWin
server?

Michael

--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-11 Thread Holger Krull
Michael Giroux schrieb:
 From this, it seems the response issue is somehow related to these clients.
 
 Since I'm only starting one client (Eclipse) the others I have no way
 of knowing what the others are.

Yes you do. 
Make an addtional connection with ssh and make ps print all processes for your 
account.
Or ask someone who is root to do so.


 To test the theory that this is the cause of the problem, is there any
 way to prevent these clients from starting and connecting to my XWin
 server?

Yes. 
But these clients get started by the login process on the unix/linux computer 
so we would need to know exactly how you connect and start eclipse for further 
advice.


--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-11 Thread Phil Betts
Michael Giroux wrote on Tuesday, September 11, 2007 2:25 PM::

 Since I'm only starting one client (Eclipse) the others I have no way
 of knowing what the others are.

Try xlsclients



--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-11 Thread Michael Giroux
I got a little help from my network admin. We started watching the
traffic between my Windows desktop (XWin server) and the Linux box
(client).  What we see is interesting.  When I start XWIN and then
launch Eclipse, response is perfect.  If I move the mouse,  my system
sends a message to the Linux box.

When I see the performance problem, what I see is that if I move the
mouse, nothing is sent from my system to Linux.  The Linux box sends a
keep-alive or something to my system every 15 seconds.  When that
happens, it appears that a mouse message is sent to Linux.

To make matters a bit more interesting, the problem seems to occur
shortly after I do something that effects the application windows on
the XWin desktop.  For example, if I start XWin, then start Eclipse,
response remains good until I do almost anything to window.  If I
minimize Eclipse, I notice that shortly after that, my system stops
sending messages to the Linux box when I move the mouse.  Or, if I
create a terminal window, then close it, the same happens, ... shortly
later my system stops sending messages to the Linux box.

Once this occurs, the only resolution is to abort XWin via the windows
task manager (because it is not responding to mouse events) and
restart it.

All of this leads me to ask if maybe I have XWin installed incorrectly
or maybe have the wrong version.

Does any of this sound familiar to anyone who has used XWin for  more
than a few releases?

On 9/11/07, Phil Betts [EMAIL PROTECTED] wrote:
 Michael Giroux wrote on Tuesday, September 11, 2007 2:25 PM::

  Since I'm only starting one client (Eclipse) the others I have no way
  of knowing what the others are.

 Try xlsclients



 --
 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: Xdmcp too slow with SOME Linux accounts.

2007-09-06 Thread Michael Giroux
Thanks

-swcursor has eliminated the console messages, and it manages to
highlight the extremely slow response.  It is taking several seconds
for the mouse pointer to move when I move the physical mouse.  In
fact, I now realize that keyboard is non responsive as well.  I'm not
seeing any cpu utilization on either system, which gives me the
feeling that there is a loop somewhere looking for events and the loop
is using a timer or something.  Using GUI on the physical Linux box
does not have this problem, so I keep guessing that it has something
to do with TCP/IP buffering or polling.

Guess I'll have to ask a network admin to monitor this connection to
confirm or discard that theory.


Michael

On 9/5/07, Holger Krull [EMAIL PROTECTED] wrote:
  winLoadCursor - Windows requires 32x32 cursor
  but X requires 39x26


 That seems odd. I have never seen such a message. Does the working login get 
 the same message?
 Maybe try to start with -swcursor

--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-05 Thread Holger Krull
Mario Scheble schrieb:
 Hello.
 
 Please, I need some help with the following problem.
 
 My PC has Windows XP and is part of a WorkGroup with a Debian Linux
 network. I installed Cygwin, and XDMCP properly works when I login on a
 remote machine to ONE Linux account. But when I login to ANOTHER account
 with the same privileges, the connection is very slow.
 
 What could it be wrong with the second account?

Most likely this account is older and has some leftovers in its startup files.
I had similar problems with a kde update (sound daemon related)

Without knowing what is started when you login it is impossible to give further 
advice. 
Try a newly created account, if this has no problems, recreate the older ones.


 


--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-05 Thread Holger Krull
Michael Giroux schrieb:
 On 9/5/07, Holger Krull [EMAIL PROTECTED] wrote:
 Without knowing what is started when you login it is impossible to give
 further advice.
 
 Does stty have any effect?  If yes, what options should be applied?

Don't think so.

 As far as I can tell, my .bash_profile is not being executed when I
 login via xwin.
 Here is a PS to show what is running when I connect via telnet session.

That is not relevant, the question is what is started: Gnome, KDE, WindowMaker 
or something similar. 


 Here is the console output when I connect.  Does this show anything?
 
 winLoadCursor - Windows requires 32x32 cursor
 but X requires 39x26


That seems odd. I have never seen such a message. Does the working login get 
the same message?
Maybe try to start with -swcursor


--
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/



Xdmcp too slow with SOME Linux accounts.

2007-09-04 Thread Mario Scheble

Hello.

Please, I need some help with the following problem.

My PC has Windows XP and is part of a WorkGroup with a Debian Linux 
network. I installed Cygwin, and XDMCP properly works when I login on a 
remote machine to ONE Linux account. But when I login to ANOTHER account 
with the same privileges, the connection is very slow.


What could it be wrong with the second account?

I know nothing about Linux, and I'd appreciate your advice.

Thank you very much. Sincerely yours,



   Mario 
Scheble 



--
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: Xdmcp too slow with SOME Linux accounts.

2007-09-04 Thread Michael Giroux
I have a similar problem, but it is not limited to a specific account.
 In fact, it is fairly random.  Sometimes I get pretty good
performance, and then it just dies.

In my case, it seems to get pretty bad when I launch Eclipse, but I
have to admit that Eclipse is the only GUI app that I use, so it may
be gui apps in general.

What I see (reported in another message) is that mouse click and
keyboard seem to be very responsive, but mouse move is non-responsive.
 If I open a menu and move the mouse, the menu items are not
highlighted.  If I move the mouse several more times over the menu,
ultimately a menu item is highlighted.  Once it is highlighted, I can
click to select the item.

From a pretty uninformed perspective, it appears that mouse move
events are not being forwared from my server to the client, but I'm
not sure how to determine that.

I am pretty confident that the problem is limited to mouse move
events, and that keyboard and mouse click events are being forwarded
immediately.

I've seen nothing on my other post.

On 9/4/07, Mario Scheble [EMAIL PROTECTED] wrote:
 Hello.

 Please, I need some help with the following problem.

 My PC has Windows XP and is part of a WorkGroup with a Debian Linux
 network. I installed Cygwin, and XDMCP properly works when I login on a
 remote machine to ONE Linux account. But when I login to ANOTHER account
 with the same privileges, the connection is very slow.

 What could it be wrong with the second account?

 I know nothing about Linux, and I'd appreciate your advice.

 Thank you very much. Sincerely yours,



Mario
 Scheble


 --
 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/