×

消息

EU e-Privacy Directive

This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

View e-Privacy Directive Documents

You have declined cookies. This decision can be reversed.

Unity对应的dm是lightdm,默认设置是X server启动时带有-nolisten tcp参数,所以远程窗口是不能在Ubuntu里打开的,不管如何配置DISPLAY,xhost或者X11Forwarding都同样得到错误信息:

Can't open display

把这个参数去掉,需要修改/etc/lightdm/lightdm.conf,添加一行:

xserver-allow-tcp=true

之后重启dm,或者干净些直接系统重启。

欢迎捐助:14s27QE7ob257dckVVUU1tLXzoX4D9kmnd

提交评论


安全码
刷新