Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 524350

Summary: net-misc/x2goserver-4.0.1.16 - /etc/x2go/Xsession should call "set +e/-e" around source xinirtc.d/*
Product: Gentoo Linux Reporter: Bernd Feige <Bernd.Feige>
Component: [OLD] ServerAssignee: Gentoo NX Server project <nx>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=632
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to /etc/x2go/Xsession

Description Bernd Feige 2014-10-03 08:54:02 UTC
Hello,

x2go connections to the machine stopped coming up.
Reason:
Sourcing the contents of /etc/x2go/xinitrc.d (symlinked to /etc/X11/xinit/xinitrc.d) without "set +e" and "set -e" around the source causes any command with non-zero exit status to abort the operation - in my case `which keychain` in /etc/X11/xinit/xinitrc.d/49-keychain (current gnome-base/gdm-3.12.2-r1).

Patch to /etc/x2go/Xsession is attached.

Reproducible: Always
Comment 1 Bernd Feige 2014-10-03 08:55:23 UTC
Created attachment 385982 [details, diff]
Patch to /etc/x2go/Xsession
Comment 2 Bernard Cafarelli gentoo-dev 2014-10-23 08:34:48 UTC
Thanks for the report, and taking this upstream! Until they release a new version, I added the patch to 4.0.1.18-r1 in tree