Hi,
we use x2go for multiple users to connect to workstations running Ubuntu 16.04.6 LTS. Clients run on MacOSX or Windows machines. After using the setup for some days with multiple reconnects, for unknown reasons we can no longer open terminal applications via these remote-desktops. This applies to all terminal applications like UXTerm, Xfce Terminal, XTerm, etc. We can still perfectly open a file manager, or e.g. Matlab and work with those. We can also no longer close the session because the confirmation dialog to confirm user logout does not appear. It seems like there is a terminal process started every time we start a terminal via the desktop GUI. But the window does not show up. After rebooting the workstation, everything works fine again, terminals can be opened, logout confirmation dialog pops up.
Currently we use XFCE desktop.
Best regards, Thomas
-- Dr. Thomas Stephan Arbeitsgruppe für funktionelle, strukturelle und molekulare Bildgebung Neurologische Forschung Klinikum Grosshadern Fraunhoferstr. 20 82152 Planegg/Martinsried
Thomas.Stephan@lrz.uni-muenchen.de +49 89 4400-74819 (Fon) +49 89 4400-74801 (Fax)
On Mon, Sep 30, 2019 at 1:19 PM Thomas Stephan <Thomas.Stephan@lrz.uni-muenchen.de> wrote:
This looks to me how a shell accessing a stale mount. When then problem shows up next time (temporarily) mv your .bashrc out of the way and try to open an terminal.
Uli
BTW: are the home dirs local on the server or mounted via NFS?
Hi Ulli,
I tried to move .bashrc out of the way, this did not solve the problem. Also moving .bashrc and .profile out of the way did not help. I am not sure if stale mounts can cause this problem, because I am still able to open a remote shell via ssh.
Best Thomas
Am 30.09.19 um 15:06 schrieb Ulrich Sibiller:
Another observation: If I have a remote desktop open, and open a separate ssh-connection to the server, then
export DISPLAY=:<Display number of x2go-desktop> xterm &
opens a terminal window on the remote machine and displays it in the x2go window.
Am 30.09.19 um 15:06 schrieb Ulrich Sibiller:
On Wed, Oct 2, 2019 at 12:48 PM Thomas Stephan <Thomas.Stephan@lrz.uni-muenchen.de> wrote:
Strange. Some more questions:
Uli
Thank you for your help. See responses below.
Best, Thommi
Am 06.10.19 um 13:43 schrieb Ulrich Sibiller: produced by 'sudo x2golistsessions_root' on the machine. Therefore I have no way to terminate the session. I can find the session-ID string in the X2Go client window. If I connect to the server via ssh, and use 'sudo x2goterminate-session <session-ID>' , nothing happens. The session is still running. dialog popping up. But clicking on ok does not stop the session.
Uli
tstephan@nro13db8:/tmp/.x2go-tstephan/C-tstephan-58-1570441464_stDXFCE_dp32$ cat session.log
running as X2Go Agent
running as X2Go Agent
running as X2Go Agent
running as X2Go Agent
running as X2Go Agent
running as X2Go Agent
running as X2Go Agent
running as X2Go Agent
NXAGENT - Version 3.5.99.20
Copyright (c) 2001, 2011 NoMachine (http://www.nomachine.com) Copyright (c) 2008-2014 Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Copyright (c) 2011-2016 Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Copyright (c) 2014-2016 Ulrich Sibiller <uli42@gmx.de> Copyright (c) 2014-2016 Mihai Moldovan <ionic@ionic.de> Copyright (c) 2015-2016 Qindel Group (http://www.qindel.com) See https://github.com/ArcticaProject/nx-libs for more information.
Info: Agent running with pid '31000'. Session: Starting session at 'Mon Oct 7 11:44:51 2019'. Info: Proxy running in client mode with pid '31000'. Info: Using errors file '/tmp/.x2go-tstephan/C-tstephan-58-1570441464_stDXFCE_dp32/session.log'. Info: Using stats file '/tmp/.x2go-tstephan/C-tstephan-58-1570441464_stDXFCE_dp32/C-tstephan-58-1570441464_stDXFCE_dp32/stats'. Loop: WARNING! Unrecognized session type 'unix-kde-depth_32'. Assuming agent session. Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session. Info: Waiting for connection from 'localhost' on socket 'tcp:*:46419'. Info: Accepted connection from '127.0.0.1'. Info: Connection with remote proxy completed. Info: Using LAN link parameters 1536/24/1/0. Info: Using agent parameters 5000/0/50/0/0. Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_32'. 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: Listening to X11 connections on display ':58'. Info: Established X client connection. Info: Using shared memory parameters 1/1/0/0K. Info: Using alpha channel in render extension. Info: Not using local device configuration changes. Warning: Cannot read keystroke file '/home/user/tstephan/.x2go/config/keystrokes.cfg'. Info: using keystrokes file '/etc/x2go/keystrokes.cfg' Info: ignoring unknown keystroke action 'debug_tree'. Info: ignoring unknown keystroke action 'regions_on_screen'. Info: ignoring unknown keystroke action 'test_input'. Info: ignoring unknown keystroke action 'deactivate_input_devices_grab'. Current known keystrokes: close_session Ctrl+Alt+t switch_all_screens Ctrl+Alt+f minimize Ctrl+Alt+m resize Ctrl+Alt+r defer Ctrl+Alt+e ignore Ctrl+Alt+BackSpace force_synchronization Ctrl+Alt+j fullscreen Ctrl+Shift+Alt+f viewport_move_left Ctrl+Shift+Alt+Left viewport_move_up Ctrl+Alt+Up viewport_move_right Ctrl+Alt+Right viewport_move_down Ctrl+Alt+Down Warning: Failed to create keyboard blocking directory '/home/user/tstephan/.x2go/C-tstephan-58-1570441464_stDXFCE_dp32/keyboard': File exists *** BUG *** In pixman_region_copy: Malformed region dst Set a breakpoint on '_pixman_log_error' to debug
*** BUG *** In pixman_region_union: Malformed region reg1 Set a breakpoint on '_pixman_log_error' to debug
*** BUG *** In pixman_region_union: Malformed region new_reg Set a breakpoint on '_pixman_log_error' to debug
*** BUG *** In pixman_region_copy: Malformed region dst Set a breakpoint on '_pixman_log_error' to debug
*** BUG *** In pixman_region_union: Malformed region reg1 Set a breakpoint on '_pixman_log_error' to debug
*** BUG *** In pixman_region_union: Malformed region new_reg Set a breakpoint on '_pixman_log_error' to debug
*** BUG *** In pixman_region_copy: Malformed region dst Set a breakpoint on '_pixman_log_error' to debug
*** BUG *** In pixman_region_intersect: Malformed region new_reg Set a breakpoint on '_pixman_log_error' to debug
Session: Session started at 'Mon Oct 7 11:44:56 2019'. *** BUG *** In pixman_region_copy: Malformed region dst Set a breakpoint on '_pixman_log_error' to debug
*** BUG *** In pixman_region_union: Malformed region reg2 Set a breakpoint on '_pixman_log_error' to debug
Info: Screen [0] resized to geometry [800x600] fullscreen [0]. Info: Screen [0] resized to geometry [800x600] fullscreen [0]. Info: Screen [0] resized to geometry [1774x1285] fullscreen [0]. Info: Screen [0] resized to geometry [2072x1247] fullscreen [0].