Linux Desktop 做 Xserver
方法1:(Ubuntu 下无效)
$ cat /etc/X11/xinit/xserverrc#!/bin/sh#exec /usr/bin/X -nolisten tcp "$@"exec /usr/bin/X tcp "$@"
scott@xserver:~$ cat /etc/gdm/custom.conf [security]DisallowTCP=falsescott@xserver:~$ xhost + xclientscott@xserver:~$ ssh postfix@xclientpostfix@xclient's password: *******postfix@xclient:~$ export DISPLAY=xserver:0postfix@xclient:~$