Networking Forums

Networking Forums > Computer Networking > Linux Networking > NIS not allowing GUI login

Reply
Thread Tools Display Modes

NIS not allowing GUI login

 
 
Rich
Guest
Posts: n/a

 
      10-18-2004, 11:37 PM
hi all

any help appreciated, I couldn't resolve this at the NIS home page.

in a test environment I have

1 nismaster
1 nisslave

5 clients 4 of which are legacy RH7.3 and one RH9

my nis created users can login via telnet, ssh and text mode (run level 3)

but cannot login via the Gnome or KDE GUI...


IF I create a local /home/username directory on the clients ...they can use
the GUI, which sorta defeats the NIS server role.

any help in troubleshooting this is appreciated.

--

Rich........



__________________________________________________ _____________________________
Posted Via Uncensored-News.Com - Accounts Starting At $6.95 - http://www.uncensored-news.com
<><><><><><><> The Worlds Uncensored News Source <><><><><><><><>

 
Reply With Quote
 
 
 
 
martin
Guest
Posts: n/a

 
      10-19-2004, 07:32 AM
"Rich" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...

> my nis created users can login via telnet, ssh and text mode (run level 3)
> but cannot login via the Gnome or KDE GUI...
>
> IF I create a local /home/username directory on the clients ...they can use
> the GUI, which sorta defeats the NIS server role.


Hi Rich,
I posted exactly this question a week or so ago, as have several other
people in the past and it has never been answered as far as I can find
- do a google groups for a "NIS and KDM login". I solved it by
changing the following entry in /etc/ssh/sshd_conf

from: #PAMAuthenticationViaKbdInt no

to: #PAMAuthenticationViaKbdInt yes

This may or may not work for you. You say that your nis users can
login via ssh. Mine can't login via ssh but they can login via telnet,
text and, with the above change, KDE GUI.
--
Martin Woolley
ICT Support
Handsworth Grammar School
Isis Astarte Diana Hecate Demeter Kali Inanna
 
Reply With Quote
 
Thorsten Scherf
Guest
Posts: n/a

 
      10-19-2004, 02:25 PM
Rich wrote:
> > in a test environment I have

>
> 1 nismaster
> 1 nisslave
>
> 5 clients 4 of which are legacy RH7.3 and one RH9
>
> my nis created users can login via telnet, ssh and text mode (run level 3)
>
> but cannot login via the Gnome or KDE GUI...


did you export the users home directories via nfs and mounted them via
automounter when the users logged in? if not, your X will never start
up, since it has no access to its configuration directories (.gnome,
..kde), which normally exists in the users home directories.

cu,
thorsten
 
Reply With Quote
 
Rich
Guest
Posts: n/a

 
      10-20-2004, 12:35 AM

"martin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) om...
> "Rich" <(E-Mail Removed)> wrote in message

news:<(E-Mail Removed)>...
>
> > my nis created users can login via telnet, ssh and text mode (run level

3)
> > but cannot login via the Gnome or KDE GUI...
> >
> > IF I create a local /home/username directory on the clients ...they can

use
> > the GUI, which sorta defeats the NIS server role.

>
> Hi Rich,
> I posted exactly this question a week or so ago, as have several other
> people in the past and it has never been answered as far as I can find
> - do a google groups for a "NIS and KDM login". I solved it by
> changing the following entry in /etc/ssh/sshd_conf
>
> from: #PAMAuthenticationViaKbdInt no
>
> to: #PAMAuthenticationViaKbdInt yes
>
> This may or may not work for you. You say that your nis users can
> login via ssh. Mine can't login via ssh but they can login via telnet,
> text and, with the above change, KDE GUI.
> --
> Martin Woolley
> ICT Support
> Handsworth Grammar School
> Isis Astarte Diana Hecate Demeter Kali Inanna


Thank you for the prompt answer, I'll certainly give it a try.

rich




__________________________________________________ _____________________________
Posted Via Uncensored-News.Com - Accounts Starting At $6.95 - http://www.uncensored-news.com
<><><><><><><> The Worlds Uncensored News Source <><><><><><><><>

 
Reply With Quote
 
Rich
Guest
Posts: n/a

 
      10-20-2004, 12:35 AM

"Thorsten Scherf" <(E-Mail Removed)> wrote in message
news:4175243c$0$22618$(E-Mail Removed)...
> Rich wrote:
> > > in a test environment I have

> >
> > 1 nismaster
> > 1 nisslave
> >
> > 5 clients 4 of which are legacy RH7.3 and one RH9
> >
> > my nis created users can login via telnet, ssh and text mode (run level

3)
> >
> > but cannot login via the Gnome or KDE GUI...

>
> did you export the users home directories via nfs and mounted them via
> automounter when the users logged in? if not, your X will never start
> up, since it has no access to its configuration directories (.gnome,
> .kde), which normally exists in the users home directories.
>
> cu,
> thorsten


hi thorsten, yes they are automounted via NFS....same problem though.

rich




__________________________________________________ _____________________________
Posted Via Uncensored-News.Com - Accounts Starting At $6.95 - http://www.uncensored-news.com
<><><><><><><> The Worlds Uncensored News Source <><><><><><><><>

 
Reply With Quote
 
Robert Komar
Guest
Posts: n/a

 
      10-20-2004, 04:05 PM
Rich <(E-Mail Removed)> wrote:
>
> any help appreciated, I couldn't resolve this at the NIS home page.
>
> in a test environment I have
>
> 1 nismaster
> 1 nisslave
>
> 5 clients 4 of which are legacy RH7.3 and one RH9
>
> my nis created users can login via telnet, ssh and text mode (run level 3)
>
> but cannot login via the Gnome or KDE GUI...
>
>
> IF I create a local /home/username directory on the clients ...they can use
> the GUI, which sorta defeats the NIS server role.
>
> any help in troubleshooting this is appreciated.


Hi,
this doesn't sound like an NIS problem, but rather a Gnome or KDE problem.
If the user has access to the home directory, then error messages are
usually logged to .xsession-errors. Look in there to see why the session
was aborted.

Cheers,
Rob Komar
 
Reply With Quote
 
Juhan Leemet
Guest
Posts: n/a

 
      10-20-2004, 10:06 PM
On Tue, 19 Oct 2004 00:32:15 -0700, martin wrote:
> "Rich" <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
>> my nis created users can login via telnet, ssh and text mode (run level 3)
>> but cannot login via the Gnome or KDE GUI...
>>
>> IF I create a local /home/username directory on the clients ...they can use
>> the GUI, which sorta defeats the NIS server role.

>
> Hi Rich,
> I posted exactly this question a week or so ago, as have several other
> people in the past and it has never been answered as far as I can find
> - do a google groups for a "NIS and KDM login". I solved it by
> changing the following entry in /etc/ssh/sshd_conf
>
> from: #PAMAuthenticationViaKbdInt no
>
> to: #PAMAuthenticationViaKbdInt yes


Hmm, that is odd. On my SuSE 9.1 I have openssh-3.8p1-33 installed. The
only pam related parameter I have is:

UsePAM yes

I guess that is the same as your parameter change?

....but then, what does this have to do with GUI login problems?

> This may or may not work for you. You say that your nis users can
> login via ssh. Mine can't login via ssh but they can login via telnet,
> text and, with the above change, KDE GUI.


I would be more inclined to look at permissions on accessing home
directories, and whether home directories are automounted correctly. I
have had situations when I could login using ssh but my home directory was
not accessible (but there was an error message!). In such a case, by
default I think you end up at the root /. GUI initialization would not
work then, since normal users don't have priviledges to write into /.

--
Juhan Leemet
Logicognosis, Inc.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Celan 0800I-EA login? (was can´t find login to switch) Brian Kals Network Routers 1 04-01-2009 02:35 PM
Allowing for WPA Rob Wireless Networks 2 01-05-2007 12:14 AM
How to login with native IPASS Login string into netvigator login? Erhard Broadband 0 12-01-2004 12:58 PM
How to login with native IPASS Login string into netvigator login? Erhard Broadband 0 12-01-2004 06:24 AM
Sometimes users can't login after changing password on domain at first login edg Windows Networking 0 11-11-2004 11:30 PM



1 2 3 4 5 6 7 8 9 10 11