Non-root users unable to log in. [5]

Non-root users unable to log in.

Thursday, July 13, 2006 12:17 AM - Jacob Ping

We have an AIX 5.3 server with various clients, mostly WindowsXP Service Pack 2. The root user is the only id able to login to the aix server via X-Manager. Attached are the logs from the client and there are no error messages. The login screen appears and the user enters their login id and password then the x-manager application closes.
Attachment X2.log (3.5 KB)  


Re: Non-root users unable to log in.

Friday, July 14, 2006 6:22 PM - Support

This problem might occur when there is an incorrect setting in user profiles.

Please try the following:

1. remove any "DISPLAY" settings in .dtprofile and .profile.
2. Try creating a new user and log in freshly.

If the problem persists, we need more information to further support you:

- /var/dt/Xerrors, $HOME/.dt/startlog, and $HOME/.dt/errorlog files in AIX

Hope to solve your problem.

--
Technical Support


Re: Re: Non-root users unable to log in.

Monday, September 11, 2006 11:15 PM - Jacob Ping

I've created several new accounts and still get the same issue:

here are the logs you requested:
Startlog:
--- Mon Sep 11 09:06:39 CDT 2006
--- /usr/dt/bin/Xsession starting...
--- Xsession started by dtlogin
--- sourcing /apps/ctm/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- sourcing /usr/dt/config/Xsession.d/0040.xmbind...
--- sourcing /usr/dt/config/Xsession.d/0050.dtxmodmap...
--- starting /usr/dt/bin/dthello &
/usr/dt/bin/dthello: can't open display
--- starting /usr/dt/bin/dtsearchpath
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession using /apps/ctm/.login...
Error: Can't open display: hjunlt190a95.hdmc.harley-davidson.com:1
1356-265 /usr/bin/X11/xsetroot: Unable to open display: hjunlt190a95.hdmc.harley-davidson.com:1.
mwm: Could not open display.
Error: Couldn't find per display information

var/dt/Xerrors log:
Mon Sep 11 09:06:22 2006
error (pid 757838): A graphics adapter was not found. No attempt will be made to start the Xserver. See /usr/dt/README for instructions on how to skip this check for a graphics adapter.



There is no $HOME/.dt/errorlog


Re: Re: Re: Non-root users unable to log in.

Tuesday, September 12, 2006 3:59 PM - Support

DNS may have an invalid name-to-ip or ip-to-name entry for your PC.

Talk to your network administrator and check your entry in the forward and reverse lookup tables. Make sure that "hjunlt190a95.hdmc.harley-davidson.com" is the correct domain for your PC.

---
Technical Support


Re: Re: Re: Re: Non-root users unable to log in.

Thursday, September 14, 2006 4:48 AM - Jacob Ping

I verified the hostname and resolution in DNS. Everything looks ok from that standpoint. The interesting thing is that I can access the server via XManager when I use the root id but not any other user. I have several other systems that have no issue and they were all built from the same bootable image.



Re: Re: Re: Re: Re: Non-root users unable to log in.

Thursday, September 14, 2006 4:42 PM - Fung Swei Cheng

Firstly, your startlog shows .dtprofile is located in the /apps/ctm/ directory. This is not normal. Usually .dtprofile is created in users¿ home directory. Check if this is intended. Also, make sure that the DISPLAY value is not manually assigned in .dtprofile or any other login scripts.

Secondly, you may have incorrect permission on directories or files required to run CDE. Talk to the system administrator to find what which directory or file has incorrect permission.


FYI, if you can access the server with root account, it means Xmanager is working properly. This is server setup issue. Talk to your system admin and ready your server for XDMCP.


Previous views: 508