Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Help] portal-web: 用户新建桌面连接失败 #1376

Open
zhengkang2020 opened this issue Jul 25, 2024 · 0 comments
Open

[Help] portal-web: 用户新建桌面连接失败 #1376

zhengkang2020 opened this issue Jul 25, 2024 · 0 comments

Comments

@zhengkang2020
Copy link

zhengkang2020 commented Jul 25, 2024

发生了什么 | What happened

其他用户使用正常,只有用户A新建桌面失败,偶尔会有提示"无法以用户身份连接到登录节点。请确认您的家目录的权限为700、750或者755" ,但是检查和其他用户的权限是一样的。

portal-web 日志:

Error: connect ECONNREFUSED 192.168.55.83:5901
scow-portal-web-1  |     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1606:16) {
scow-portal-web-1  |   errno: -111,
scow-portal-web-1  |   code: 'ECONNREFUSED',
scow-portal-web-1  |   syscall: 'connect',
scow-portal-web-1  |   address: '192.168.55.83',
scow-portal-web-1  |   port: 5901
scow-portal-web-1  | } Error when proxing WS requests
scow-portal-web-1  | Error: connect ECONNREFUSED 192.168.55.83:5901
scow-portal-web-1  |     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1606:16) {
scow-portal-web-1  |   errno: -111,
scow-portal-web-1  |   code: 'ECONNREFUSED',
scow-portal-web-1  |   syscall: 'connect',
scow-portal-web-1  |   address: '192.168.55.83',
scow-portal-web-1  |   port: 5901
scow-portal-web-1  | } Error when proxing WS requests
scow-portal-web-1  | Error: read ECONNRESET
scow-portal-web-1  |     at TCP.onStreamRead (node:internal/stream_base_commons:218:20) {
scow-portal-web-1  |   errno: -104,
scow-portal-web-1  |   code: 'ECONNRESET',
scow-portal-web-1  |   syscall: 'read'
scow-portal-web-1  | } Error when proxing WS requests

登陆节点message日志:

Jul 25 16:38:04 hpc-login dbus-daemon[776381]: [session uid=300024 pid=776376] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=300024 pid=776421 comm="systemctl --user import-environ
ment DISPLAY XAUTHO" label="kernel")
Jul 25 16:38:04 hpc-login dbus-daemon[776381]: [session uid=300024 pid=776376] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1

vnc日志:

TurboVNC Server (Xvnc) 64-bit v3.1.1 (build 20240127)
Copyright (C) 1999-2024 The VirtualGL Project and many others (see README.md)
Visit http://www.TurboVNC.org for more information on TurboVNC

25/07/2024 16:41:22 Using security configuration file /etc/turbovncserver-security.conf
25/07/2024 16:41:22 Enabled security type 'otp'
25/07/2024 16:41:22 Desktop name 'desktop-20240725-164115' (hpc-login:1)
25/07/2024 16:41:22 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
25/07/2024 16:41:22 Listening for VNC connections on TCP port 5901
25/07/2024 16:41:22   Interface 0.0.0.0
25/07/2024 16:41:22 Framebuffer: BGRX 8/8/8/8
25/07/2024 16:41:22 New desktop size: 1240 x 900
25/07/2024 16:41:22 New screen layout:
25/07/2024 16:41:22   0x00000040 (output 0x00000040): 1240x900+0+0
25/07/2024 16:41:22 Maximum clipboard transfer size: 1048576 bytes
25/07/2024 16:41:22 VNC extension running!
xstartup.turbovnc: Creating new session bus instance:
xstartup.turbovnc:   unix:abstract=/tmp/dbus-RcwzjVXQk5,guid=a854043238fd32e3176a9bc566a20fb3
xstartup.turbovnc: Using 'xfce' window manager in
xstartup.turbovnc:   /usr/share/xsessions/xfce.desktop
xstartup.turbovnc: Executing /etc/X11/xinit/Xsession "startxfce4"
Environment variable $XAUTHORITY not set, ignoring.
Failed to import environment: Process org.freedesktop.systemd1 exited with status 1
/bin/startxfce4: X server already running on display :11.0
xrdb: Connection refused
xrdb: Can't open display ':11.0'
xfce4-session: Cannot open display: .
Type 'xfce4-session --help' for usage.
Killing Xvnc process ID 777453

运行环境 | Environment

- OS: Rocky Linxu 9.4
- Scheduler: 23.02.6
- Docker: 24.0.7
- Docker-compose: 2.23.3
- SCOW cli: 1.6.1
- SCOW: 1.6.1
- Adapter: 自己编译版本
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant