本端機器:
1. ~$ sudo vi /etc/X11/xinit/xserverrc:
Remove the "-nolisten tcp"
2. ~$ sudo vi /etc/gdm/gdm.schemas:
Comment out the "DisallowTCP=true" so that it doesn't add the -nolisten back.
3. Really restart X
The easiest way is to probably kill gdm and then restart it from a text login:
~$ sudo service gdm stop
At a text login:
~$ sudo service gdm start
4. ~$ xhost +
5. ~$ ifconfig 查詢目前IP address
遠端機器:
1. export DISPLAY=本端機器IP address:0.0
2. ~$ xclock
沒有留言:
張貼留言