1.modify the /etc/X11/gdm/gdm.conf file and search for the following line:
#DisallowTCP=true
This line will need to be uncommented and made false to allow X to listen for TCP connections.
DisallowTCP=false
2.Once complete, GDM will need to be restarted. To do so, type the following as root user to set your system to runlevel 3:
# telinit 3
This will set the system in runlevel 3. Now to bring GDM back up to runlevel 5:
# telinit 5
3.告诉你的X-server允许远程机器上的客户端再你的屏幕上显示图像:
xhost +remoteserver
4. 登录到远程主机remoteserver:
slogin -l username remoteserver
5. 现在你已经登录到remoteserver上,并且你执行的每条命令都在remoteserver上执行
6. export DISPLAY=localip:0.0
7. 运行程序 比如:
netscape &

