以下是一些有用的东西:su -c xhost以下是一些不起作用的事情:sudo su `logname`-c xhostsudo -u `logname` xhost
每个错误都抛出以下错误:access control enabled, only authorized clients can conne
我想在每次系统启动时运行DISPLAY=:0 xhost +。(我知道xhost +的安全含义。)=multi-user.targetJob for set-xhost.serviceSee "systemctl status set-xhost.service" and "journalctl -xe" for details.Jun 09 1