Dear Paul, Thank you very much! I can already use the DISPLAY variable when I modify "#DisallowTCP=true" to "DisallowTCP=false" on the gdm config file(gdm.conf). There are several OS on our local network, I think I will use ssh before long when I install ssh to all OS. Best Regards! zheng.yang -----原始邮件----- 发件人: fedora-list-bounces@xxxxxxxxxx [mailto:fedora-list-bounces@xxxxxxxxxx]代表; Paul Howarth 发送时间: 2006年1月5日 17:17 收件人: For users of Fedora Core releases 主题: Re: remote DISPLAY error for fedora core 4 On Thu, 2006-01-05 at 17:07 +0800, Zheng, Yang wrote: > Hi, > > I want to rlogin the master server from the local computer on FC4 to run some visible program. but when I set the DISPLAY variable to localhostname:0.0, It always fails with this message: > > gugen049{Z.Yang}% rlogin gzserver -l yzz > gzserver{Z.Yang}% setenv DISPLAY gugen049:0.0 > gzserver{Z.Yang}% /usr/lib/lprgs/zy/get.sol > gzserver{Z.Yang}% ***********ERROR 04Jan2006.104201.619 GET 16583 08.02c8( > Process could not connect to X windows display ... > The reason for this may be that the DISPLAY environment > variable is not set correctly or that the X server > does not permit a connection. > Status raised : module - get_main.c, line - 803 > ***********ERROR 04Jan2006.104201.619 GET 16583 08.02c8(52) Linux > fatal error (error = 31003) > > I would really appreciate a response. It would be much better if you could use ssh instead of rlogin. Not only is the protocol much more secure, it supports tunnelling of X without you having to mess about with setting $DISPLAY, running xhost etc. gugen049{Z.Yang}% ssh -X gzserver -l yzz gzserver{Z.Yang}% /usr/lib/lprgs/zy/get.sol If you really have to use rlogin, you'll probably need to configure X on gugen049 so that it listens for TCP connections over the network, which I don't think it does by default. Paul. -- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list The information contained in this communication and its attachment(s) is intended only for the use of the individual to whom it is addressed and may contain information that is privileged, confidential, or exempt from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify postmaster@xxxxxxxxxxxxxx and delete the communication without retaining any copies. Thank you. Translations of this available: Traduction disponible chez: Traducciones disponibles en: Vertalingen beschikbaar bij: http://www.viasystems.com/dynamic_page.asp?page_symbol=email_footer ____________________________________________________________________