Operating System - Tru64 Unix
1745906 Members
4306 Online
108723 Solutions
New Discussion юеВ

Re: X display not working anymore

 
Danesh Qureshi
Regular Advisor

X display not working anymore

I have a server running TRU64 Unix V5.1B. From my Laptop computer I am logged into the server using ssh (secure shell). I have set the X11 tunnelling with my ssh session.

When I type xclock at the shell prompt there no xclock display
In fact any X application does not display on my screen. I have Exceed server running on my laptop from I login via ssh to my TRU64 Unix server.

All X applications use to work 7 months ago but recently they do not display anything.

Any help would appreciated.
15 REPLIES 15
Steven Schweda
Honored Contributor

Re: X display not working anymore

> All X applications use to work [...]

Perhaps something has changed.

"echo $DISPLAY"?
Danesh Qureshi
Regular Advisor

Re: X display not working anymore

This is what $DISPLAY reports within my ssh session

lysithea$ echo $DISPLAY
lysithea.mdx.ac.uk:0.0
Steven Schweda
Honored Contributor

Re: X display not working anymore

> This is what $DISPLAY reports within my
> ssh session

Great. Now if I knew the names of any of the
computers involved here, ...

Or were you hoping for help from some psychic
who already knows everything about your
environment?
Vladimir Fabecic
Honored Contributor

Re: X display not working anymore

Did something get changed with ssh server settings?
Is there a firewall between laptop and TRU64 server?
Please send more details.
In vino veritas, in VMS cluster
Pieter 't Hart
Honored Contributor

Re: X display not working anymore

>This is what $DISPLAY reports within my >ssh session
>
>lysithea$ echo $DISPLAY
>lysithea.mdx.ac.uk:0.0

So when logged in into lysithea, your $DISPLAY pointt to lysithea as outputdevice.
On the lysithea console the clock may appear and not on your laptop!
=> correct setting $DISPLAY in $HOME/.profile or $HOME/.dtprofile
Danesh Qureshi
Regular Advisor

Re: X display not working anymore

Sorry guys I understand you need more information about my environment in order to help me.

So on the main Lysithea console the xclock appears fine but not on my laptop.

There is a firewall between my laptop and Lysithea and I can login to Lysithea with ssh after authenticating to the firewall. We have 3 other servers running the same version of the Tru64 Unix 5.1b and all 3 servers are behind the firewall and xclock appears on my laptop for each of the 3 systems using ssh.

I have not changed any settings on ssh apart from enabelling X tunnelling in ssh for Lysithea.

I have noticed if I type xclock & on my laptop the xclock application seems to be "killed" immediately without any errors.

There are no xclock processes after I type xclock & running in the backgroundd.

I have tried using Exceed and Xming on my laptop as the X server but xclock still does not appear on my laptop. The last time xclock worked on my laptop was 8 or 9 months ago. We need to install Oracle which uses a GUI but we cannot proceed as it uses X server for the installation from a laptop.

I've looked at the sshd settings all looks fine to me.

I understand its a difficult to help me without giving you full details of the current environment.

I dont know where else to look.
Steven Schweda
Honored Contributor

Re: X display not working anymore

> lysithea$ echo $DISPLAY
> lysithea.mdx.ac.uk:0.0

> I have set the X11 tunnelling with my ssh
> session.

Apparently you haven't. Or perhaps your
shell start-up script ("~/.profile"?) sets
DISPLAY to this value after the SSH stuff
sets it to what it should be.
Pieter 't Hart
Honored Contributor

Re: X display not working anymore

try if "$HOME/.dt/errorlog" provides any clueues.

Pieter
Pieter 't Hart
Honored Contributor

Re: X display not working anymore

Also try to enable logging within the Xserver on your laptop, it may not accept the tunnel.

also try setting $DISPLAY to "hostname:0.1" instead of ":0.0"