1838264 Members
3456 Online
110125 Solutions
New Discussion

X problems

 
Raperswil
Occasional Advisor

X problems

Hello all
I installed HP-UX 11i Jun 2004 on a B2000 with 1.25 GB of RAM.
I configured it as a DHCP client to a router at home. So networking is ok, I can telnet to it and FTP to it from Windows XP.

But X does not come up. It shows a screen but nothing else. Please can someone tell me how to see what it the problem and any further help is most welcome.

Thanks again.
7 REPLIES 7
Steven Schweda
Honored Contributor

Re: X problems

It's possible that X (or CDE) gets confused
if there are bad DNS data (either way) for
the dynamically assigned IP address. You
might try adding appropriate data for the
DHCP address(es) to the DNS server or
/etc/hosts.

I normally use static addresses on my home
network, so everyone knows who he is, and I
can refer to everyone by name, and all the
host names agree. Just avoid the address
range used for DHCP by the router.
Raperswil
Occasional Advisor

Re: X problems

Thanks for the reply
My router assigns an IP of 192.168.1.82

My question is if I want to assign an IP outside of the range of IPs the router assigns (like you say) such as 192.168.100.200, do I need to enter this in the /etc/hosts file?

Can I continue to keep it as a DHCP client in this case?

Thanks in advance.
Steven Schweda
Honored Contributor

Re: X problems

You can try keeping the dynamic address and
adding it (and a name) to the DNS or
/etc/hosts. You can also try using a static
address.

If you use a static address, then you will
not be using DHCP. (I assume that your
router can tell you which addresses it's
using for DHCP, or else you can tell it which
ones it should be using.)

If the problem is with name/address
resolution, it may not matter whether you
use DNS. I prefer static addresses because
I can say things like:

export DISPLAY=alp:0.0

instead of having to worry about what my IP
address is today, and then having to specify
that.
Steven Schweda
Honored Contributor

Re: X problems

> If the problem is with name/address
> resolution, it may not matter whether you
> use DNS. [...]

Oops. That should have said:

If the problem is with name/address
resolution, it may not matter whether you
use DHCP. [...]
D Block 2
Respected Contributor

Re: X problems

You can try testing using command: xclock

You might want to use DHCP for now. In future, change to static ip using command setparms. Or update /etc/rc.config.d/netconf (see help on this file).

What does command: xhost +
give you ?
Golf is a Good Walk Spoiled, Mark Twain.
Raperswil
Occasional Advisor

Re: X problems

GUYS,

My /etc/hosts already has an entry like so:
192.168.1.82 pappu.gateway.2wire.net pappu

I started SAM from CLI. Then went to NETWORKING. Here I somehow made /etc/hosts the primary choice, disabled DNS as a second chice. So /etc/hosts was the only choice. Then I rebooted and I got X working!!

THanks to all.
Raperswil
Occasional Advisor

Re: X problems

This thread is closed. Thanks to all who helped.