General
cancel
Showing results for 
Search instead for 
Did you mean: 

How to activate CDE on hp-ux v3 at startup

Pietro84
Advisor

How to activate CDE on hp-ux v3 at startup

Hello,

I have installed hp-ux v3 on rx2660 server.

During installation I have only configured internal  storage and I have not added or removed additional sw.

 

When system come up (from integrated console inside the rack), CDE not start.

 

How can I check CDE is istalled and, if not, how can I install&setup?

I want CDE starts after system boot.

 

Thanks

 

-Pietro-

 

5 REPLIES
James R. Ferguson
Acclaimed Contributor

Re: How to activate CDE on hp-ux v3 at startup

Hi Pietro:

 

CDE is no longer installed by default on 11iv3 (11.31).  Mount your Operating Environment DVD and install 'CDE-XXX' where 'XXX' is the language you want, e.g. 'CDE-ENG'.

 

Regards!

 

...JRF...

Pietro84
Advisor

Re: How to activate CDE on hp-ux v3 at startup

Thanks Ferguson,

aren't there configurations needed after installing CDE-XXX?

 

-Pietro-

VK2COT
Honored Contributor

Re: How to activate CDE on hp-ux v3 at startup

Hello Pietro,

 

This is a question I often get asked when I teach HP-UX (yes, I work at HP).

 

Here is the full procedure hot to check the CDe installation:

 

a) Uncomment in /etc/inetd.conf:

 

dtspc stream tcp nowait root /usr/dt/bin/dtspcd /usr/dt/bin/dtspcd
rpc xti tcp swait root /usr/dt/bin/rpc.ttdbserver 100083 1 /usr/dt/bin/rpc.ttdbserver
cde rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd
rpc dgram udp wait root /usr/dt/bin/rpc.cmsd 100068 2-5 rpc.cmsd

 

Restart:

 

# inetd -c

b) Should be commented out in /etc/dt/config/Xconfig and /usr/dt/config/Xconfig:

 

#Dtlogin.requestPort: 0

c) Update /var/adm/inetd.sec if it exists, change hostname to the server's hostname:

 

dtspc allow 127.0.0.1 hostname

d) Make the DESKTOP=CDE, either manually in /etc/rc.config.d/desktop or:

 

# /usr/dt/bin/dtconfig -e

 

or


# ch_rc -a -p DESKTOP=CDE

 

The end result should be:

 

# grep -i desktop /etc/rc.config.d/desktop
DESKTOP=CDE

e) Finally, start CDE:

 

# /sbin/init.d/dtlogin.rc start

f) Check if running properly:

 

# ps -ef | grep dt and netstat -an | grep 177

 

dtlogin should be running and UDP port 177 should be listening

(for XDMCP traffic).

g) Diagnostics command:

 

# /usr/contrib/bin/X11/dr_dt

 

Cheers,

 

VK2COT

VK2COT - Dusan Baljevic
SanLuis
Visitor

Re: How to activate CDE on hp-ux v3 at startup

Thank you for the hint. It works as desired.

 

Now I have the question how to use remote access I've read that I need a emulation program, like Reflection.

 

I'm using a full feature demo version but I can't connect to mi HP-UX 11i v3 server using graphics session. Text session using PuTTY works as usual.

 

Do you have any idea o procedure?

 

Thank you again for you time and interest.

 

Regards

pradeep m
HPE Pro

Re: How to activate CDE on hp-ux v3 at startup

Check if the below steps help... 

 

Set-up a Font Server

It is necessary to set up a font server to provide fonts to the Reflection X Xserver so that CDE and HP-UX applications will work correctly. To determine whether or not a font server is already running on the HP-UX system, execute the following command:

$ ps -ef | grep xfs

If a font server were running, you would see the following process in the process list:

/usr/bin/X11/xfs -config /etc/X11/fs/config -port 7000 -daem

 

If a font server is already running, continue with the section "Configuring an Existing Font Server";

otherwise, go to the section "Configuring and Starting a New Font Server"

 

  • CONFIGURING AN EXISTING FONT SERVER

    Append the following font path to the end of the catalogue= line in the font

    server's config file, /etc/X11/fs/config:

    $ /usr/dt/config/xfonts/C/

    NOTE: All font paths are separated by a comma (,).

    Stop and restart the font server:

    $ /sbin/init.d/xfs stop; /sbin/init.d/xfs start

    NOTE: Stopping and restarting the font server while in use by users on Xterminals could potentially reset their Xserver, causing their session to exit.
     
  • CONFIGURING AND STARTING A NEW FONT SERVER

    Append the following font path to the end of the catalogue= line in the font server's config file, /etc/X11/fs/config:

    /usr/dt/config/xfonts/C/

    Set the RUN_X_FONT_SERVER environment variable to 1 in the /etc/rc.config.d/xfs file:

    RUN_X_FONT_SERVER=1

    Start the font server:

    $ /sbin/init.d/xfs start

    Verify that the font server has been started:

    $ ps -ef | grep xfs

     

  • RESOLVING "XFontserver error: Cannot open configuration file." 
    ERRORS

    If the error, "XFontserver error: Cannot open configuration file." results when trying to start the font server, perform one of the following steps to resolve the problem:

    • Install the latest font server patch.

    • Add the following line to the end of the /etc/rc.config.d/xfs file:

      CONFIG_FILE_NAME=/etc/X11/fs/config

  • ADDING THE FONT SERVER TO THE FONT PATH FOR CDE

    If the full CDE environment will be displayed with Reflection X, perform the following steps (on the HP-UX system) to automatically add the font server to the Reflection X Xserver's font path:


           Copy the Xsetup file from the /usr/dt/config directory to the  
              /etc/dt/config directory: 


    cp /usr/dt/config/Xsetup Xsetup

    NOTE: If this file already exists in the /etc/dt/config directory, these modifications can be made to the existing file.

    Add the following line to the end of this /etc/dt/config/Xsetup file:

    $XDIR/xset fp+ tcp/<IPADDRESS>:7000 1>/dev/null 

          where <IPADDRESS> is the IP address of the server where the font server  
          is running.  


    NOTE: The server's IP address is used, since it is more reliable than using the server's hostname due to DNS issues, that may arise.

    Change the permissions on the /etc/dt/config/Xsetup file:

    chmod 544 /etc/dt/config/Xsetup

    Set-up Reflection X

     

  • SETTING UP THE INITIAL CONFIGURATION OF REFLECTION X

    Once the font server has been started to provide Reflection X with the appropriate fonts, Reflection X can now be configured by going into the settings menu and choosing the following settings:

    • Window Manager

      Select either window mode to suit your preference; however, if "Microsoft Windows Desktop" is selected verify that "Allowed Remote Window Manager" is also selected.

    • Server

      Ensure that the "Disable Server Reset" option is not selected.

    • Fonts

      NOTE: This step only needs to be performed if CDE is not being displayed and steps for settting up the font server for CDE were not performed in the previous section.

      Modify the Font Path to include tcp/, where is the IP add address of HP-UX system where the font server is running.

    • Other

      The rest of the settings can be left with their default settings or customized as desired.

  • SETTING UP REFLECTION X TO DISPLAY CDE

    • XDMCP Broadcast

      To display a list of all of the HP-UX systems on the same subnet that are running the CDE dtlogin process in a chooser list, select "XDMCP Broadcast" in the main menu of Reflection X.

       

    • XDMCP Direct

      To go directly to a specific HP-UX system, select "XDMCP Direct" in the main menu of Reflection X and fill in the hostname or IP address of the HP-UX system "Host Name" field.

       

      NOTE: If you have problems accessing the system via the hostname, try entering the IP address to try to access the system.
Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details