Replies: 2 comments 5 replies
-
This looks like a VNC server issue. When the VNC server is used as a back-end, xrdp just acts as a protocol converter, so it would struggle to produce a screen like that (I think). You don't say what system you're running on, but if you're using the VNC backend I'd guess at RHEL or a derivative. This uses tigervnc as the VNC server by default. For starters, try changing the colour depth the client is using for VNC. See #2945 for a potentially similar issue with tigervnc. If that doesn't work, install the xorgxrdp package and try that. This will involve a few trade-offs but may give more information. |
Beta Was this translation helpful? Give feedback.
-
I'm a bit confused by this statement of yours:-
xrdp uses a VNC server as its backend, as you can tell from the logs. Normally this is tigervnc anyway, so I can't see how xrdp can provide lower resource usage. Also, are you saying that tigervnc is working and xrdp isn't? To restart chansrv:-
chansrv shouldn't be crashing. What is happening to it exactly? |
Beta Was this translation helpful? Give feedback.
-
Our team is experiencing a frozen state with the XRDP. The issue only occurs when opening the GVIM editor with Verdi SLURM jobs.
No error/warning is showing when this is happening so I am not sure where to start in troubleshooting it. For the XRDP logs with chansrv, I tried to reconnect it, but the issue persisted. See below for reference:
XRDP logs:
[20240223-05:32:21] [INFO ] connecting to sesman on 127.0.0.1:3350
[20240223-05:32:21] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20240223-05:32:21] [INFO ] sesman connect ok
[20240223-05:32:21] [INFO ] sending login info to session manager. Please wait...
[20240223-05:32:22] [INFO ] xrdp_wm_log_msg: login failed for user gvenkatesh
[20240223-05:32:22] [INFO ] login failed for user gvenkatesh
[20240223-05:32:39] [INFO ] connecting to sesman on 127.0.0.1:3350
[20240223-05:32:39] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20240223-05:32:39] [INFO ] sesman connect ok
[20240223-05:32:39] [INFO ] sending login info to session manager. Please wait...
[20240223-05:32:39] [INFO ] xrdp_wm_log_msg: login failed for user gvenkatesh
[20240223-05:32:39] [INFO ] login failed for user gvenkatesh
[20240223-05:32:51] [INFO ] connecting to sesman on 127.0.0.1:3350
[20240223-05:32:52] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20240223-05:32:52] [INFO ] sesman connect ok
[20240223-05:32:52] [INFO ] sending login info to session manager. Please wait...
[20240223-05:32:52] [INFO ] xrdp_wm_log_msg: login successful for user gvenkatesh on display 59
[20240223-05:32:52] [INFO ] login successful for user gvenkatesh on display 59
[20240223-05:32:52] [INFO ] loaded module 'libvnc.so' ok, interface size 4064, version 4
[20240223-05:32:52] [INFO ] VNC started connecting
[20240223-05:32:52] [INFO ] VNC connecting to 127.0.0.1 5959
[20240223-05:32:52] [INFO ] VNC tcp connected
[20240223-05:32:52] [INFO ] VNC security level is 2 (1 = none, 2 = standard)
[20240223-05:32:52] [INFO ] VNC password ok
[20240223-05:32:52] [INFO ] VNC sending share flag
[20240223-05:32:52] [INFO ] VNC receiving server init
[20240223-05:32:52] [INFO ] VNC receiving pixel format
[20240223-05:32:52] [INFO ] VNC receiving name length
[20240223-05:32:52] [INFO ] VNC receiving name
[20240223-05:32:52] [INFO ] VNC sending pixel format
[20240223-05:32:52] [INFO ] VNC sending cursor
[20240223-05:32:52] [INFO ] VNC connection complete, connected ok
[20240223-05:32:52] [INFO ] VNC: Clipboard (if available) is provided by chansrv facility
[20240223-05:32:52] [INFO ] connected ok
[20240223-05:32:56] [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
[20240223-05:33:00] [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
[20240223-05:33:04] [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
[20240223-05:33:08] [WARN ] xrdp_mm_chansrv_connect: connect failed trying again...
[20240223-05:33:08] [ERROR] xrdp_mm_chansrv_connect: error in trans_connect chan
[20240223-05:33:08] [INFO ] Layout from OldLayout (geom=1440x900 #screens=1) : 1804289383:(1440x900+0+0)
Sesman logs:
[20240223-05:32:52] [ERROR] sesman_data_in: scp_process_msg failed
[20240223-05:32:52] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans
[20240223-05:32:52] [INFO ] Starting session reconnection script on display 59: /usr/libexec/xrdp/reconnectwm.sh
[20240223-05:32:52] [INFO ] Process 1734773 has exited
.local/share/xrdp/ logs:
[20240223-04:02:50] [INFO ] Socket 14: AF_UNIX connection received
[20240223-04:02:50] [INFO ] sound_process_output_format:
[20240223-04:02:50] [INFO ] wFormatNo 0
[20240223-04:02:50] [INFO ] wFormatTag WAVE_FORMAT_PCM
[20240223-04:02:50] [INFO ] nChannels 2
[20240223-04:02:50] [INFO ] nSamplesPerSec 44100
[20240223-04:02:50] [INFO ] nAvgBytesPerSec 176400
[20240223-04:02:50] [INFO ] nBlockAlign 4
[20240223-04:02:50] [INFO ] wBitsPerSample 16
[20240223-04:02:50] [INFO ] cbSize 0
[20240223-04:02:50] [INFO ] sound_process_output_format:
[20240223-04:02:50] [INFO ] wFormatNo 1
[20240223-04:02:50] [INFO ] wFormatTag WAVE_FORMAT_PCM
[20240223-04:02:50] [INFO ] nChannels 2
[20240223-04:02:50] [INFO ] nSamplesPerSec 22050
[20240223-04:02:50] [INFO ] nAvgBytesPerSec 88200
[20240223-04:02:50] [INFO ] nBlockAlign 4
[20240223-04:02:50] [INFO ] wBitsPerSample 16
[20240223-04:02:50] [INFO ] cbSize 0
[20240223-04:02:52] [INFO ] sound_process_training: round trip time 2015
[20240223-04:02:52] [INFO ] Detected remote smartcard 'SCARD'
Can someone experience the same case? The only workaround we can perform is to restart the XVNC PID or terminate the VERDI SLURMS, but sometimes it doesn't work.
I would greatly appreciate any input you can provide. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions