- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- User login in Linux
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-02-2003 10:23 AM
09-02-2003 10:23 AM
Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-02-2003 11:47 AM
09-02-2003 11:47 AM
Re: User login in Linux
Try this boot your linux with the RH9.0, and during the installation choose something like 'system update' to update your system. after update, do the RH upgrade again with your Xwindows.
http://www.experts-exchange.com/Operating_Systems/Linux/Linux_Administration/Q_20695627.html#9062544
I would try editing the /etc/inittab to have a default run level of 3. This would allow you to make any changes and then you can try your X environment by running startx.
Hope this helps.
--dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-02-2003 12:37 PM
09-02-2003 12:37 PM
Re: User login in Linux
Try to log that user on using text mode (just use Ctrl+Alt+F1). Does these messages appear?
root@wotan's password:
Last login: Mon Sep 1 17:57:46 2003
Could not chdir to home directory /rooto: No such file or directory
/usr/X11R6/bin/xauth: error in locking authority file /rooto/.Xauthority
If something like this appears, then you haven't populated your NIS database correctly. I don't have a NIS machine available now, but you can use "ypcat" commands to check up all the fields of your NIS server.
HTH
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-02-2003 01:04 PM
09-02-2003 01:04 PM
Re: User login in Linux
I did define my windows correctly using the xterm command and putting it in .profile for that user. But I cannot get a desktop user login field back if I exit from this user. How do I set up a desktop for a user in Linux?
I would appreciate a url or a write up that can be pasted here.
Appreciate the help
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-02-2003 01:20 PM
09-02-2003 01:20 PM
Re: User login in Linux
Could you copy the screens and attach them to this topic?
Also, as I understand your problem is not X related, but it's NIS related. For example, the NIS points to the correct home directory of the user? Can you access the home directory of this user when you log on?
Also, normally it's neccessary NFS-mount the /home from a server, which can be the NIS master server itself or another machine which is a memeber of the NIS realm that exports /home to the machines to the domain.
[]'s
Paulo Fessel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-02-2003 09:00 PM
09-02-2003 09:00 PM
Re: User login in Linux
Generally you need to share via NFS /home directory on NIS server and on client machines
to enable the autofs service.
The syntax for /etc/auto.misc is the following:
* -intr,soft,rw,rsize=8192,wsize=8192 NIS server's IP or hostname:/home/&
on one line of course...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-03-2003 12:18 PM
09-03-2003 12:18 PM
Re: User login in Linux
http://nfs.sourceforge.net/#section_e
I had this problem with an HP-UX machine exporting to linux as well. I fixed it with proto=tcp in the autofs auto.master and it seems to work a lot better. You will need to have a kernel that supports NFS over TCP and as far as I know it is still listed as experimental although I have used it for months.
I hope that helps,
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-03-2003 10:29 PM
09-03-2003 10:29 PM
Re: User login in Linux
2) does non-graphic (telnet) login work?
If no, please send us error messages you receive.
Rgds,
vitaly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-04-2003 10:07 AM
09-04-2003 10:07 AM
Re: User login in Linux
Dan Beeler: I can't upgrade to Red Hat 9.0 now. The X environment is starting up. I get the login screen. I can switch between text and gui with Alt-Fn keys.
Paulo Fessel: I don't get that error. When I log in as a user samm, I get a window that says, "Your session only lasted less than 10 seconds. If you have not logged out yourself, this could mean that there is some installation problem or you may be out of diskspace. Try logging in with one of the failsafe sessions to see if you can fix this problem" View details (~/.xsession-errors file)."
I looked at that file, it says.
"tset: standard error: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
stty: standard input: Inappropriate ioctl for device
/usr/bin/ksh: L????????[0]: tabs: not found
_X11TransSocketINETConnect: Can't get address for cyber
(gnome-session:3291): Gtk-WARNING **: cannot open display:logout"
Does this make sense? I hope you can get me some answer to what is happening..( I can access the home directory of this user as I can log on from a character terminal cntl-Alt-F1 login). The /home is automatically mounted automatically because of the entry in /etc/fstab. I have put the line there as
10.3.69.200:/home /home nfs defaults 0 0.
I don't have an automount entry. I anyway entered the auto.misc that Alexander suggested.No improvement....
Vitaly Karasik: su - username works in character mode. telnet login works fine too.
By the way I can login as root using the x environment and it shows the icons correctly. So what should I do get the other users (who are all nis users) to do the same thing. Again NIS server is HP-UX 10.2 and the clients are Linux.
Thanks for all the help.
Regards
My presumption: It is something to do with configuring the x envirornment of the user. I am not sure though.. I am novice to x environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-04-2003 12:22 PM
09-04-2003 12:22 PM
Re: User login in Linux
1.1) does NIS user have write permission for his homedir?
2) try to delete all .???* files from some_user homedir and try to login
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP