本地服务器帐户无法启动xterm
我无法在服务器的另一台显示器上启动xterm。 我目前在Fedora 26上login到Gnome会话。 [myuser@localhost ~]$ xhost + access control disabled, clients can connect from any host [myuser@localhost ~]$ su – another_user 然后我得到shell提示符,我做: [another_user@localhost ~]$ export DISPLAY=localhost:0.0 [another_user@localhost ~]$ xterm xterm: Xt error: Can't open display: localhost:0.0 [another_user@localhost ~]$ 我的防火墙被禁用,所以我做了一个跟踪: [another_user@localhost ~]$ strace -f xterm 我发现这一点: ….. mmap(NULL, 2168280, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f27bd6a2000 mprotect(0x7f27bd6ad000, […]