(标题无法创建 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