Bug 1158030 - On login to to desktop session immediately terminates the session
Summary: On login to to desktop session immediately terminates the session
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: x2goserver
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-28 11:17 UTC by Martin Steigerwald
Modified: 2014-11-14 20:59 UTC (History)
2 users (show)

Fixed In Version: x2goserver-4.0.1.18-3.el7
Clone Of:
Environment:
Last Closed: 2014-11-14 20:23:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Steigerwald 2014-10-28 11:17:42 UTC
Description of problem:

Since upgrade of X2go packages today I cannot login to X2go KDE session. 
X2goclient tries to setup up the session, apparently succeeds and then 
immediately the session in terminated again.


Version-Release number of selected component (if applicable):

x2goagent-3.5.0.27-1.el7.x86_64
x2goserver-printing-4.0.1.18-1.el7.x86_64
x2goserver-xsession-4.0.1.18-1.el7.x86_64
x2goserver-4.0.1.18-1.el7.x86_64
x2goclient-4.0.2.1-1.el7.x86_64



How reproducible:

Always


Steps to Reproduce:
1. Use aforementioned packages.
2. Use x2goclient to login


Actual results:
It connects, sets up the session and then disconnects immediately. The 
X2go session window appears briefly.



X2goclient command line output:

ms@mango:~> LANG=C x2goclient
x2go-INFO-1> "Starting x2goclient..."
x2go-WARNING-1> "Can't load translator: :/x2goclient_c"
x2go-WARNING-2> "Can't load translator: :/qt_C"
x2go-INFO-3> "Started  x2goclient."
x2go-INFO-8> "Starting connection to server: 
lintraincentos7.lab.teamix.net:22"
x2go-INFO-8> "Starting connection to server: 
lintraincentos7.lab.teamix.net:22"
x2go-INFO-8> "Starting connection to server: 
lintraincentos7.lab.teamix.net:22"
x2go-INFO-6> "Closing x2goclient..."
x2go-INFO-7> "Closed  x2goclient."

X2goclient window log:

NXPROXY - Version 3.5.0

Copyright (C) 2001, 2010 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Proxy running in client mode with pid '28775'.
Session: Starting session at 'Tue Oct 28 12:02:09 2014'.
Info: Using abstract X11 socket in kernel namespace for accessing 
DISPLAY=:0.
Info: Connecting to remote host 'localhost:31048'.
Info: Connection to remote proxy 'localhost:31048' established.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent 
session.
Info: Using LAN link parameters 1536/24/1/0.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_24'.
Info: Not using NX delta compression.
Info: Not using ZLIB data compression.
Info: Not using ZLIB stream compression.
Info: Not using a persistent cache.
Info: Forwarding X11 connections to display ':0'.
Session: Session started at 'Tue Oct 28 12:02:09 2014'.
Info: Established X server connection.
Info: Using shared memory parameters 0/0K.

and then:

Session: Terminating session at 'Tue Oct 28 12:01:45 2014'.
Session: Session terminated at 'Tue Oct 28 12:01:45 2014'.

(timestampts are before, but it is difficult to cut and paste both in one 
go)




x2goserver log with debug loglevel:

Oct 28 12:04:59 lintraincentos7 systemd: Starting Session 42 of user 
someuser.
Oct 28 12:04:59 lintraincentos7 systemd: Started Session 42 of user 
someuser.
Oct 28 12:04:59 lintraincentos7 systemd-logind: New session 42 of user 
someuser.
Oct 28 12:04:59 lintraincentos7 /usr/bin/x2gostartagent: x2gostartagent 
called with options: 800x600 lan 16m-jpeg-9 unix-kde-depth_24 us auto 1 D 
KDE both
Oct 28 12:05:00 lintraincentos7 /usr/bin/x2gosessionlimit[28986]: 
x2gosessionlimit has been called
Oct 28 12:05:00 lintraincentos7 /usr/bin/x2golistsessions[28989]: 
x2golistsessions has been called with options: --all-servers
Oct 28 12:05:02 lintraincentos7 /usr/bin/x2gofeature: x2gofeature called 
with options: X2GO_RUN_EXTENSIONS
Oct 28 12:05:02 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: 
X2GO_RUN_EXTENSIONS
Oct 28 12:05:02 lintraincentos7 /usr/bin/x2goserver-run-extensions: 
x2goserver-run-extensions called with options: 
someuser-67-1414494300_stDKDE_dp
24 pre-start
Oct 28 12:05:02 lintraincentos7 /usr/bin/x2gostartagent: successfully 
started X2Go agent session with ID someuser-67-1414494300_stDKDE_dp24
Oct 28 12:05:02 lintraincentos7 /usr/bin/x2gofeature: x2gofeature called 
with options: X2GO_RUN_EXTENSIONS
Oct 28 12:05:02 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: 
X2GO_RUN_EXTENSIONS
Oct 28 12:05:02 lintraincentos7 /usr/bin/x2goserver-run-extensions: 
x2goserver-run-extensions called with options: 
someuser-67-1414494300_stDKDE_dp
24 post-start
Oct 28 12:05:03 lintraincentos7 /usr/bin/x2goruncommand: x2goruncommand 
called with options: 67 29183 someuser-67-1414494300_stDKDE_dp24 30055 
startkde nosnd D
Oct 28 12:05:03 lintraincentos7 /usr/bin/x2gomountdirs[29297]: 
x2gomountdirs has been called with options: dir 
someuser-67-1414494300_stDKDE_dp24 ms /home/someuser/.x2go/ssh/key.i29018 
/home/ms/.x2go/S-someuser-67-1414494300_stDKDE_dp24/
spool__PRINT_SPOOL___REVERSESSH_PORT__30056
Oct 28 12:05:03 lintraincentos7 /usr/bin/x2gofeature: x2gofeature called 
with options: X2GO_RUN_EXTENSIONS
Oct 28 12:05:03 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Oct 28 12:05:03 lintraincentos7 /usr/bin/x2goserver-run-extensions: 
x2goserver-run-extensions called with options: 
someuser-67-1414494300_stDKDE_dp24 pre-runcommand
Oct 28 12:05:03 lintraincentos7 /usr/bin/x2gomountdirs[29297]: 
successfully mounted 
ms.0.1:30056/home/ms/.x2go/S-someuser-67-1414494300_stDKDE_dp24/
spool to /tmp/.x2go-someuser/spool/C-someuser-67-1414494300_stDKDE_dp24
Oct 28 12:05:04 lintraincentos7 /usr/bin/x2gosetkeyboard: x2gosetkeyboard 
called with options:
Oct 28 12:05:04 lintraincentos7 /usr/bin/x2gofeature: x2gofeature called 
with options: X2GO_XSESSION
Oct 28 12:05:04 lintraincentos7 /usr/bin/x2gosetkeyboard: Setting X 
keyboard according to 
/home/someuser/.x2go/C-someuser-67-1414494300_stDKDE_dp24/keyboard
Oct 28 12:05:04 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: X2GO_XSESSION
Oct 28 12:05:04 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features 
called with options: X2GO_XSESSION
Oct 28 12:05:04 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features: 
x2goserver-fmbindings.features called with options: X2GO_XSESSION
Oct 28 12:05:04 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-printing.features: 
x2goserver-printing.features called with options: X2GO_XSESSION
Oct 28 12:05:04 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-xsession.features: 
x2goserver-xsession.features called with options: X2GO_XSESSION
Oct 28 12:05:04 lintraincentos7 /usr/bin/x2goruncommand: launching 
session with Xsession-x2go mechanism, using STARTUP="startkde"
Oct 28 12:05:04 lintraincentos7 /usr/bin/x2gofeature: x2gofeature called 
with options: X2GO_RUN_EXTENSIONS
Oct 28 12:05:04 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: X2GO_RUN_EXTENSIONS
Oct 28 12:05:04 lintraincentos7 /usr/bin/x2goserver-run-extensions: 
x2goserver-run-extensions called with options: 
someuser-67-1414494300_stDKDE_dp24 post-runcommand
Oct 28 12:05:05 lintraincentos7 /usr/bin/x2gofeature: x2gofeature called 
with options: X2GO_DESKTOPSHARING
Oct 28 12:05:05 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: X2GO_DESKTOPSHARING
Oct 28 12:05:05 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features 
called with options: X2GO_DESKTOPSHARING
Oct 28 12:05:05 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features: 
x2goserver-fmbindings.features called with options: X2GO_DESKTOPSHARING
Oct 28 12:05:05 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-printing.features: 
x2goserver-printing.features called with options: X2GO_DESKTOPSHARING
Oct 28 12:05:05 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-xsession.features: 
x2goserver-xsession.features called with options: X2GO_DESKTOPSHARING
Oct 28 12:05:05 lintraincentos7 /usr/bin/x2goumount-session[29686]: 
x2goumount-session has been called with options: 
someuser-67-1414494300_stDKDE_dp24
Oct 28 12:05:05 lintraincentos7 /usr/bin/x2goumount-session[29686]: 
successfully unmounted 
"/tmp/.x2go-someuser/spool/C-someuser-67-1414494300_stDKDE_dp24"
Oct 28 12:05:05 lintraincentos7 /usr/bin/x2gofeature: x2gofeature called 
with options: X2GO_FMBINDINGS
Oct 28 12:05:05 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-extensions.features: 
x2goserver-extensions.features called with options: X2GO_FMBINDINGS
Oct 28 12:05:05 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver.features: x2goserver.features 
called with options: X2GO_FMBINDINGS
Oct 28 12:05:06 lintraincentos7 
/usr/share/x2go/x2gofeature.d/x2goserver-fmbindings.features: 
x2goserver-fmbindings.features called with options: X2GO_FMBINDINGS
Oct 28 12:05:06 lintraincentos7 /usr/bin/x2gocmdexitmessage: 
x2gocmdexitmessage called with options: someuser-67-1414494300_stDKDE_dp24
Oct 28 12:05:08 lintraincentos7 systemd-logind: Removed session 42.

Please note that package x2godesktopsharing was installed, but is not 
anymore.

Contents of .xsession-x2go-errors (with set -x in /etc/x2go/Xsession):

XSession-x2go: X session started for someuser at Di 28. Okt 11:35:12 CET 
2014
++ mktemp
+ WRITE_TEST=/tmp/tmp.j9hoZ0iOzc
+ echo '*'
+ rm -f /tmp/tmp.j9hoZ0iOzc
+ '[' -f /etc/debian_version ']'
+ '[' -f /etc/redhat-release ']'
+ XSESSION_EXEC=startkde
+ '[' -r /etc/profile.d/lang.sh ']'
+ . /etc/profile.d/lang.sh
++ sourced=0
++ '[' -n de_DE.UTF-8 ']'
++ saved_lang=de_DE.UTF-8
++ '[' -f /home/someuser/.i18n ']'
++ LANG=de_DE.UTF-8
++ unset saved_lang
++ '[' 0 = 1 ']'
++ unset sourced
++ unset langfile
+ '[' -r /etc/x2go/Xresources ']'
+ xrdb -nocpp -merge /etc/x2go/Xresources
+ '[' -r /home/someuser/.Xresources-x2go ']'
+ USRMODMAP=/home/someuser/.Xmodmap-x2go
+ USRXKBMAP=/home/someuser/.Xkbmap-x2go
+ SYSMODMAP=/etc/x2go/Xmodmap
+ SYSXKBMAP=/etc/x2go/Xkbmap
+ '[' -r /etc/x2go/Xkbmap ']'
+ '[' -r /home/someuser/.Xkbmap-x2go ']'
+ '[' -z '' ']'
+ '[' -r /etc/x2go/Xmodmap ']'
+ '[' -r /home/someuser/.Xmodmap-x2go ']'
+ unset XKB_IN_USE
+ for file in '/etc/x2go/xinitrc.d/*'
+ '[' -r /etc/x2go/xinitrc.d/00-start-message-bus.sh ']'
+ . /etc/x2go/xinitrc.d/00-start-message-bus.sh
++ '[' -z '' ']'
+++ dbus-launch --sh-syntax --exit-with-session
++ eval 
'DBUS_SESSION_BUS_ADDRESS='\''unix:abstract=/tmp/dbus-gZvdIQxacL,guid=
93efd685b47ce61a03186113544f7160'\'';' export 'DBUS_SESSION_BUS_ADDR
ESS;' 'DBUS_SESSION_BUS_PID=18867;'
+++ 
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-gZvdIQxacL,guid=
93efd685b47ce61a03186113544f7160
+++ export DBUS_SESSION_BUS_ADDRESS
+++ DBUS_SESSION_BUS_PID=18867
+ for file in '/etc/x2go/xinitrc.d/*'
+ '[' -r /etc/x2go/xinitrc.d/50-xinput.sh ']'
+ . /etc/x2go/xinitrc.d/50-xinput.sh
++ . /usr/libexec/imsettings-functions
+++ LOGDIR=/home/someuser/.cache/imsettings
+++ LOGFILE=/home/someuser/.cache/imsettings/log
++ CONFIGDIR=/home/someuser/.config/imsettings
++ USER_XINPUTRC=/home/someuser/.config/imsettings/xinputrc
++ SYS_XINPUTRC=/etc/X11/xinit//xinputrc
++ READ_XINPUTRC=N/A
++ oldterm=dumb
++ unset TERM
++ '[' -r /etc/profile.d/lang.sh ']'
++ source /etc/profile.d/lang.sh
+++ sourced=0
+++ '[' -n de_DE.UTF-8 ']'
+++ saved_lang=de_DE.UTF-8
+++ '[' -f /home/someuser/.i18n ']'
+++ LANG=de_DE.UTF-8
+++ unset saved_lang
+++ '[' 0 = 1 ']'
+++ unset sourced
+++ unset langfile
++ '[' -n dumb ']'
++ export TERM=dumb
++ TERM=dumb
++ tmplang=de_DE.UTF-8
++ unset AUXILIARY_PROGRAM AUXILIARY_ARGS GTK_IM_MODULE ICON 
IMSETTINGS_IGNORE_ME LONG_DESC NOT_RUN PREFERENCE_PROGRAM PREFERENCE_ARGS 
QT_IM_MODULE SHORT_DESC XIM XIM_PROGRAM XIM_ARGS XMODIFIERS
++ '[' -z '' ']'
++ IMSETTINGS_DISABLE_USER_XINPUTRC=no
++ '[' '!' -d /home/someuser/.config/imsettings ']'
++ :
++ '[' -f /home/someuser/.xinputrc ']'
++ '[' -f /home/someuser/.xinputrc.bak ']'
++ '[' -r /home/someuser/.config/imsettings/xinputrc -a xno = xno ']'
++ '[' -r /etc/X11/xinit//xinputrc ']'
++ _im_language_list='as bn gu hi ja kn ko mai ml mr ne or pa si ta te th 
ur vi zh'
++ _sourced_xinputrc=0
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^as'
++ for i in '$_im_language_list'
++ grep -q -E '^bn'
++ echo de_DE.UTF-8
++ for i in '$_im_language_list'
++ grep -q -E '^gu'
++ echo de_DE.UTF-8
++ for i in '$_im_language_list'
++ grep -q -E '^hi'
++ echo de_DE.UTF-8
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^ja'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^kn'
++ for i in '$_im_language_list'

++ echo de_DE.UTF-8
++ grep -q -E '^ko'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^mai'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^ml'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^mr'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^ne'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^or'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^pa'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^si'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^ta'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^te'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^th'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^ur'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^vi'
++ for i in '$_im_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^zh'
++ '[' 0 -eq 0 ']'
++ _xcompose_language_list='am_ET el_GR fi_FI pt_BR ru_RU'
++ for i in '$_xcompose_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^am_ET'
++ for i in '$_xcompose_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^el_GR'
++ for i in '$_xcompose_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^fi_FI'
++ for i in '$_xcompose_language_list'

++ echo de_DE.UTF-8
++ grep -q -E '^pt_BR'
++ for i in '$_xcompose_language_list'
++ echo de_DE.UTF-8
++ grep -q -E '^ru_RU'
++ '[' 0 -eq 0 ']'
++ source /etc/X11/xinit/xinput.d//none.conf
+++ XIM=none
+++ XIM_PROGRAM=
+++ XIM_ARGS=
+++ GTK_IM_MODULE=gtk-im-context-simple
+++ QT_IM_MODULE=xim
+++ IMSETTINGS_IGNORE_ME=yes
++ READ_XINPUTRC=/etc/X11/xinit/xinput.d//none.conf
++ '[' -z '' ']'
++ IMSETTINGS_INTEGRATE_DESKTOP=yes
++ export IMSETTINGS_INTEGRATE_DESKTOP
++ '[' -z none ']'
++ IMSETTINGS_MODULE=none
++ '[' -z none ']'
++ export IMSETTINGS_MODULE
++ log_init
++ '[' '!' -n '' ']'
++ '[' -f /home/someuser/.imsettings.log ']'
++ '[' -f /home/someuser/.cache/imsettings/log ']'
++ mv /home/someuser/.cache/imsettings/log 
/home/someuser/.cache/imsettings/log.bak
++ touch /home/someuser/.cache/imsettings/log
++ setup_gtk_immodule
++ is_imsettings_enabled
++ '[' -z '' ']'
++ is_dbus_enabled
++ /usr/libexec/imsettings-check --check-dbus
++ '[' 0 -eq 0 ']'
++ is_gtk_supported
++ '[' -n '' ']'
++ case "$(get_desktop|tr '[A-Z]' '[a-z]')" in
+++ get_desktop
+++ '[' -n '' ']'
+++ '[' -n '' ']'
+++ echo unknown
+++ tr '[A-Z]' '[a-z]'
++ return 1
++ '[' -n gtk-im-context-simple ']'
++ export GTK_IM_MODULE
++ setup_qt_immodule
++ is_imsettings_enabled
++ '[' -z '' ']'
++ is_dbus_enabled
++ /usr/libexec/imsettings-check --check-dbus
++ '[' 0 -eq 0 ']'
++ is_qt_supported
++ '[' -n '' ']'
++ case "$(get_desktop|tr '[A-Z]' '[a-z]')" in
+++ get_desktop
+++ '[' -n '' ']'
+++ '[' -n '' ']'
+++ echo unknown
+++ tr '[A-Z]' '[a-z]'
++ check_imsettings_capability qt
++ mod=qt
++ /usr/libexec/imsettings-check --check-modules
++ ret=0
++ '[' 0 -eq 0 ']'
++ /usr/libexec/imsettings-check --check-modulesettings -d
++ grep qt
++ ret=1
++ return 1
++ return 1
++ '[' -n xim ']'
++ export QT_IM_MODULE
++ setup_xim
++ is_imsettings_enabled
++ '[' -z '' ']'
++ is_dbus_enabled
++ /usr/libexec/imsettings-check --check-dbus
++ '[' 0 -eq 0 ']'
++ is_xim_supported
++ return 1
++ '[' -z '' -a -n none ']'
++ XMODIFIERS=@im=none
++ '[' -n @im=none ']'
++ export XMODIFIERS
++ is_dbus_enabled
++ /usr/libexec/imsettings-check --check-dbus
++ '[' 0 -eq 0 ']'
++ is_imsettings_enabled
++ '[' -z '' ']'
++ is_dbus_enabled
++ /usr/libexec/imsettings-check --check-dbus
++ '[' 0 -eq 0 ']'
++ run_imsettings
++ print_info
++ log 'imsettings information'
++ echo 'imsettings information'
++ log ==========================
++ echo ==========================
++ log 'XINPUTRC: /etc/X11/xinit/xinput.d//none.conf'
++ echo 'XINPUTRC: /etc/X11/xinit/xinput.d//none.conf'
++ '[' x/etc/X11/xinit/xinput.d//none.conf '!=' xN/A ']'
+++ stat /etc/X11/xinit/xinput.d//none.conf
+++ sed -e 's/\(.*\)/\t\1/g'
++ log '          Datei: „/etc/X11/xinit/xinput.d//none.conf“
          Größe: 110            Blöcke: 8          EA Block: 4096   
reguläre Datei
        Gerät: fd01h/64769d     Inode: 52298696    Verknüpfungen: 1
        Zugriff: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/   
 root)
        Kontext: system_u:object_r:bin_t:s0
        Zugriff    : 2014-10-28 10:42:56.463904214 +0100
        Modifiziert: 2014-06-10 09:52:06.000000000 +0200
        Geändert   : 2014-09-16 11:52:47.516479566 +0200
         Geburt    : -'
++ echo '         Datei: „/etc/X11/xinit/xinput.d//none.conf“
          Größe: 110            Blöcke: 8          EA Block: 4096   
reguläre Datei
        Gerät: fd01h/64769d     Inode: 52298696    Verknüpfungen: 1
        Zugriff: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/   
 root)
        Kontext: system_u:object_r:bin_t:s0
        Zugriff    : 2014-10-28 10:42:56.463904214 +0100
        Modifiziert: 2014-06-10 09:52:06.000000000 +0200
        Geändert   : 2014-09-16 11:52:47.516479566 +0200
         Geburt    : -'
++ log -n 'Is DBus enabled: '
++ echo -n 'Is DBus enabled: '
++ print_result is_dbus_enabled
++ is_dbus_enabled
++ /usr/libexec/imsettings-check --check-dbus
++ '[' 0 -eq 0 ']'
++ '[' 0 -eq 0 ']'
++ log yes
++ echo yes
++ log -n 'Is imsettings enabled: '
++ echo -n 'Is imsettings enabled: '
++ print_result is_imsettings_enabled
++ is_imsettings_enabled
++ '[' -z '' ']'
++ is_dbus_enabled
++ /usr/libexec/imsettings-check --check-dbus
++ '[' 0 -eq 0 ']'
++ '[' 0 -eq 0 ']'
++ log yes
++ echo yes
++ log -n 'Is GTK+ supported: '
++ echo -n 'Is GTK+ supported: '
++ print_result is_gtk_supported
++ is_gtk_supported
++ '[' -n '' ']'
++ case "$(get_desktop|tr '[A-Z]' '[a-z]')" in
+++ get_desktop
+++ '[' -n '' ']'
+++ '[' -n '' ']'
+++ echo unknown
+++ tr '[A-Z]' '[a-z]'
++ return 1


desktop unknown looks strange to me.



Expected results:
It starts the session and opens it in a window for further use.


Additional info:
Starting "Terminal" as application successfully brings up a remote 
desktop 
window with KDE Konsole in it.

I also did yum groupinstall Xfce and tried Xfce as session. I also tried 
GNOME as session. Same result.

It worked with packages prior to this update today.

Client is Debian Sid with

ms@mango:~> apt-show-versions | grep x2go
pinentry-x2go:amd64/sid 0.7.5.7-1 uptodate
x2goclient:amd64/sid 4.0.3.0-1 uptodate
x2goplugin:amd64/sid 4.0.3.0-1 uptodate


I wonder whether this may be related to issues reported in:

Bug 1038834 - /etc/x2go/Xsession script broken

Comment 1 Martin Steigerwald 2014-10-28 11:44:23 UTC
Xsession scripts aborts after

echo 3 >> /tmp/schlumpf
        # run all system xinitrc shell scripts.
        for file in /etc/x2go/xinitrc.d/* ; do
                [ -r "$file" ] && . $file
        done

echo 4 >> /tmp/schlumpf


[root@lintraincentos7 x2go]# cat /tmp/schlumpf 
1
2
3

Comment 2 Martin Steigerwald 2014-10-28 11:52:24 UTC
It fails with running /etc/x2go/xinitrc.d/50-xinput.sh


        # run all system xinitrc shell scripts.
        for file in /etc/x2go/xinitrc.d/* ; do
echo "============= RUNNING $file =============="
set -x
                [ -r "$file" ] && . $file
set +x  
        done


Okay, got it working with:

        for file in /etc/x2go/xinitrc.d/* ; do
echo "============= RUNNING $file =============="
set -x
set +e
                [ -r "$file" ] && . $file
set -e
set +x


So you have a bug in /etc/x2go/xinitrc.d/50-xinput.sh which makes the session start broke.



============= RUNNING /etc/x2go/xinitrc.d/50-xinput.sh ==============
[…]
++ log yes
++ echo yes
++ log -n 'Is imsettings enabled: '
++ echo -n 'Is imsettings enabled: '
++ print_result is_imsettings_enabled
++ is_imsettings_enabled
++ '[' -z '' ']'
++ is_dbus_enabled
++ /usr/libexec/imsettings-check --check-dbus
++ '[' 0 -eq 0 ']'
++ '[' 0 -eq 0 ']'
++ log yes
++ echo yes
++ log -n 'Is GTK+ supported: '
++ echo -n 'Is GTK+ supported: '
++ print_result is_gtk_supported
++ is_gtk_supported
++ '[' -n '' ']'
++ case "$(get_desktop|tr '[A-Z]' '[a-z]')" in
+++ get_desktop
+++ '[' -n '' ']'
+++ '[' -n '' ']'
+++ echo unknown
+++ tr '[A-Z]' '[a-z]'
++ return 1

Comment 3 Martin Steigerwald 2014-10-28 11:54:39 UTC
[root@lintraincentos7 x2go]# diff -u Xsession.dist Xsession
--- Xsession.dist       2014-10-07 05:04:15.000000000 +0200
+++ Xsession    2014-10-28 12:54:24.899862879 +0100
@@ -177,7 +177,12 @@
 
        # run all system xinitrc shell scripts.
        for file in /etc/x2go/xinitrc.d/* ; do
+echo "============= RUNNING $file =============="
+set -x
+set +e
                [ -r "$file" ] && . $file
+set -e
+set +x
        done
 
        # Prefix launch of session with ssh-agent if available and not already running.

Comment 4 Fedora Update System 2014-10-28 16:14:15 UTC
x2goserver-4.0.1.18-3.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3596/x2goserver-4.0.1.18-3.el7

Comment 5 klaus 2014-11-04 10:16:34 UTC
I pulled the epel-testing version because I saw the same problem. 

It didn't help me - but the fix with the set+e -- set -e did the trick for me. 

|<

(In reply to Fedora Update System from comment #4)
> x2goserver-4.0.1.18-3.el7 has been submitted as an update for Fedora EPEL 7.
> https://admin.fedoraproject.org/updates/FEDORA-EPEL-2014-3596/x2goserver-4.0.
> 1.18-3.el7

Comment 6 Fedora Update System 2014-11-14 20:23:28 UTC
x2goserver-4.0.1.18-3.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Orion Poplawski 2014-11-14 20:59:21 UTC
The set +e/set -e fix will be in 4.0.1.19.


Note You need to log in before you can comment on or make changes to this bug.