Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

Finding the Login Server Process ID

By default, the login server stores its process ID in /var/dt/Xpid.

To change this, you can set the Dtlogin.pidFile resource in the Xconfig file. If changed, the directory specified must exist when the login server is started.

To modify Xconfig, copy Xconfig from /usr/dt/config to /etc/dt/config. After modifying /etc/dt/config/Xconfig, tell the login server to reread Xconfig by typing:

/usr/dt/bin/dtconfig -reset

This issues the command kill -HUP login_server_process_ID.

For example, to store the login server process ID in /var/myservers/Dtpid, set the following in the Xconfig file:

Dtlogin.pidFile: /var/myservers/Dtpid

When the login server is restarted, the login server will store its process ID in /var/myservers/Dtpid. The /var/myservers directory must exist when the login server is started.