Re: Unable to connect to HP-UX 11.11 via eXceed 7.1



In article <1150387876.285641.163490@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, Smoke Dogg
wrote:
Hello all HP-UX Gurus,

I am trying to connect to an HP-UX 11.11 workstation via Hummingbird
eXceed 7.1.

I modified the following file:

/var/adm/inetd.sec

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# The lines in the file contain a service name, permission field and
# the Internet addresses or names of the hosts and/or networks
# allowed to use that service in the local machine.
# The form for each entry in this file is:
#
# <service name> <allow/deny> <host/network addresses, host/network
names>
#
# For example:
#
# login allow 10.3-5 192.34.56.5 ahost anetwork
login allow 10.1.1.100 winxp01
#
# The above entry allows the following hosts to attempt to access your
system
# using rlogin:
# hosts in subnets 3 through 5 in network 10,
# the host with Internet Address of 192.34.56.5,
# the host by the name of "ahost",
# all the hosts in the network "anetwork"

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I also added the following line in /usr/lib/X11/app-defaults/XTerm
*loginShell:True

The following files do not exist.
/usr/lib/X11/app-defaults/HPterm
/etc/dt/app-defaults/C/Dtterm
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This will be found as /usr/dt/app-defaults/C/Dtterm. Don't change that file!
Copy it to /etc/dt/app-defaults/C/Dtterm and change the copy. All changes to
CDE files should happen on a copy under /etc/dt.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When I bring up Exceed I see the host name and IP Address but when I
try and connect the X window does not come up. Are their any other
files I need to modify or create?

Neither of the files you modified has anything to do with allowing in incoming
X connection.

The inetd.sec file is for daemons started by inetd, and your X connection is
not...

Setting "*loginShell: True" will make new Xterm windows be "login shells" - in
other words, they will source your dot files as happens when you login...

What you need to do is a) make sure you are running at the correct runlevel for
X and b) you modify the correct files to allow X connections.

For "a", make sure you have a link in /sbin/rc3.d like this:

S990dtlogin.rc -> /sbin/init.d/dtlogin.rc

You may need to run "/sbin/init.d/dtlogin.rc start" to start the dtlogin
daemon... use 'ps -ef' to check if it is running.

For "b", take a look at /usr/dt/config/Xaccess. It should have the following
entries uncommented:

* # grant service to all remote displays

* CHOOSER BROADCAST # any indirect host can get a chooser

Note those "*" chars need to be uncommented.

If you need to modify the file to get the entries correct, copy it to
/etc/dt/config/Xaccess and modify that copy.

Kevin
--
Unix Guy Consulting, LLC
Unix and Linux Automation, Shell, Perl and CGI scripting
http://www.unix-guy.com
.



Relevant Pages

  • Re: Unable to connect to HP-UX 11.11 via eXceed 7.1
    ... # The above entry allows the following hosts to attempt to access your ... The inetd.sec file is for daemons started by inetd, and your X connection is ... X and b) you modify the correct files to allow X connections. ...
    (comp.sys.hp.hpux)
  • HSRP on multilayer switches
    ... Connected to each end of this gigaman are Catalyst ... With the MAN connection, these hosts appear ... The hosts don't run OSPF, though they can run RIPv2 and we could ...
    (comp.dcom.sys.cisco)
  • Jezebel will generate them.
    ... It can powerfully absorb frightened and hosts our strict, ... The occasion ... Well Osama will flow the suicide, and if Basksh hourly crys it too, the ... fun in connection with Tariq's covenant. ...
    (sci.crypt)
  • Re: Design question
    ... a message is sent (via TCP connection) to every other hosts ... > complexity, synchronization lag, ... I like your "server" approach. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Design question
    ... a message is sent (via TCP connection) to every other hosts ... synchronization lag, ... For failover you can introduce 2 or more servers: ...
    (microsoft.public.win32.programmer.networks)