public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: "Patrick Legault" <patrick@patrick-isp.com>
To: <cygwin-xfree@cygwin.com>
Subject: Re: 1.7.0(0.214/5/3): XWin.exe reset after remote login screen on solaris (CDE or Java desktop) WM_QUIT
Date: Fri, 16 Oct 2009 13:43:00 -0000	[thread overview]
Message-ID: <79D359731DF74046A5C7E1466E159BAE@Patrick3> (raw)
In-Reply-To: <4AD8660A.4010707@dronecode.org.uk>

[-- Attachment #1: Type: text/plain, Size: 3023 bytes --]

Hello
I enabled some extra session logging in my .dtprofile under solaris and I 
found an error.

I did the test with cygwin 1.5 and 1.7 so I could see the difference.
I included some log files.

when I tested with cygwin 1.5, I generated theses 2 log files: 
startlog-cygwin1.5.log and display_cygwin1.5.log
when I tested with cygwin 1.7, I generated theses 2 log files: 
startlog-cygwin1.7.log and display_cygwin1.7.log

The session worked using cygwin 1.5 but failed with 1.7.
we can clearly see the issue with the log file display_cygwin1.7.log
------------------------
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  143 (XINERAMA)
  Minor opcode of failed request:  2 (XINERAMAGetScreenCount)
  Resource id in failed request:  0x0
  Serial number of failed request:  248
  Current serial number in output stream:  248
------------------------
can I recompile xwin.exe and disable xinerama or is there a different way to 
do it?
if so, how would I fix this?

Thanks

--------------------------------------------------
From: "Jon TURNEY" <jon.turney@dronecode.org.uk>
Sent: Friday, October 16, 2009 8:24 AM
To: <cygwin-xfree@cygwin.com>
Cc: <patrick@patrick-isp.com>
Subject: Re: 1.7.0(0.214/5/3): XWin.exe reset after remote login screen on 
solaris (CDE or Java desktop) WM_QUIT

> On 14/10/2009 22:41, Patrick Legault wrote:
>> I get an error while I open a Solaris remote session via XDMCP
>> the system I am connecting work with version 1.5 of cygwin (vista x64)
>> but not the 1.7 (vista/server 2008 x64)
>>
>> I included the Xorg.log file, cygcheck.out and a basic description of my
>> system.
>> I also included a strace log in case it could help.
>>
>> I logged on the system using different type of sessions.
>> failsafe session worked.
>> CDE: failed. XWin started to logon, I could see the desktop for a few
>> seconds then, closed to reopen.
>> java desktop environment: Failed. XWin started to logon, I could see the
>> desktop for a few seconds then, closed to reopen.
>
> It's pretty likely that the CDE and JDE sessions are exiting because 
> something they are doing during initialization is returning an error 
> they've decided they can't ignore.
>
> The useful log in this case is almost certainly on the Solaris host.  I 
> don't know where the relevant log is, but you might start by looking in 
> /.dt/startlog.
>
>> uname -a:
>> CYGWIN_NT-6.0-WOW64 spatlegault2 1.7.0(0.214/5/3) 2009-10-03 14:33 i686
>> Cygwin
>> solaris computer I am connecting to:
>> SunOS zolla.somedomain.com 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
>>
>> if you need help or more information to debug this issue, I will be
>> happy to help you.
>> if you already have an idea on something I could try to fix the WM_QUIT,
>> just reply to this message.
>
> I have a Solaris 10 Update 7 (5/09) VM, and I'm able to start CDE or JDE 
> using XDMCP from Cygwin/X 1.6.5-1 under Cygwin 1.7 without problems.
>
> -- 
> Jon TURNEY
> Volunteer Cygwin/X X Server maintainer
> 

[-- Attachment #2: startlog-cygwin1.7.log --]
[-- Type: application/octet-stream, Size: 1233 bytes --]

cat startlog
--- Fri Oct 16 10:00:51 EDT 2009
--- /usr/dt/bin/Xsession starting...
--- starting /usr/dt/bin/dthello &
--- Xsession started by dtlogin
--- starting /usr/dt/bin/dtsession_res -load -system
--- sourcing /home2/qa/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0015.sun.env...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
--- starting /usr/dt/bin/dtsearchpath
--- starting /usr/dt/bin/dtappgather &
--- starting /usr/dt/bin/dsdm &
--- session log file is /dev/null
--- DTSOURCEPROFILE is 'true' (see /home2/qa/.dtprofile)
--- execing /usr/dt/bin/dtsession with a /bin/bash login shell ...
--- starting desktop on /dev/pts/2
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
You have mail.
/usr/dt/bin/ttsession[4986]: starting
X connection to spatlegault2:0.0 broken (explicit kill or server shutdown).
X connection to spatlegault2:0.0 broken (explicit kill or server shutdown).
X connection to spatlegault2:0.0 broken (explicit kill or server shutdown).
X connection to spatlegault2:0.0 broken (explicit kill or server shutdown).

[-- Attachment #3: startlog-cygwin1.5.log --]
[-- Type: application/octet-stream, Size: 929 bytes --]

cat startlog
--- Fri Oct 16 10:10:21 EDT 2009
--- /usr/dt/bin/Xsession starting...
--- starting /usr/dt/bin/dthello &
--- Xsession started by dtlogin
--- starting /usr/dt/bin/dtsession_res -load -system
--- sourcing /home2/qa/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0015.sun.env...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
--- starting /usr/dt/bin/dtsearchpath
--- starting /usr/dt/bin/dtappgather &
--- starting /usr/dt/bin/dsdm &
--- session log file is /dev/null
--- DTSOURCEPROFILE is 'true' (see /home2/qa/.dtprofile)
--- execing /usr/dt/bin/dtsession with a /bin/bash login shell ...
--- starting desktop on /dev/pts/2
Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
You have mail.
/usr/dt/bin/ttsession[5296]: starting

[-- Attachment #4: display_cygwin1.5.log --]
[-- Type: application/octet-stream, Size: 1130 bytes --]

Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion

[-- Attachment #5: display_cygwin-1.7.log --]
[-- Type: application/octet-stream, Size: 1440 bytes --]

Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*utf*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  143 (XINERAMA)
  Minor opcode of failed request:  2 (XINERAMAGetScreenCount)
  Resource id in failed request:  0x0
  Serial number of failed request:  248
  Current serial number in output stream:  248


[-- Attachment #6: Type: text/plain, Size: 223 bytes --]

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

  reply	other threads:[~2009-10-16 13:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-14 21:42 Patrick Legault
2009-10-16 12:24 ` Jon TURNEY
2009-10-16 13:43   ` Patrick Legault [this message]
2009-10-16 14:32     ` Jon TURNEY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=79D359731DF74046A5C7E1466E159BAE@Patrick3 \
    --to=patrick@patrick-isp.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).