1833188 Members
2755 Online
110051 Solutions
New Discussion

CDE login

 
SOLVED
Go to solution
minmoo
Contributor

CDE login

hi
I have a problem with CDE. I can't login system with cde.
error message : /var/dt/Xerrors
error (pid 2731): Can not lock pid file /var/dt/Xpid, another Dtlogin is running (pid 1700)
cpp: "", line 114: error 4052: Unknown preprocessing directive.
cpp: "", line 116: error 4052: Unknown preprocessing directive.
X connection to :0.0 broken (explicit kill or server shutdown).

How can i resolve it?
3 REPLIES 3
Steve Steel
Honored Contributor

Re: CDE login

Hi


1- ps -ef to get dtlogin pid and kill it.
2- Check to confirm it is not running.
3- rm /var/dt/Xpid
4- sh -x /sbin/init.d/dtlogin.rc start >> /tmp/dtlog


Try again


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Alex Glennie
Honored Contributor

Re: CDE login

Steve's suggestion will probably work

so more for information purposes than anything :

the Xpid file should contain the parent pid of dtlogin

Remember ps -ef should return at least 2 dtlogins :
1) the parent (deamon)
2) a child per display.

so you may have to kill both or preferably try :

/sbin/init.d/dt.login.rc stop followed by a [start].

If you still have problems : what run level are you at ? how many dtlogins or vuelogins or xdm/gdm processes are running:

try dropping to run-level 2 then back to 3 result ?

If still problems at the point run dr_dt &post the output
Wodisch
Honored Contributor
Solution

Re: CDE login

Hello,

somebody has modified one or many X-Windows resource files, as "cpp" is used on those intrinsically!
Check for changed ones below "/etc/X11" and "/etc/dt/config" and "/usr/dt/config", perhaps temporarily replace them by unchanged ones form below "/usr/newconfig" and try again.

HTH,
Wodisch