![dbus 无法连接到系统总线:Error.LimitsExceeded:已达到 UID 1019 的最大活动连接数](https://linux22.com/image/164650/dbus%20%E6%97%A0%E6%B3%95%E8%BF%9E%E6%8E%A5%E5%88%B0%E7%B3%BB%E7%BB%9F%E6%80%BB%E7%BA%BF%EF%BC%9AError.LimitsExceeded%EF%BC%9A%E5%B7%B2%E8%BE%BE%E5%88%B0%20UID%201019%20%E7%9A%84%E6%9C%80%E5%A4%A7%E6%B4%BB%E5%8A%A8%E8%BF%9E%E6%8E%A5%E6%95%B0.png)
(标题无法创建 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