1833829 Members
2231 Online
110063 Solutions
New Discussion

Re: DISPLAY PROBLEM

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

DISPLAY PROBLEM

This is a basic problem that I can't figure out.

I set my DISPLAY variable for my display, however this Nclass running 11.0 won't open with this display setting. Ok on all other systems. What could be causing this? This is a basic command executed on many systems many times per day. No problem on other systems?
When trying to run the sam or PV or GPM, I only get character base, not GUI.

I get error:

pv
Error: Can't open display: 10.31.1.106:0
Error: Couldn't find per display information



UNIX IS GOOD
18 REPLIES 18
Ian Dennison_1
Honored Contributor

Re: DISPLAY PROBLEM

Is CDE running?

tail -n 20 /etc/rc.log

Starting the Apache subsystem
Output from "/sbin/rc3.d/S825apache start":
----------------------------
Apache Started..
"/sbin/rc3.d/S825apache start" SKIPPED

Start CDE login server
Output from "/sbin/rc3.d/S990dtlogin.rc start":
----------------------------

**************************************************
HP-UX run-level transition completed
Mon May 5 13:34:08 BST 2003
**************************************************

Share and Enjoy! Ian
Building a dumber user
Ian Dennison_1
Honored Contributor

Re: DISPLAY PROBLEM

Is CDE running?

tail -n 20 /etc/rc.log

Starting the Apache subsystem
Output from "/sbin/rc3.d/S825apache start":
----------------------------
Apache Started..
"/sbin/rc3.d/S825apache start" SKIPPED

Start CDE login server
Output from "/sbin/rc3.d/S990dtlogin.rc start":
----------------------------

**************************************************
HP-UX run-level transition completed
Mon May 5 13:34:08 BST 2003
**************************************************

Share and Enjoy! Ian
Building a dumber user
Pete Randall
Outstanding Contributor

Re: DISPLAY PROBLEM

Doesn't DISPLAY need to be 10.31.1.106:0.0 ?



Pete

Pete
Pete Randall
Outstanding Contributor

Re: DISPLAY PROBLEM

Nope, should have tried that one first!



Pete

Pete
Nobody's Hero
Valued Contributor

Re: DISPLAY PROBLEM

yes CDE is running I believe. rc.log claims it has started. How can I verify 4 sure?
UNIX IS GOOD
Pete Randall
Outstanding Contributor

Re: DISPLAY PROBLEM

ps -ef |grep dtlogin will tell you if CDE is started.


Pete

Pete
Alex Glennie
Honored Contributor

Re: DISPLAY PROBLEM

10.31.1.106 is the ip of the N-class right ?

so does the N-class or 10.31.1.106 have a graphics card installed ? or is it a pc using Xmulation to provide a graphics device to the Xserver remotely from the N-class ?
John Poff
Honored Contributor

Re: DISPLAY PROBLEM

Hi Robert,

Can your N-class system resolve the 10.31.1.106 IP address correctly? Does it have a valid route to that IP?

JP
Pete Randall
Outstanding Contributor

Re: DISPLAY PROBLEM

Robert,

Does this only happen for root or any user?


Pete

Pete
Nobody's Hero
Valued Contributor

Re: DISPLAY PROBLEM

10.31.1.106 is the ip of my win2k workstation.

yes dtlogin is running
UNIX IS GOOD
Nobody's Hero
Valued Contributor

Re: DISPLAY PROBLEM

this happens to any user, not only root.
UNIX IS GOOD
John Poff
Honored Contributor

Re: DISPLAY PROBLEM

Robert,

What happens on your N-class box when you do this?

nslookup 10.31.1.106

JP
Nobody's Hero
Valued Contributor

Re: DISPLAY PROBLEM

John
what command can I use to see if the Nclass can resolve my ip address...traceroute????

Thsi is causing us some real problems....
UNIX IS GOOD
Nobody's Hero
Valued Contributor

Re: DISPLAY PROBLEM

John,
nslookup see's my workstation from DNS OK.
I can't figure this one out.
UNIX IS GOOD
John Poff
Honored Contributor

Re: DISPLAY PROBLEM

Robert,

Ok, now try it the other way. From your W2k box try running nslookup [try getting to a DOS prompt] and see if it can resolve the IP address of your N-class box. If so, try it again with the hostname and then the fully qualified domain name of the n-class box. All that stuff has to work for your X machinery to be happy.

JP
Nobody's Hero
Valued Contributor

Re: DISPLAY PROBLEM

yes John,

I just tried all ways. w2k sees the N just fine. Im stumped. I may open a call with HP.
Unless you have any other ideas....
UNIX IS GOOD
Nobody's Hero
Valued Contributor

Re: DISPLAY PROBLEM

John, sorry. you were right. I cant ping or telnet from my workstation to the HP9 machine.
I think we have a vlan problem on this 10.31 network. I have an alternate lan card assignment with a 10.31 address. This was causing some problems on some other systems as well. I need to remove the alternate 10.31 ip assignment from the N. Thanks for helping me work through this.


Bob
UNIX IS GOOD
John Poff
Honored Contributor
Solution

Re: DISPLAY PROBLEM

The only other thing I've seen before is when the HP box has a problem with the hostname. When you do the 'hostname' command on the N box, does it give you the correct name? If so, does 'nslookup ' give the correct IP address for the N-class box? I had a situation once where a box got a mismatch between the hostname and its IP address and the X stuff just wouldn't work.

JP