error while xclock display

Latest response

I am getting error while xclock display

Error: Can't open display: 10.0.18.45:0.0

Display has been set
export display: 10.0.18.45:0.0

All required changes in sshd_config file has done

X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no

Responses

Hi Vijayshankar Chauhan,

What tool do you use to connect to the Linux server? putty?

You need a X Windows server application link MobiXterm.

Regards,

Jan Gerrit

Actually it's Mobaxterm

Did you set the DISPLAY variable manually? if so unset it, also in .bashrc or any other profile related configuration file. reconnect with Mobaxterm

yes I have set the DISPLAY variable manually.

No display has been set in bashrc or /etc/profile

logout and login again.

DISPLAY should have a value like localhost:xx.0 (xx will be some number)

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.