LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 10-17-2008, 04:30 AM   #1
ingerul9
Member
 
Registered: Jan 2007
Posts: 35

Rep: Reputation: 15
Lightbulb Solaris 9 XDM NIS login problem


Hi everybody. I've got a problem with logging with GUI on Solaris 9.

I can login just fine with ssh from putty on my NIS user but when I try to do the same and login with GNOME or CDE after I hit the username it just hangs.

This problem appears even if I type any name in the user column. It just hangs. I can login with root though on CDE or GNOME. Is there some kind of problem with the users?

I've tried to login with root and then su NISuser but it doesn't get the correct mapping for my home directory. I need XDM login for an application that I need to use with my NIS user.
 
Old 10-17-2008, 05:59 AM   #2
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
If you're logging in as root and then 'su-ing' to your user and the $HOME is not mapping properly, then this will have a direct impact on you trying to login direct thru X/Gui.

When you ssh in (as your userid),do you get your $HOME directory as your cwd?

STuart.
 
Old 10-17-2008, 06:41 AM   #3
ingerul9
Member
 
Registered: Jan 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Yes when I ssh with my NIS user it corectly mounts my HOME directory.
 
Old 10-17-2008, 07:53 AM   #4
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
and are all the ~/.* files owned by you, in a group you have write access for, and the subdirectories and files have write permission for you?

Stuart
 
Old 10-17-2008, 07:59 AM   #5
ingerul9
Member
 
Registered: Jan 2007
Posts: 35

Original Poster
Rep: Reputation: 15
Yes. I have writing permissions in my HOME directory to me and my group.
 
Old 10-17-2008, 08:56 AM   #6
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
Sorry to labour the point, but what about the . files, such as .Xauthority, do you own all these and have write perms?
 
Old 10-17-2008, 09:13 AM   #7
ingerul9
Member
 
Registered: Jan 2007
Posts: 35

Original Poster
Rep: Reputation: 15
The . files yes I own them and have the possibility of writing them. The .Xauthority file has -rw------- and it's owned by my NIS user and group. Strangely enough I have another system with Solaris 8 installed and although they have the same configuration the Solaris 8 configuration works with GUI login and the Solaris 9 doesn't as I have stated.

I forgot to mention that for the Solaris 9 I have installed latest available patches. Is it possible to be some kind of security enhanced procedure in one of the patches?

Last edited by ingerul9; 10-17-2008 at 09:16 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to login to NIS client machine(Ubuntu) using NIS login user name crazymoonboy Linux - Server 10 05-08-2015 07:28 AM
solaris nis server and linux nis client configuration soumalya Solaris / OpenSolaris 1 04-08-2008 11:25 PM
XDM login problem dodoloe Slackware 5 01-01-2006 10:33 PM
How to setup a solaris NIS client while with a Linux NIS server? ntcm Linux - Security 2 03-31-2004 12:43 PM
How to setup a Solaris NIS client while with a Linux NIS server? ntcm Linux - General 1 03-31-2004 06:10 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration