[X2Go-Commits] [x2goserver] 01/01: Fix finding upstart-udev-bridge for gnome-flashback on Ubuntu 15.04+

git-admin at x2go.org git-admin at x2go.org
Sat Apr 29 12:58:29 CEST 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch feature/gnome-flashback
in repository x2goserver.

commit 434f5386eef2ae4d1ef47d18dbe1b3358e2432be
Author: Mike DePaulo <mikedep333 at gmail.com>
Date:   Sat Apr 29 06:59:01 2017 -0400

    Fix finding upstart-udev-bridge for gnome-flashback on Ubuntu 15.04+
---
 x2goserver/bin/x2goruncommand | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/x2goserver/bin/x2goruncommand b/x2goserver/bin/x2goruncommand
index 1f0a1ed..8357210 100755
--- a/x2goserver/bin/x2goruncommand
+++ b/x2goserver/bin/x2goruncommand
@@ -157,7 +157,12 @@ if [ "$cmd" == "GNOME" ] || [ "$cmd" == "gnome-session" ]; then
 		else
 			export GTK_MODULES="$GTK_MODULES:unity-gtk-module"
 		fi
+		# workaround to find /sbin/upstart-udev-bridge"
+		# FIXME: Ubuntu's default PATH is not set correctly on 16.04,
+		# and probably other releases.
+		export PATH="${PATH}:/sbin"
 		export XDG_SESSION_DESKTOP="$DESKTOP_SESSION"
+		# Yes, "Unity" is in the actual string. Observed on Ubuntu 16.04
 		export XDG_CURRENT_DESKTOP="GNOME-Flashback:Unity"
 		args=" --session=$DESKTOP_SESSION --disable-acceleration-check"
 	elif [ "$DISTRIB_ID" == "Ubuntu" ] && [ "$(echo "$DISTRIB_RELEASE = 14.04" | bc)" == "1" -o  "$(echo "$DISTRIB_RELEASE = 14.10" | bc)" == "1" ]; then

--
Alioth's /srv/git/code.x2go.org/x2goserver.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goserver.git


More information about the x2go-commits mailing list