Operating System - HP-UX
1820280 Members
3106 Online
109622 Solutions
New Discussion юеВ

Re: x_start will not execute, working with Exceed/Hummingbird

 
James Ellis_1
Super Advisor

x_start will not execute, working with Exceed/Hummingbird

I am having problems with setting up Hummingbird/Exceed on my Windows XP.

I set up x_start in my home directory. Now, when I try to execute this by doing this

$ ./x_start

Error messages come up and these are the msg

./x_start[7]: /home/username/.profile: cannot execute
/usr/bin/x11/xrdb: connection refused
/usr/bin/x11/xrdb: cannot open disdplay 'my computer IP'
Error: couldn't find per display information

When I try to run Exceed, I go to this link

Hummingbird Connectivity v7.1.1
Exceed
Xstart
and put in the command line
/home/username/x_start &

I can see the client services start, but then it gets hung up.

What do these errors indicate? I am not able to do nslookup of my Windows XP IP address, but nslookup works for the other servers. Should I put my IP in the host files?

Thanks.
"In the middle of difficulty lies opportunity" -Einstein
12 REPLIES 12
Mark Grant
Honored Contributor

Re: x_start will not execute, working with Exceed/Hummingbird

James,

Yes or use DHCP or any other means to get the server to be able to resolve your PC. This is quite a common problem.

Regards
Never preceed any demonstration with anything more predictive than "watch this"
Steven E. Protter
Exalted Contributor

Re: x_start will not execute, working with Exceed/Hummingbird

Check the permissions on the .profile, make sure the user in question can read it. It does not need execute rights.

Make sure ipfilter is not closing down port 7000.

Check the settings in /etc/rc.config.d/xfs make sure the first variabel is set to 1.

Make sure the DISPLAY variable is set as follows:
DISPLAY=ip_of_workstation:0.0

Make sure the variable is exported.

Exceed 7.1 gave us so much trouble, we downgraded to 7.0, which we still use. Consider an upgrade or downgrade.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James Ellis_1
Super Advisor

Re: x_start will not execute, working with Exceed/Hummingbird

Mark,

You mean use DHCP in the HPUS 11.0? This is a fixed address server, and from my PC it looks like Windows XP is using DHCP (but my PC seems to have a fixed IP?).

Please elaborate on what you mean.

Thanks,
Jim
"In the middle of difficulty lies opportunity" -Einstein
Mark Grant
Honored Contributor

Re: x_start will not execute, working with Exceed/Hummingbird

James,

To test if name resolution is the problem, just put your PC's ip address in /etc/hosts and any old hostname will do but why not use the real hostname of your PC. Make sure /etc/nsswitch.conf uses "files" before "DNS". If this then works, you have a problem with name resolution and it is probably your DNS setup. If it still doesn't work then let us know as there are lots of other possibilites icluding those in the previous post.
Never preceed any demonstration with anything more predictive than "watch this"
RolandH
Honored Contributor

Re: x_start will not execute, working with Exceed/Hummingbird

If you use a fix IP for your PC the add it to your /etc/host file

# /etc/host


Then be sure that your server will resolve the name from the /etc/hosts file first and not from the DNS.
A line in the /etc/nsswitch.conf file will do that

hosts: files [NOTFOUND=continue] dns

HTH
Roland
Sometimes you lose and sometimes the others win
Alex Glennie
Honored Contributor

Re: x_start will not execute, working with Exceed/Hummingbird

xrdb needs a valid DISPLAY and associated Xserver running to complete sucessfully, I'd advise you add the ip address of your pc to /etc/hosts of the hpux system and get nslookup's of ip and hostname working first.

next I'd ensure I can connect to the CDE session .... does Exceed version 7 not have an XDMCP broadcast option to list all available hosts listening for XDMCP requests.

Lastly I'd set up my /x_start routine ... is this on the unix box ? if yes what does it contain .... I only have an old version and have never heard of it before

ps reading my old documentation it seems that the x_start script may need to be on the PC is this the case ... appologies if it is.
Mark Grant
Honored Contributor

Re: x_start will not execute, working with Exceed/Hummingbird

James,

I just re-read my first post and didn't mean to say DHCP, apologies. I meant DNS.

Never preceed any demonstration with anything more predictive than "watch this"
Tim Sanko
Trusted Contributor

Re: x_start will not execute, working with Exceed/Hummingbird

James,

If you are running exceed,
1 Use the program xconfig go to communications and select xdmp-broadcast.
2. Click the configure button.
3. Select the file to edit and click edit.

Enter your machine names and IPs.

save and exit.

This will put you in the CDE environment.

Tim
James Ellis_1
Super Advisor

Re: x_start will not execute, working with Exceed/Hummingbird

Well, I am able to resolve my computer's name (Windows XP) with dns on the HP server. This does not help me when I execute Exceed on my pc. It just gets hung up and nothing happens.

I have not set up /etc/nsswitch.conf with
hosts: files[NOTFOUND=continue] dns

Alex: yes the x_start I am referring to is on a unix box, HPUX 11.0 box

Tim: after I select the configure button, and select the file to edit, what file am I supposed to edit?

Thanks for your help guys, this is much harder to configure than my previous Exceed.

"In the middle of difficulty lies opportunity" -Einstein
Tim Sanko
Trusted Contributor

Re: x_start will not execute, working with Exceed/Hummingbird

The file xdmcp.txt. it resides in c:\documents and settings\all users\application data\hummingbird\connectivity\7.X\exceed
James Ellis_1
Super Advisor

Re: x_start will not execute, working with Exceed/Hummingbird

Tim,

I don't see xdmcp.txt at the location you indicated. That is, I am able to folow the path

/document and settings/all users/application data

it stops there, there is no hummingbird.

Let me go check something...
"In the middle of difficulty lies opportunity" -Einstein
James Ellis_1
Super Advisor

Re: x_start will not execute, working with Exceed/Hummingbird

Tim,

When I edited xdmcp.txt file, I put in the server IP, and saved it. When I got out of it and clicked Yes to perform server reset now. After that I get a message saying that Xconfig is not responding? Any reason why Xconfig will not respond?

Alex...yes the /x_start is on the unix box. Here is what my x_start file looks like, this is the exact same set up as another guy I work with, but his works and not mine. See below what my x_start looks like...

#
# sun o/s
#
DISPLAY=143.134.57.25:0.0
export DISPLAY

if $HOME/.profile
then . $HOME/.profile
fi
/usr/bin/X11/xrdb -all /home/ellisj/.Xresources
/usr/bin/X11/hpterm -ls -sb -fg Yellow -bg MidnightBlue -fn 10x20 -T

"Hserv10 Jim Ellis - Window 1" -display 143.134.57.25:0.0 &
/usr/bin/X11/hpterm -ls -sb -fg Orange -bg Black -fn 10x20 -T "Hserv10 Jim Ellis - Window 2" -display 143.134.57.25:0.0 &
/usr/bin/X11/hpterm -ls -sb -fg Orange -bg Black -fn 8x15 -T "Hserv10 Jim Ellis - Window 3" -display 143.134.57.25:0.0 &

Any more helpful hints?

Thanks.

"In the middle of difficulty lies opportunity" -Einstein