Operating System - HP-UX
1828252 Members
3361 Online
109975 Solutions
New Discussion

Re: problem in opening reflection X

 
Ahmed_41
Super Advisor

problem in opening reflection X

dear all
i have a problem that is very strange, i used to connect with reflection X to my HPUX machine, lately i strted to get this error mesg, can someone tell me what to check and how to solve this ?
i also noticed that when i copy the .profile file from any normal user and put it for the root the problem is resolved but few couple of logins and i start getting the same error again
please help
4 REPLIES 4
Devender Khatana
Honored Contributor

Re: problem in opening reflection X

Hi,

It do not seems to be corelated to .profile. Morover it seems to be a networking/name resolution issue.What are you using for name resolution DNS/NIS ?? Can you attach /etc/resolv.conf.

Also do you find any differences in the two .profiles.


HTH,
Devender
Impossible itself mentions "I m possible"
Ahmed_41
Super Advisor

Re: problem in opening reflection X

i am using hosts file for resolution,
and i cannot find a resolv.conf file on my machine, is this right ?
thanks in advance
Robert-Jan Goossens
Honored Contributor

Re: problem in opening reflection X

Hi Ahmed,

Are you connected to the HPUX server with a pc ?
Is it running dhcp? Could it be that your pc ip is changed?

Check if your HP server can find both name and ip of your pc.
# nslookup ip_address_pc
# nslookup host_name_pc

Hope this helps,
Robert-Jan
Ahmed_41
Super Advisor

Re: problem in opening reflection X

Guys,

i discovered this, i try to run a script on the machine listed below, when i stopped this script restarted the X server things worked fine, can someone help me tell me what is this script doing to my X server and why it makes me unable to login and get this error, and how to modify the script to avoid this.

thanks in advance


#!/sbin/sh -p
# run ovw on the background for jovw access
# List of maps to open
maps="default" #mapnames are default and ncbservers

#exec > /tmp/tmp.log 2>&1

export DISPLAY=:12

# Start Xvfb on $DISPLAY
/usr/bin/X11/Xvfb $DISPLAY &
xvfb=$!

sleep 2

# Start ovw in readonly mode
for i in $maps
do
/opt/OV/bin/ovw -ro -map $i &
echo $i
ovw="$! $ovw"
done

trap "kill -9 $ovw;sleep 3;kill -9 $xvfb" 2
trap "kill -9 $ovw;sleep 3;kill -9 $xvfb" 15

#trap
#echo xvfb=$xvfb, ovw=$ovw

wait $xvfb