public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin X applications do not launch
@ 2018-07-27 16:31 Jones, Michael
  2018-07-27 17:49 ` Marco Atzeri
  0 siblings, 1 reply; 5+ messages in thread
From: Jones, Michael @ 2018-07-27 16:31 UTC (permalink / raw)
  To: cygwin

I have a fresh install of Cygwin, with Cygwin X.
The problem I have is that X applications do not seem to run.

If I try to run gedit or emacs, for example, the applications seem to just return 0 immediately:
----------------------------
me@mycomputer ~
$ gedit &
[1] 10244

me@mycomputer ~
$ emacs &
[2] 10976
[1]   Done                    gedit
----------------------------

Similarly, if I try to start either of these applications from the X Applications Menu on the taskbar, they don't launch.
The Cygwin log file shows the following, indicating that the application started, and then exited straight away:

----------------------------
(xwin-xdg-menu:13896): GVFS-WARNING **: Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.Daemon: Timeout was reached (g-io-error-quark, 24)

executing 'xterm -title '/home/me/.xsession-errors' -e less +F /home/me/.xsession-errors', pid 8080
(pid 8080 stderr) xterm: cannot load font "-Misc-Fixed-bold-R-*-*-13-120-75-75-C-120-ISO10646-1"
executing 'gapplication launch org.gnome.gedit', pid 9288
pid 9288 exited with status 0
----------------------------

Any ideas? It's driving me nuts! I've tried a fresh install of Cygwin, with the same results.

Many thanks,
Mike

________________________________________
Roke Manor Research Limited, Romsey, Hampshire, SO51 0ZN, United Kingdom.Part of the Chemring Group. 
Registered in England & Wales. Registered No: 00267550
http://www.roke.co.uk

Please update your address book. Roke is currently transitioning to its original brand and will no longer 
be branded under Chemring Technology Solutions. Email addresses of Roke staff have therefore been changed 
from firstname.surname@chemringts.com to firstname.surname@roke.co.uk – please use this updated format 
with immediate effect.

________________________________________
The information contained in this e-mail and any attachments is proprietary to Roke Manor Research Limited and 
must not be passed to any third party without permission. This communication is for information only and shall 
not create or change any contractual relationship.
________________________________________

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin X applications do not launch
  2018-07-27 16:31 Cygwin X applications do not launch Jones, Michael
@ 2018-07-27 17:49 ` Marco Atzeri
       [not found]   ` <65A79C1241011241A6BF0DE84A2B83F80284285EAA@UM-EXMBX01.comm.ad.roke.co.uk>
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2018-07-27 17:49 UTC (permalink / raw)
  To: cygwin

Am 27.07.2018 um 15:38 schrieb Jones, Michael:
> I have a fresh install of Cygwin, with Cygwin X.
> The problem I have is that X applications do not seem to run.

does xterm run ?

> If I try to run gedit or emacs, for example, the applications seem to just return 0 immediately:
> ----------------------------
> me@mycomputer ~
> $ gedit &
> [1] 10244

if xterm run, can you try

   strace -o gedit.strace /usr/bin/gedit

and see if a there is any pop up error ?


Please follow
> Problem reports:       http://cygwin.com/problems.html
and attach the cygcheck.out

Rgards
Marco

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin X applications do not launch
       [not found]   ` <65A79C1241011241A6BF0DE84A2B83F80284285EAA@UM-EXMBX01.comm.ad.roke.co.uk>
@ 2018-07-30 15:11     ` Marco Atzeri
       [not found]       ` <65A79C1241011241A6BF0DE84A2B83F8028428804E@UM-EXMBX01.comm.ad.roke.co.uk>
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2018-07-30 15:11 UTC (permalink / raw)
  To: Jones, Michael, cygwin

Am 30.07.2018 um 10:23 schrieb Jones, Michael:
> Yes, xterm, uxterm and Cygwin terminal all run ok.
>
> I don't see any output at all from "strace -o gedit.strace /usr/bin/gedit":

I assume you run it from xterm and not mintty, correct ?

Can you send me the gedit.strace by private mail ?

> ----------
> me@mycomputer <mailto:me@mycomputer> ~
> $ strace -o gedit.strace /usr/bin/gedit
>
> me@mycomputer <mailto:me@mycomputer> ~
> $
> ----------
>
> I have attached the output from cygcheck (note that I have edited the
> file to remove project and server names, replaced by "xxx").

fine. I have not seen anything strange on it.
What AntiVirus are you running ?

>
> Regards,
> Mike
>


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin X applications do not launch
       [not found]       ` <65A79C1241011241A6BF0DE84A2B83F8028428804E@UM-EXMBX01.comm.ad.roke.co.uk>
@ 2018-07-30 15:33         ` Marco Atzeri
  2018-07-30 16:07           ` Jones, Michael
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2018-07-30 15:33 UTC (permalink / raw)
  To: Jones, Michael, cygwin

Am 30.07.2018 um 12:26 schrieb Jones, Michael:
> Hi Marco,
>
> Attached is the strace output. This was run from xterm.
>
> My anti virus is Trend Micro OfficeScan.
>
> Regards,
> Mike
>

Hi Mike,

I think the AV is interfering.
A lot of Windows DLL's are loaded at very low addresses:

--- Process 10964 created
--- Process 10964 loaded C:\Windows\System32\ntdll.dll at 0000000077860000
--- Process 10964 loaded C:\Windows\System32\kernel32.dll at
0000000077740000
--- Process 10964 loaded C:\Windows\System32\KernelBase.dll at
000007fefd7e0000
--- Process 10964 loaded
C:\Windows\System32\tmumh\20019\AddOn\6.80.0.1007\TmUmEvt64.dll at
000007fefc290
000
--- Process 10964 loaded C:\Windows\System32\psapi.dll at 0000000077a00000
[cut...]
--- Process 10964 loaded C:\Windows\System32\rpcrt4.dll at 000007fefdfc0000
--- Process 10964 loaded
C:\Windows\System32\tmumh\20019\TmMon\1.6.0.1195\tmmon64.dll at
0000000075070000
--- Process 10964 loaded C:\cygwin64\bin\cygwin1.dll at 0000000180040000


for ntdll.dll for example:
0000000077860000 your system
00007ffd81700000 my system

and the exception at the end of strace is in that area
00000000779332ca

   160  398012 [main] gedit 10964 sigprocmask: 0 = sigprocmask (0, 0x0,
0x6000A2AA0)
--- Process 10964 thread 8560 created
--- Process 10964, exception 80000001 at 00000000779332ca
--- Process 10964 thread 12024 exited with status 0x80000001

can you try without with AV or excluding the "C:\cygwin64" directory ?

Regards
Marco


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Cygwin X applications do not launch
  2018-07-30 15:33         ` Marco Atzeri
@ 2018-07-30 16:07           ` Jones, Michael
  0 siblings, 0 replies; 5+ messages in thread
From: Jones, Michael @ 2018-07-30 16:07 UTC (permalink / raw)
  To: Marco Atzeri, cygwin

Hi Marco,

You are correct!
With AV disabled, everything seems to work fine.

I now need to work with our IT guys to figure out how to configure the AV so that it does not interfere.

Many thanks for your help diagnosing the cause of this problem!

Regards,
Mike

-----Original Message-----
From: Marco Atzeri [mailto:marco.atzeri@gmail.com] 
Sent: 30 July 2018 11:54
To: Jones, Michael; cygwin@cygwin.com
Subject: Re: Cygwin X applications do not launch

Am 30.07.2018 um 12:26 schrieb Jones, Michael:
> Hi Marco,
> 
> Attached is the strace output. This was run from xterm.
> 
> My anti virus is Trend Micro OfficeScan.
> 
> Regards,
> Mike
> 

Hi Mike,

I think the AV is interfering.
A lot of Windows DLL's are loaded at very low addresses:

--- Process 10964 created
--- Process 10964 loaded C:\Windows\System32\ntdll.dll at 0000000077860000
--- Process 10964 loaded C:\Windows\System32\kernel32.dll at 
0000000077740000
--- Process 10964 loaded C:\Windows\System32\KernelBase.dll at 
000007fefd7e0000
--- Process 10964 loaded 
C:\Windows\System32\tmumh\20019\AddOn\6.80.0.1007\TmUmEvt64.dll at 
000007fefc290
000
--- Process 10964 loaded C:\Windows\System32\psapi.dll at 0000000077a00000
[cut...]
--- Process 10964 loaded C:\Windows\System32\rpcrt4.dll at 000007fefdfc0000
--- Process 10964 loaded 
C:\Windows\System32\tmumh\20019\TmMon\1.6.0.1195\tmmon64.dll at 
0000000075070000
--- Process 10964 loaded C:\cygwin64\bin\cygwin1.dll at 0000000180040000


for ntdll.dll for example:
0000000077860000 your system
00007ffd81700000 my system

and the exception at the end of strace is in that area
00000000779332ca

   160  398012 [main] gedit 10964 sigprocmask: 0 = sigprocmask (0, 0x0, 
0x6000A2AA0)
--- Process 10964 thread 8560 created
--- Process 10964, exception 80000001 at 00000000779332ca
--- Process 10964 thread 12024 exited with status 0x80000001

can you try without with AV or excluding the "C:\cygwin64" directory ?

Regards
Marco


---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

________________________________________
Roke Manor Research Limited, Romsey, Hampshire, SO51 0ZN, United Kingdom.Part of the Chemring Group. 
Registered in England & Wales. Registered No: 00267550
http://www.roke.co.uk

Please update your address book. Roke is currently transitioning to its original brand and will no longer 
be branded under Chemring Technology Solutions. Email addresses of Roke staff have therefore been changed 
from firstname.surname@chemringts.com to firstname.surname@roke.co.uk – please use this updated format 
with immediate effect.

________________________________________
The information contained in this e-mail and any attachments is proprietary to Roke Manor Research Limited and 
must not be passed to any third party without permission. This communication is for information only and shall 
not create or change any contractual relationship.
________________________________________

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-07-30 15:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-27 16:31 Cygwin X applications do not launch Jones, Michael
2018-07-27 17:49 ` Marco Atzeri
     [not found]   ` <65A79C1241011241A6BF0DE84A2B83F80284285EAA@UM-EXMBX01.comm.ad.roke.co.uk>
2018-07-30 15:11     ` Marco Atzeri
     [not found]       ` <65A79C1241011241A6BF0DE84A2B83F8028428804E@UM-EXMBX01.comm.ad.roke.co.uk>
2018-07-30 15:33         ` Marco Atzeri
2018-07-30 16:07           ` Jones, Michael

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).