(標題無法建立 50+ VNC+Gnome 會話(dubs/systemctl 限制))
我正在嘗試在 CentOS 7.6 電腦上建立 50 個 VNC 顯示會話。我創建了一個本地用戶。登入後,我只能建立 9 個會話。
此 VNC 伺服器啟動後,立即出現錯誤
Sample VNC log
Copyright (C) 1999-2017 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12001000, The X.Org Foundation
Mon Nov 25 12:42:38 2019
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5959
vncext: created VNC server for screen 0
/localhome//iesdvnc/.vnc/xstartup: line 5: 28820 Trace/breakpoint trap /etc/X11/xinit/xinitrc
dmesg 有類似下面的內容...
47.022483] traps: gnome-session-b[10647] trap int3 ip:7fd7ea82fb11 sp:7ffd0a245090 error:0
[ 55.985977] traps: gnome-session-b[11755] trap int3 ip:7f81b8595b11 sp:7ffdbfee0910 error:0
[ 60.403733] traps: gnome-session-b[12603] trap int3 ip:7fb06491ab11 sp:7ffd42f68e00 error:0
[ 60.982362] traps: gnome-session-b[13356] trap int3 ip:7fa59f459b11 sp:7ffea65498d0 error:0
[ 62.825407] traps: gnome-session-b[14135] trap int3 ip:7f2e4334fb11 sp:7ffd33387220 error:0
我懷疑這與用戶或 dbus 限制的系統限制有關。但我無法繼續。請建議可以更改哪些內容來創建數十個 VNC 顯示。
經過更多調試後錯誤是(來自 # abrt-cli list )
ERROR: Failed to connect to system bus: GDBus.Error:org.freedesktop.DBus.Error.LimitsExceeded: The maximum number of active connections for UID <user id> has been reached