让学习成为一种习惯!
全部博文(44)
分类: LINUX
2014-12-09 22:07:53
原文地址: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 |