Posts tagged ·

CDE

·...

Application Does Not Start from Home Session in CDE

Comments Off

Problem

An application does not start from the home session in the Common Desktop
Environment.

Although Session Manager reads the $HOME/.dt/sessions/home or

$HOME/.dt/sessions/current to set up the session when you log in, it
does not start up some applications. This includes some
shell scripts, applications that are not programmed for CDE, and some
older applications that do not recognize CDE.

When you try to set one of these applications to start up from your
home or current application, it does not come up. You also do not see
any errors logged in the $HOME/.dt/errorlog. In addition, when you change
directories to
$HOME/.dt/sessions/home and search using the grep command for the
application that you are trying
to start, it does not appear.

This is not a problem with CDE. The application does not use
the protocols that the Session Manager uses.

NOTE: Applications that do not start up from the home session are
non-ICCCM compliant. They do not write their command line
to the WM_COMMAND property (in xprop). ICCCM is CDE compatible. ICCCM expanded
is
Inter-Client Communication Conventions Manual.

Solution

If you need an application to start when you log in,
you can create a file in $HOME/.dt/sessions called sessionetc.
In this file, type the command you would like to
execute. Type this command just as you would when executing the command from a
dtterm or xterm.

Example:

If you want to start Netscape when you log in and it
does not start through your home session, you can create the sessionetc
file
and put in the following line:

/usr/bin/netscape

Comments Off

CDE Does Not Work with HACMP

Comments Off
 Technote (FAQ)
 
Question
CDE Does Not Work with HACMP
 
Answer

Problem

CDE is not working with HACMP.


Solution

The reason that CDE is not functioning is that in HACMP rotating mode, the IP addresses of the HACMP cluster are "rotated." This causes problems with CDE because CDE is very network dependent and needs to resolve the hostname and IP address of the system.

Some possible solutions follow:

  • You cannot use HACMP in rotating mode. You must be in concurrent or on the master in a cascading mode system.
  • Also ensure that dtlogin is being started after HACMP and that HACMP has not been stopped since dtlogin was started.
  • Assigning a network interface that is NOT part of the HACMP cluster as the primary interface to the machine will enable CDE to function properly.
  • If you need to run a GUI interface, and you are unable to change from rotating mode and unable to assign a interface that is not part of the HACMP cluster, you can run XDM instead of CDE.
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Operating SystemAIXHigh availability- cluster- parallel processing
 
Historical Number
isg1pTechnote0627
 
 
Comments Off

How to run a tty as the main console while running CDE on the lft?

Comments Off
 Technote (FAQ)
 
Question

User needs tty in addition to CDE console.
 
Answer
There is no problem running a tty as the console while running CDE on the lft on any of the supported levels of AIX.
1. First, set the console to point the /dev/tty0 in the following smitty screen.

smitty chcons

"PATHNAME of console" should read /dev/tty0

2. Copy the /etc/dt/config/Xservers file if it does not exist, from /usr/dt/config directory issuing the following command:


cp /usr/dt/config/Xservers /etc/dt/config


3. Edit the /etc/dt/config/Xservers file and at the bottom of the file you will find the following line.

:0 Local local@console /usr/lpp/X11/defaults/xserverrc -d 24 -T -force :0

4. Change the "local@console" part to "local@lft0" to point to the lft0 and save the file.

5. If you also need the getty process to run on the lft0 then edit the /etc/inittab and add the following line.

lft:2:respawn:/usr/sbin/getty /dev/lft0
 
 
Historical Number
isg1pTechnote1264
 
 
Comments Off