SUMMARY: CDE login failure

From: Craig Guest (craig@ISI.EDU)
Date: Mon Oct 12 1998 - 14:02:58 CDT

Thanks to all who replied to my message. I tried both suggestions, but
my first login attempt still knocks me back out to dtlogin menu. Any
login attempts thereafter works. This problem seems unique and probably
related to our CDE customizations. If I find a solution, I will

Original question:

> Hi
> I just installed Solaris 2.6 with DT 1.2. When I login through the
> dtlogin menu the login process starts then knocks me backout to
> dtlogin menu. This only seems to happen on my first login attempt any
> subsequent logins work.
> Here's my .dt/startlog on my failed attempt:
> --- Tue Sep 22 07:09:27 PDT 1998 --- /usr/dt/bin/Xsession starting...
> [.cshrc] ^B^L^A.^B^L^B..^C^T: Command not found. lost+found^W^L^Cvar\34
> 6^L^Cusr^AY^T^Hplatform^F3^L^Cetc^N^L^Cbin^C\230^U^L^Cdev ^ C^N:
> Command not found. Illegal variable name. --- Non-standard user SHELL
> '/bin/ntcsh' returned non-zero status. --- Will not start a session
> for user 'craig'
> Has anyone experienced this type behavior?
> Thanks in advance,
> Craig said:
> There are two things I look at because this is a common problem here.
> One it looks like you have an invalid shell:
> --- Non-standard user SHELL '/bin/ntcsh' returned non-zero status.
> I haven't heard of ntcsh before. And the other thing is in the .dt
> directory. When you run 2.6 it changes the dt.resources file so you
> won't be able to log into a 2.5.1 machine after you log into a 2.6
> machine. The part you have to take out is you '$HOME/.dt/sessions/
> home/dt.resources'. There is a line in that file...
> The line will usually say: dtsession*sessionLanguage: C
> And all you have to do is take off the C...
> Good luck...
> J.R. said:
> Hi Craig,
> I had the same problem when I built/installed the PDKSH on my system.
> Make sure you add /bin/ntcsh to /etc/shells (may need to create file).
> See man -s 4 shells said:
> Hello Craig
> I think you could see if there is this user login shell in /etc/shells
> file. This is an example:
> % more /etc/shells /bin/ksh /bin/rksh /bin/tcsh /bin/csh /usr/bin/
> keysh /bin/sh /bin/rsh /bin/posix/sh /sbin/sh
> /etc/shells is an ASCII file containing a list of legal shells on the
> system. Each shell is listed in the file by its absolute path name.
> I hope that it helps you.
> Bye
> Vera Alves Barros

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:50 CDT