X Server cycling when trying to connect to gdm/dtlogin.

2006-10-03 Thread Ray Van Dolson
I'm trying to use Cygwin/X to connect to remote machines' gdm or dtlogin
session managers.

If I run:

  XWin.exe -query hostname

I get the session login screen, can enter in my username and password and see
the desktop clear and appear to begin loading.  Then all of the sudden the X
window quits and restarts back at the login screen again.

This happens with both Solaris 10 dtlogin sessions and RH gdm sessions.  On
RH, if I choose failsafe (just an xterm with no WM), the login succeeds and
I get a single xterm.

Thought maybe this was a font issue, so I used the -fp tcp/hostname:7100 on
the command-line (yes, also modified xfs to accept tcp connections ...) but
the same thing continues to happen.

The XWin.log file doesn't show any errors that I can use to troubleshoot this,
and I don't see anything in the logs on the remote systems either.

Any hunches as to what the problem is?

Ray

(PS: I did add -logverbose 255 as well, but got no additional information).

--
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: 1.5.21: startxwin.sh works, startxwin.bat does not work

2006-10-03 Thread Scott Fordin

René Berber wrote:

Scott Fordin wrote: [snip]

Strange thing though is that it does work on another machine.


Very strange, the differences you sent don't show an invalid script
at all.  One of the 2 files has \r\n endings (that's the reason for
the first 2 differences) but as long as they are being executed by
command.com it doesn't matter.


Thanks again, René. I found the solution to the startxserver.bat
problem! Using one of your clues, I discovered that the Singular
post-install script did not update my PATH correctly. I fixed the
PATH to c:\cygwin\bin and c:\cygwin\X11R6\bin, and lo, the X
startup script worked.


You can create a shortcut to startx.sh and then edit its Properties
so the target ends up like: C:\cygwin\bin\run.exe -p /usr/X11R6/bin/
bash --login -c startx 
[Ref:http://permalink.gmane.org/gmane.os.cygwin.xfree/16545]


Excellent. This is just what I was looking for.


I use a shortcut to start X Windows only (no xterm):

C:\cygwin\bin\run.exe -p /usr/X11R6/bin XWin -multiwindow -clipboard
-silent-dup-error -dpi 100


Very nice. Thanks again René. I really appreciate your thoughtful
responses and the way you stuck with the problem.

Best regards,

Scott


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