2014年(31)
分类: LINUX
2014-05-06 15:12:36
原文地址:Linux下DISPLAY环境变量的作用 作者:traveler99
DISPLAY=:0.0 |
export DISPLAY=:0.0 |
Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Error: Can't open display: :0.0 |
xhost + |
X11Forwarding no |
ForwardX11 yes |
DISPLAY=localhost:10.0 |
tcp 0 0 127.0.0.1:6010 0.0.0.0:* LISTEN 4827/1 |
exec /usr/bin/X11/X -dpi 100 -nolisten tcp |
exec /usr/bin/X11/X -dpi 100 |
ServerArgsLocal=-nolisten tcp |
ServerArgsLocal= |
DisallowTCP=false |