1851970 Members
3733 Online
104063 Solutions
New Discussion

Re: ROOT login CDE hangs

 
Ratzie
Super Advisor

ROOT login CDE hangs

When I log in to root, it starts the CDE login and hangs with the hour glass.

I just moved all of roots profiles to /rootuser
and changed the /etc/passwd file. Would this have something to do with it. When I do a ps -ef I get...

/sbin/sh -c echo 'not sourcing /rootuser/.profile (see /root
10 REPLIES 10
Michael Tully
Honored Contributor

Re: ROOT login CDE hangs

After changing the home directory of root and updating /etc/passwd file, did you move root's files from / to /rootuser like .profile .sw elm directory etc
Anyone for a Mutiny ?
T G Manikandan
Honored Contributor

Re: ROOT login CDE hangs

check $HOME/.dt/errlog and startlog

REvert
T G Manikandan
Honored Contributor

Re: ROOT login CDE hangs

check the doc id KBRC00004688 troubleshooting doc for CDE

The main problems with CDE would be the name resolution.

check whether you could resolve the hostname and ip-address

#nslookup
#nslookup
Ratzie
Super Advisor

Re: ROOT login CDE hangs

This the error from the startlog...
more startlog
--- Sun Dec 14 15:14:40 CST 2003
--- /usr/dt/bin/Xsession starting...
--- Xsession started by dtlogin
--- sourcing /rootuser/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
--- sourcing /usr/dt/config/Xsession.d/0060.srcsysenv...
--- sourcing /etc/dt/config/Xsession.d/8000.migration...
--- starting /usr/dt/bin/dthello &
--- starting /usr/dt/bin/dtsearchpath -ksh
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession ...
not sourcing /rootuser/.profile (see /rootuser/.dtprofile)
T G Manikandan
Honored Contributor

Re: ROOT login CDE hangs

Why is it again looking into /rootuser.what is the home dir for the root user?

you can move the .profile and .dtprofile files

$mv $HOME/.profile $HOME/.profile.org
$mv $HOME/.dtprofile $HOME/.dtprofile.org

revert
Jeroen Peereboom
Honored Contributor

Re: ROOT login CDE hangs

So you changed roots home directory to /rootuser (in /etc/passwd).

I assume you also copied directory .dt from root's old homedir to /rootuser.

Is there an errorlog too (besides startlog)
Maybe for testing purposes: rename /rootuser/.dt to something else, such that you have a clean dce login environment.
In this directory there is a 'default' or a home session. Maybe there are referemces to root's old homedir?

JP.
Tony Schmidt
Occasional Advisor

Re: ROOT login CDE hangs

Even if you left the /rootuser empty you should still be able to log in. Did you check the /etc/passwd file to make sure didn't corrupt it. The root user must have a valid shell in /sbin. Also your /etc/host file must be correct for your hostname
Ratzie
Super Advisor

Re: ROOT login CDE hangs

I can login thru ssh no problem and the /etc/passwd file is fine.

If I rename the .dt directory to something else, will it rebuild the directory?

There is no error in the error log.
Tony Schmidt
Occasional Advisor

Re: ROOT login CDE hangs

You can delete the .dt dir and it will rebuild it. If you are using ksh is this in your /etc/shells file, with the correct path?
I.Delic
Super Advisor

Re: ROOT login CDE hangs

Hi,

You have to delete .dt directory from root home-dir.

To check root home-dir just typ cd ~

Log out . Make a new connection

System will rebuild the .dt directory


Succes

Idriz