Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Servers Support => Topic started by: gargsachin_ait on May 22, 2009, 05:02:09 PM
-
Hey all
M using RHEL5. I configured NIS server. And on client side m able to connect on login shell by NIS user. But i am unable to login in GUI mode. So please help me to login graphically.
Thanks
-
Hi...
for login through gui you require users home directory.
share your server home directory thru. nfs.
and mount /home directory autofs utility in linux.
Better option you create your remote user directory on different location. ex. /rhome/
use command useradd -d /rhome/test test
it will create test user home directory on /rhome directory. and share /rhome directory thru nfs.
on client machine configuration
1) edit auto.master
enter below test on bottom of this file.
/rhome /etc/auto.misc
2) edit /etc/auto.misc
add line to bottom of this file.
* -rw,soft,intr 192.168.1.1(ip of your nfs & nis server)/rhome/&
restart autofs service.
above steps will mount your /rhome dir. on client machines /rhome/ directory.
also you need to change client machine authentication settings.
use authconfig-tui utility click to nis provide nis server name and ip address.
then restart ypbind service. this service will map your nis server login information. ( passwd group files etc)
after that try to login with test user it will login through GUIā¦
thanks.
-
Hey puja i m still unable to login graphically but i m enable to login in shell..............
Please help
-
I haven't got a chance to setup this before:
Check this
https://bugzilla.redhat.com/show_bug.cgi?id=102402
-
Hi,
Try the below method,its working for me.Also make sure that you have mounted the home directory properly.If its not mounted then it will not work.
1. System->Admin->Authentication->Enable NIS support->
NIS domain (Eg: notexample)
Server (server1.example.com)
2.service ypbind restart
chkconfig ypbind on
3.vim /etc/auto.master
# Type the below sentence after /net
/home/guests /etc/auto.home
:wq
4.vim /etc/auto.home
* -rw,intr,soft server1:/home/guests/&
:wq
5.service autofs restart
chkconfig autofs on
6.Now login as guest user which is located under /home/guests
Eg:guest100
su - guest100
guest100>startx -- :2
#2 is the terminal or your station number.The above line will help you login in graphical mode with username as guest100
With Regards,
Puja