X2Go Bug report logs - #77
X2Go Client corrupts Cygwin

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Thu, 6 Dec 2012 08:59:45 UTC

Severity: important

Found in version 3.99.2.2-win32

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#77; Package x2goclient. (Thu, 06 Dec 2012 08:59:45 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Thu, 06 Dec 2012 08:59:45 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Cc: Anders.Hallstrom@delaval.com
Subject: Fwd: Bug report, unknown package: X2Go corrupts CygWin
Date: Thu, 06 Dec 2012 09:58:21 +0100
[Message part 1 (text/plain, inline)]
Package: x2goclient
Version: 3.99.2.2-win32
Severity: normal

forwarding this mail to X2Go BTS... found in my git-admin@x2go.org mails...

@Anders: please use a body header for bug mails like the one above...

Thanks,
Mike

----- Weitergeleitete Nachricht von Anders.Hallstrom@delaval.com -----
     Datum: Wed, 21 Nov 2012 14:54:31 +0100
       Von: "Hallstrom, Anders" <Anders.Hallstrom@delaval.com>
   Betreff: Bug report, unknown package: X2Go corrupts CygWin
        An: "git-admin@x2go.org" <git-admin@x2go.org>

Hello.

I am following the following advice from “How to report a Bug in X2Go”  
(http://bugs.x2go.org/Reporting.html):

"If you can't seem to determine which package contains the problem,  
please send e-mail to the git-admin@x2go.org asking for advice."

Since I installed X2Go I have experienced that CygWin is rendered unusable.

System: Windows XP Professional version 2002 SP 3

X2Go: X2Go-client V. 3.99.2.2 (Qt - 4.8.1)
(I had to type that! Why can't I select&copy from the "about" window??)

CygWin: CYGWIN_NT-5.1
(Yes, that's really old, but "so what"...)

What happens is that directories from the X2Go installation are
suddenly mounted as /etc and /bin in CygWin.
Since fundamental commands such as "/bin/ls" are thereby missing,  
nothing works.

To repair, I do the following:
- Start a Windows command prompt (the cygwin path in Windows is still  
working).
- umount /etc
- umount /bin
Now CygWin is working normally.

After this fix, I can still use X2Go without problems and without
the mounts coming back, so I just cannot see why the mounts were
necessary in the first place.

Sometimes, however, the harmful mounts do come back.
I cannot pinpoint exactly when this happens,
but at least it is not every time I restart the computer and not every  
time I run X2Go.

Is this known?
Could some developer explain what is happening?

Best Regards
Anders Hallström



"This is an e-mail from a DeLaval company. This e-mail is confidential
and may also be privileged. Please delete the email and notify us
immediately if you are not the intended recipient. DeLaval does not
enter into contracts or contractual obligations via electronic mail,
unless otherwise agreed in writing between parties concerned.
Thank you."


----- Ende der weitergeleiteten Nachricht -----


-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#77; Package x2goclient. (Thu, 06 Dec 2012 10:48:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <newsgroups.mail2@stefanbaur.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Thu, 06 Dec 2012 10:48:02 GMT) (full text, mbox, link).


Message #10 received at 77@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 77@bugs.x2go.org, x2go-dev@lists.berlios.de, Anders.Hallstrom@delaval.com
Subject: Re: [X2Go-Dev] Bug#77: Fwd: Bug report, unknown package: X2Go corrupts CygWin
Date: Thu, 06 Dec 2012 11:34:05 +0100
Am 06.12.2012 09:58, schrieb Anders Hallstrom:
> X2Go: X2Go-client V. 3.99.2.2 (Qt - 4.8.1)
> (I had to type that! Why can't I select&copy from the "about" window??)

You're doing it wrong.

Press Control+A, followed by Control+C, and the entire text is in your 
clipboard (this is the standard behavior of *every* sane Windows 
application, nothing X2Go-specific):

---------------------------
Über X2GoClient
---------------------------
<b>X2GoClient V. 3.99.3.0 </b >(Qt - 4.8.1)</b><br> (C. 2006-2012 
<b>obviously nice</b>: Oleksandr Shneyder, Heinz-Markus 
Graesing)<br><br>Ein Client für den Zugriff auf die serverbasierende 
Anwendungsumgebung X2Go. Mit Hilfe dieser Anwendung können Sie Sitzungen 
eines X2GoServers starten, stoppen, laufende Sitzungen fortführen oder 
anhalten und verschiedene Sitzungskonfigurationen verwalten. Die 
Authentifizierung kann über LDAP erfolgen und das Programm kann im 
Vollbildmodus (als Ersatz für XDM) gestartet werden. Weitere 
Informationen erhalten SIe auf x2go.org.
---------------------------
OK
---------------------------


Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#77; Package x2goclient. (Thu, 06 Dec 2012 11:33:01 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <newsgroups.mail2@stefanbaur.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Thu, 06 Dec 2012 11:33:02 GMT) (full text, mbox, link).


Message #15 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Stefan Baur <newsgroups.mail2@stefanbaur.de>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 77@bugs.x2go.org, x2go-dev@lists.berlios.de
Cc: submit@bugs.x2go.org, Anders.Hallstrom@delaval.com
Subject: Re: [X2Go-Dev] Bug#77: Fwd: Bug report, unknown package: X2Go corrupts CygWin
Date: Thu, 06 Dec 2012 12:29:39 +0100
Am 06.12.2012 09:58, schrieb Anders Hallström:
[...]

> What happens is that directories from the X2Go installation are
> suddenly mounted as /etc and /bin in CygWin.
> Since fundamental commands such as "/bin/ls" are thereby missing,
> nothing works.

[...]

> After this fix, I can still use X2Go without problems and without
> the mounts coming back, so I just cannot see why the mounts were
> necessary in the first place.
>
> Sometimes, however, the harmful mounts do come back.
> I cannot pinpoint exactly when this happens,
> but at least it is not every time I restart the computer and not every
> time I run X2Go.
>
> Is this known?
> Could some developer explain what is happening?

Well, X2Go uses some Cygwin code for its Windows client.
I've seen weird things happen before when two applications brought their 
own set of Cygwin libraries and they belonged to different versions, 
maybe this is a similar issue.
Probably something like whoever loads cygwin1.dll first "wins", the 
other application is blocked from loading its own version of cygwin1.dll 
and just has to make do with whatever cygwin1.dll is already in memory. 
 After that, it's either an application from the old Cygwin failing 
because the newer cygwin1.dll is doing something unexpected, or it's a 
new application failing because the old cygwin1.dll doesn't offer the 
function that it is expecting.

So, to debug this issue, it would be interesting to see what happens 
when you first run X2GoClient and keep it in the background, then try to 
rund your old Cygwin applications, and what happens when you run your 
old applications first (keeping at least one window of them open) and 
start X2GoClient afterwards.
Also, be aware that it is wrong to assume that all X2Go tasks have been 
terminated just because you don't see an X2Go icon in your task bar. 
Running task manager after closing X2GoClient, you may still encounter a 
running pulseaudio, sshd and/or vcxsrv on your Windows client.
If you see these, terminete them from within task manager before running 
your old cygwin applications and see if that helps.
I'm not suggesting that this is the solution to your problem, but I am 
sure the results will be helpful for the devs to pinpoint the issue.

-Stefan

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#77; Package x2goclient. (Thu, 06 Dec 2012 11:33:02 GMT) (full text, mbox, link).


Acknowledgement sent to Stefan Baur <newsgroups.mail2@stefanbaur.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Thu, 06 Dec 2012 11:33:02 GMT) (full text, mbox, link).


Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#77; Package x2goclient. (Mon, 17 Dec 2012 14:03:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Hallstrom, Anders" <Anders.Hallstrom@delaval.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Mon, 17 Dec 2012 14:03:02 GMT) (full text, mbox, link).


Message #25 received at 77@bugs.x2go.org (full text, mbox, reply):

From: "Hallstrom, Anders" <Anders.Hallstrom@delaval.com>
To: "77@bugs.x2go.org" <77@bugs.x2go.org>
Cc: Stefan Baur <newsgroups.mail2@stefanbaur.de>, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Subject: RE: [X2Go-Dev] Bug#77: Fwd: Bug report, unknown package: X2Go corrupts CygWin
Date: Mon, 17 Dec 2012 14:51:56 +0100

[Note that I removed dev and submit from the send list and just kept 77@bugs, for right or wrong...]

Thank you Stefan for your valuable advice, and I am sorry about the delay.

I can now state the following.

State 0: No cygwin or x2go running, presumably no cygwin1.dll loaded/active.

State 1: cygwin running, cmd.exe -> bash.exe -> cygwin1.dll version 1001.8.0.0 (Wed Jan 31 16:09:39 2001). No x2go running.

State 2: x2go running, x2goclient.exe -> sshd.exe -> cygwin1.dll version 1005.25.0.0 (Thu Jun 12 19:35:47 2008). No cygwin running.

State 3: Both cygwin and x2go running.
Process Viewer still reports
cmd.exe -> bash.exe -> cygwin1.dll version 1001.8.0.0
x2goclient.exe -> sshd.exe -> cygwin1.dll version 1005.25.0.0
(So it seems different versions can be active simultaneously...)

Repeatably, when I go from state 0 to 2,
x2goclient causes its directories to be mounted in the cygwin environment;
this remains in effect (stored in registry) until it is manually unmounted using umount in cmd.exe.
Cygwin (bash.exe) is now crippled if it is started because fundamental commands are not found.

When I go from state 0 to 1 and then to 3, this does not happen,
and as far as I can see, x2go works fine anyway.
So I use this strategy as workaround.

I hope this was helpful.

Regards,
Anders

> -----Original Message-----
> From: Stefan Baur [mailto:newsgroups.mail2@stefanbaur.de]
> Sent: den 6 december 2012 12:30
> To: Mike Gabriel; 77@bugs.x2go.org; x2go-dev@lists.berlios.de
> Cc: submit@bugs.x2go.org; Hallstrom, Anders
> Subject: Re: [X2Go-Dev] Bug#77: Fwd: Bug report, unknown package: X2Go
> corrupts CygWin
>
> Am 06.12.2012 09:58, schrieb Anders Hallström:
> [...]
>
> > What happens is that directories from the X2Go installation are
> > suddenly mounted as /etc and /bin in CygWin.
> > Since fundamental commands such as "/bin/ls" are thereby missing,
> > nothing works.
>
> [...]
>
> > After this fix, I can still use X2Go without problems and without
> > the mounts coming back, so I just cannot see why the mounts were
> > necessary in the first place.
> >
> > Sometimes, however, the harmful mounts do come back.
> > I cannot pinpoint exactly when this happens,
> > but at least it is not every time I restart the computer and not every
> > time I run X2Go.
> >
> > Is this known?
> > Could some developer explain what is happening?
>
> Well, X2Go uses some Cygwin code for its Windows client.
> I've seen weird things happen before when two applications brought their
> own set of Cygwin libraries and they belonged to different versions,
> maybe this is a similar issue.
> Probably something like whoever loads cygwin1.dll first "wins", the
> other application is blocked from loading its own version of cygwin1.dll
> and just has to make do with whatever cygwin1.dll is already in memory.
>   After that, it's either an application from the old Cygwin failing
> because the newer cygwin1.dll is doing something unexpected, or it's a
> new application failing because the old cygwin1.dll doesn't offer the
> function that it is expecting.
>
> So, to debug this issue, it would be interesting to see what happens
> when you first run X2GoClient and keep it in the background, then try to
> rund your old Cygwin applications, and what happens when you run your
> old applications first (keeping at least one window of them open) and
> start X2GoClient afterwards.
> Also, be aware that it is wrong to assume that all X2Go tasks have been
> terminated just because you don't see an X2Go icon in your task bar.
> Running task manager after closing X2GoClient, you may still encounter a
> running pulseaudio, sshd and/or vcxsrv on your Windows client.
> If you see these, terminete them from within task manager before running
> your old cygwin applications and see if that helps.
> I'm not suggesting that this is the solution to your problem, but I am
> sure the results will be helpful for the devs to pinpoint the issue.
>
> -Stefan

"This is an e-mail from a DeLaval company. This e-mail is confidential
and may also be privileged. Please delete the email and notify us
immediately if you are not the intended recipient. DeLaval does not
enter into contracts or contractual obligations via electronic mail,
unless otherwise agreed in writing between parties concerned.
Thank you."

Changed Bug title to 'X2Go Client corrupts Cygwin' from 'Fwd: Bug report, unknown package: X2Go corrupts CygWin' Request was from mike@das-netzwerkteam.de (Mike Gabriel) to control@bugs.x2go.org. (Mon, 15 Apr 2013 21:42:40 GMT) (full text, mbox, link).


Severity set to 'important' from 'normal' Request was from mike@das-netzwerkteam.de (Mike Gabriel) to control@bugs.x2go.org. (Mon, 15 Apr 2013 21:42:41 GMT) (full text, mbox, link).


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#77; Package x2goclient. (Thu, 29 Jun 2017 23:00:02 GMT) (full text, mbox, link).


Acknowledgement sent to ellerbef@xldz4.dailyrazor.com:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 29 Jun 2017 23:00:02 GMT) (full text, mbox, link).


Message #34 received at 77@bugs.x2go.org (full text, mbox, reply):

From: ellerbef@xldz4.dailyrazor.com
To: 77@bugs.x2go.org
Subject: Parcel 002524586 delivery notification, UPS
Date: Thu, 29 Jun 2017 17:14:45 -0500
[Message part 1 (text/plain, inline)]
Dear Customer,

This is to confirm that your item has been shipped at June 29.

Please check delivery label attached!

Thank you for your time,
 ,
UPS Chief Office Manager.

[UPS-Delivery-002524586.zip (application/zip, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#77; Package x2goclient. (Mon, 03 Jul 2017 20:35:01 GMT) (full text, mbox, link).


Acknowledgement sent to webmaster@whfarm2.com:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 03 Jul 2017 20:35:02 GMT) (full text, mbox, link).


Message #39 received at 77@bugs.x2go.org (full text, mbox, reply):

From: webmaster@whfarm2.com
To: 77@bugs.x2go.org
Subject: Unable to deliver your item, #09872752
Date: Mon, 3 Jul 2017 13:34:29 -0700
[Message part 1 (text/plain, inline)]
Dear Customer,

UPS courier was unable to contact you for your parcel delivery.

Review the document that is attached to this e-mail!

Thanks,
 ,
UPS Delivery Manager.

[UPS-Parcel-ID-09872752.zip (application/zip, attachment)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#77; Package x2goclient. (Mon, 31 Jul 2017 01:10:02 GMT) (full text, mbox, link).


Acknowledgement sent to smmp13@gator4172.hostgator.com:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 31 Jul 2017 01:10:03 GMT) (full text, mbox, link).


Message #44 received at 77@bugs.x2go.org (full text, mbox, reply):

From: smmp13@gator4172.hostgator.com
To: 77@bugs.x2go.org
Subject: Parcel ID004691945 delivery problems, please review
Date: Sun, 30 Jul 2017 19:23:21 -0500
[Message part 1 (text/plain, inline)]
Dear Customer,

UPS courier was unable to contact you for your parcel delivery.

Please review delivery label in attachment!

With many thanks,
Ricky Woods,
UPS Support Manager.

[UPS-Delivery-004691945.zip (application/zip, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 13:40:42 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.