1834461 Members
3322 Online
110067 Solutions
New Discussion

xterm error

 
Sachin Kumbla
Frequent Advisor

xterm error

getting the following error while running xclock


Error: Couldn't find per display information in hp-ux
4 REPLIES 4
Dennis Handly
Acclaimed Contributor

Re: xterm error

What is DISPLAY set to? (If not set you get a different error.)
Do you have: name:0.0
Sachin Kumbla
Frequent Advisor

Re: xterm error

yes it is 0.0
Jeeshan
Honored Contributor

Re: xterm error


You can modify sshd_config and ssh_config to allow X11 forwarding. Edit sshd_config to set
the display instance (default = 10). After establishing a Secure Shell connection to a remote system, set the DISPLAY environment variable to the following:

:.0

is the machine where you initiated the Secure Shell connection and
is the number set in sshd_config. X programs will display on the
originating machine when started.

CAUTION
The X11UseLocalhost option in sshd_config for IPv6 enabled servers must be set to no when using X11 forwarding to an IPv6 enabled server. X11 applications will not connect to the display if the X11UseLocalhost option is
set to yes .

-------
So on the HP change the two config files as follows;
/opt/ssh/etc/ssh_config
ForwardX11 yes

/opt/ssh/etc/sshd_config
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost no
a warrior never quits
Jeeshan
Honored Contributor