On Sat, Feb 27, 2021 at 2:39 AM Michael Ashley <m.ash...@unsw.edu.au> wrote:
> It turns out the session log I posted earlier (with the 
> nxagentReconnectFailedFonts message) was the one immediately before the 
> "disconnection after one second" problem I reported in the other thread. This 
> earlier session resized the screen down from its original 3768x2123 
> dimensions. And in fact, this session *did* work, i.e., the font problem 
> didn't cause the session to disconnect after one second. However, some of the 
> windows did appear off the screen.
>
> The immediately following entry in session.log is the one that had the 
> one-second disconnect problem. This was an attempt to connect from a 
> different computer (but one which I had been using successfully prior to the 
> earlier entry).
>
> To try to clear up the confusion, here is the chronological sequence of 
> events:
>
>  (1) Successfully running at 3768x2123 screen size using computer A.
>
>  (2) Reconnect using computer B; nxagentReconnectFailedFonts occurs, but 
> session OK; now running at lower screen size (1853x1145?), which causes 
> windows to be at the edge, or beyond. The session log is the one posted in 
> the other thread.

This should not happen. NX has xrandr and xinerama included. So in
that case your desktop environment/window manager is informed about
size changes of the underlying X server (which is nxagent) and
reorganize the desktop accordingly. It seems to me that your xfce ist
not doing this for unknown reasons. Can you please run
- xrandr
- xpdyinfo -ext XINERAMA (last few lines are enough)

inside the session when that happens?

In the log file I cannot see the resize event. Hmm. Have you tried if
temporary switching to fullscreen and back helps?

Before diving deeper into that problem please update to 3.5.99.26 and
try to provoke that situation there.


>  (3) Attempted to reconnect with computer A;  nxagentReconnectFailedFonts 
> occurs, and session disconnects after about 1 second. The session.log entry 
> is in-line below;
>
> Session: Session resumed at 'Wed Feb 24 15:38:56 2021'.
> Info: Screen [0] resized to geometry [3768x2123] fullscreen [0].
> Session: Suspending session at 'Wed Feb 24 15:38:58 2021'.
> Info: Waiting the cleanup timeout to complete.
> Session: Session suspended at 'Wed Feb 24 15:39:01 2021'.
> Session: Resuming session at 'Wed Feb 24 15:39:09 2021'.
> Info: Proxy running in client mode with pid '3034'.
> Info: Using errors file 
> '/tmp/.x2go-mcba/C-mcba-50-1610482047_stDXFCE_dp24/session.log'.
> Info: Using stats file 
> '/tmp/.x2go-mcba/C-mcba-50-1610482047_stDXFCE_dp24/C-mcba-50-1610482047_stDXFCE_dp24/stats'.
> Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent 
> session.
> Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent 
> session.
> Info: Waiting for connection from 'localhost' on socket 'tcp:*:40350'.
> Info: Accepted connection from '127.0.0.1'.
> Info: Connection with remote proxy completed.
> Info: Using WAN link parameters 1408/24/1/0.
> Info: Using agent parameters 5000/5/50/0/0.
> Info: Using cache parameters 4/4096KB/8192KB/8192KB.
> Info: Using pack method '16m-png-9' with session 'unix-kde-depth_24'.
> Info: Using ZLIB data compression 1/1/32.
> Info: Using ZLIB stream compression 1/1.
> Info: Using cache file 
> '/tmp/.x2go-mcba/C-mcba-50-1610482047_stDXFCE_dp24/cache-unix-kde-depth_24/C-2D156C878BE9F29E2E880305782DFE69'.
> Info: Listening to X11 connections on display ':50'.
> Info: Established X client connection.
> Info: Using shared memory parameters 1/1/0/0K.
> Info: Not using local device configuration changes.
> nxagentReconnectFailedFonts: WARNING! Font server tunneling not retrieved.
> nxagentReconnectSession: WARNING! Unable to retrieve all the fonts currently 
> in use. Missing fonts have been replaced.
> nxagentSighupHandler: WARNING! Ignoring the signal in state 
> [SESSION_GOING_UP].
> Info: keyboard blocking directory created: 
> '/home/mcba/.x2go/C-mcba-50-1610482047_stDXFCE_dp24/keyboard'
> Info: Keycode conversion is off
> Info: re-reading keystrokes configuration
> Warning: Cannot read keystroke file '/home/mcba/.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'.
> Currently 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
>
> I notice the additional nxagentSighupHandler line.

For reconnect the nxagent has to be woken up by sending a SIGHUP to
the process. If there are multiple signals the above message appears.
This is because of the NX_CLIENT setting I mentioned before which
sends another SIGHUP when trying to show a dialog with wrong script in
place.
Fix the NX_CLIENT stuff and you'll be fine.

Uli
_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Reply via email to