<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">Package:X2Go Server
Version : 4.0.1.20
System : Ubuntu 17.04 Zesty Zapatus, Kernel 4.4.0-81-generic
Desktop: MATE 1.18.0
After Launching the Client, it shows a black Window, showing "Could not acquire name on session bus"
First I suggested to edit the file <span style="font-size:10.0pt;font-family:"Liberation Mono"">/etc/systemd/system/display-manager.service - but that is wrong,
then the desktop on the machine will note come up :
***** WRONG : </span><span style="font-size:10.0pt;font-family:"Liberation Mono"">/etc/systemd/system/display-manager.service</span></pre>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Liberation Mono"">[Service]<br>
unset SESSION_MANAGER<br>
unset DBUS_SESSION_BUS_ADDRESS<br>
.....<br>
</span></p>
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span style="font-size:10.0pt;font-family:"Liberation Mono"">***** /WRONG - Desktop Session will not boot this way (remote desktop is working)
***** /etc/x2go/Xsession.d/75dbus_dbus-launch
# $Id:$
# In order to activate the session bus at X session launch
# simply place use-session-dbus into your /etc/X11/Xsession.options file
#
STARTDBUS=
DBUSLAUNCH=/usr/bin/dbus-launch
if has_option use-session-dbus; then
</span><span style="font-size:10.0pt;font-family:"Liberation Mono""><span style="font-size:10.0pt;font-family:"Liberation Mono""> # changed rn am 26.06.2017 - $DBUS_SESSION_BUS_ADDRESS is not zero length, but : "unix:path=/run/user/1000/bus"</span>
# if [ -z "$DBUS_SESSION_BUS_ADDRESS" ] && [ -x "$DBUSLAUNCH" ]; then # old code - STARTDBUS will ne not set
if [ -x "$DBUSLAUNCH" ]; then # new code - STARTDBUS will be set to yes
STARTDBUS=yes
fi
fi
if [ -n "$STARTDBUS" ]; then
# Note that anything that is D-Bus-activated between here and
# 95dbus_update-activation-env will not have the complete environment
# set up by Xsession.d, unless the Xsession.d snippet that sets the
# environment variable also calls dbus-update-activation-environment.
# See <a class="moz-txt-link-rfc2396E" href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815503"><https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815503></a>
eval $($DBUSLAUNCH --exit-with-session --sh-syntax)
fi
</span></pre>
<br>
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><span style="font-size:10.0pt;font-family:"Liberation Mono"">***** /etc/x2go/Xsession.d/75dbus_dbus-launch - now its working as expected on my machine ...
yours sincerely
Ing. Robert Nowotny
Rotek GmbH
</span></pre>
<span style="font-size:10.0pt;font-family:"Liberation
Mono""></span>
</body>
</html>