07-23-2014 - Problem faced on two OPIs after they were rebooted and user "physics" tried to login from KDE Login Screen.

Symptoms -

When two OPIs were rebooted, kde login screen came up correctly, but user physics was not able to login and start kde session. User  root was able to login successfully from KDE login session.

Error message when starting kde session as "physics"

/usr/bin/iceauth: timeout in locking authority file .ICEauthority

Troubleshooting -
logon to lcls-opi30 from ssh session and issue command "dcopserver --nosid"
In case the command runs without issue then ok. Else observe errors.

issue command "strace dcopserver --nosid" to check for warnings errors.

ls -la  ~/.ICEauthority

touch .ICEauthority

problem was resolved but dont know how!


On a functioning OPI when user "physics" logs in from KDE session, you see following -

[physics@lcls-opi30 ~]$ whoami

[physics@lcls-opi30 ~]$ ps -ef | grep -i dcop | grep -v grep
physics 3705 1 0 09:55 ? 00:00:00 dcopserver --nosid

[physics@lcls-opi30 ~]$ ls -la .ICEauthority
-rw------- 1 physics lcls 20617 Jul 23 10:13 .ICEauthority

[physics@lcls-opi30 ~]$ ls -lart | grep opi30
-rw-rw-r-- 1 physics lcls 59 Jul 23 09:51 .DCOPserver_lcls-opi30_NODISPLAY
-rw-rw-r-- 1 physics lcls 57 Jul 23 09:55 .DCOPserver_lcls-opi30__0
lrwxrwxrwx 1 physics lcls 39 Jul 23 09:55 .DCOPserver_lcls-opi30_:0 -> /home/physics/.DCOPserver_lcls-opi30__0