remote DISPLAY error for fedora core 4

Paul Howarth paul at
Thu Jan 5 09:17:17 UTC 2006

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.


More information about the users mailing list