Xwindow DISPLAY問題

有關於X 環境當中所遇到的問題

Moderator: Forums Team

Post Reply
User avatar
lundi
Posts: 155
Joined: Sun Sep 26, 2004 5:16 pm
Location: 風城

Xwindow DISPLAY問題

Post by lundi »

一直試不出來,可是朋友的Fedora又可以,我的問題是,如果登入到遠端server,打xterm想讓他display到本機,怎麼做呢?以前用windows時都是用exceed,登入過去之後,export DISPLAY=<my_ip>:0.0,然後xterm就可以display到本機。

可是現在我試家裡兩台gentoo對連,都無法互相display。請問有什麼地方要設嗎?
怪的是,我其中一台gentoo可以透過ssh連到朋友的Fedora,然後可以xterm display到本機,
(本來也不是行,後來在/etc/ssh/ssh_config 加了
Host *
# ForwardAgent no
ForwardX11 yes
就可以)
可是現在這個也設了,我的兩台gentoo還是不能互相display。

這個我也試過了 >_<
http://forums.gentoo.org/viewtopic.php?p=1823616

誰來指點一下。
User avatar
lundi
Posts: 155
Joined: Sun Sep 26, 2004 5:16 pm
Location: 風城

Post by lundi »

自問自答,找到了
用gdm啟動X的話,要改gdm.conf裡面的DisallowTCP
DisallowTCP=false
Post Reply