Solved

login and keyboard mapping problems

Posted on 2000-03-05
18
248 Views
Last Modified: 2010-04-20
I installed LM 7.02 with the highest security in my Dell Latitude laptop. Now I have two problems:
1. When run  at leve 5, only the root account can login, even though I
can su to other regular users after I login as root.

2. When run at level 3, some keys in the right half of my keybord are messed up, for example, when you press 'u', you will see '4' or something like that. So I cannot do anything with the login prompt.

Has someone met some problems of this kind? What are the possible reasons? Thanks.
0
Comment
Question by:chench
  • 9
  • 9
18 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2586570
I don't know about (1), what error do you get when trying to login as a user other than root?

As to (2), that's probably because the keyboard hasn't been fully initialized and it's in "Numeric Keypad mode". You might be able to fix that by changing the bios to have "NumLock" set to off.
0
 

Author Comment

by:chench
ID: 2592580
Thanks for the answer to my second question. For the first one, it's like this:
Whenever I login as normal user through the graphical login window, the authentication seems to pass, but the window flashes and comes back to the login window. Probably the system cannot find the right desktop configuration for the normal user? Maybe there are some other reasons.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 2592861
I can think of two probable causes. The user's home dir specification in /etc/passwd is invalid, or the desktop files in that user's home dir are corrupt. Check the former by trying to login as that user directly on the console. If the homedir is invalid the system will tell you. If the system is configured for graphical login, you can access a console screen via the ctrl-alt-F1 hotkey. The latter can be cured by removing the desktop files from the user's home dir and letting the system rebuild them. I need to know what window manager you're using to tell you waht to delete.
0
 

Author Comment

by:chench
ID: 2592952
I changed to the console and logined successfully as normal user, but cannot login as root (is it strange?). By the way, how to get back to the graphic login from the console?
0
 

Author Comment

by:chench
ID: 2593013
I usually use KDE and GNOME.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2593046
Oh, I forgot to tell you how to get back... ctrl-alt-F7 should do it. After you logged the user out, what happend when you tried to login as root?
0
 

Author Comment

by:chench
ID: 2593218
Now I can login as noraml user through the graphic method. But two more problems remain:

1. I still cannot login as root in the console;
2. The NumLock is always turned on wheneven I switch to the console, even if I disable the NumLock in the Bios.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2593790
As to (1), what happens when you try to login as root from the console screen?

As to (2) that's odd, Linux normally ignores the bios NumLock state and turns NumLock off as it boots. I wonder if it's not real happy with your hardware?
0
 

Author Comment

by:chench
ID: 2593837
when I login as root from the console, it says "login incorrect" and just bounce back. I would not think I typed the wrong password because I have tried so many times.

0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 40

Expert Comment

by:jlevie
ID: 2593873
Is NumLock on then? If you trun Numlock off can root log in on the console?
0
 

Author Comment

by:chench
ID: 2593999
I turned the Numlock off and the keyboard was working fine. I can login as regular use and su to root after the login. But I cannot login as root from the console. It this a security feature, or something is wrong?
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2594044
It may be, I'm not overly familiar with how "LM 7.02 with the highest security" would behave. Out of curosity, why would you have set it up like that?
0
 

Author Comment

by:chench
ID: 2597078
I was thinking the higher the security, the better it would be.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2597619
Yeah, in general that's probably a good thing to do, but maybe only after you've had enough experience with the particular OS on that particular box. Otherwise it get's rather confusing trying to figure out why something doesn't work. Is it the security features, and if so where is that feature controlled, or is it a hardware problem with box or a generic software problem in the OS or application.
0
 

Author Comment

by:chench
ID: 2650966
I backed up the files under /etc/X11 and /usr/X11R6/ in order to install the new XFree86 4.0. After failing to configure the new x server to support my neomagic video card in my labtop, I copied the files back to /etc/X11 and /usr/X11R6. Now the same problem happened. I cannot login as regular through the GUI but can do so through the console. What are the files related to the GUI login process?
Thanks.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2651784
How does it fail when you try the graphical login? Can root do a graphical login?
0
 

Author Comment

by:chench
ID: 2651852
I installed the XFree86 4.0 on my Dell Laptop with Neomagic video card.  Following are the benefits I got from this installation:
1.  The problem I previouly reported  was gone. So, the problem might be with the original x server.
2.  The color menus for Netscape are back at 24 bits, which I would like to
see verification from  folks like you.
Thanks.

Chunnuan
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2651972
Well that would make more sense that the "security settings"  being a problem. Generally most of the Neomagic framebuffers work well with Linux, but on Laptops things get tricky and a Neomagic chipset that works on one may not work well on another.

Getting 24 bit color back is certainly a function of the X server. I didn't know that you had that problem or we might have looked at the X server as a source of the problem.

At any rate, I'm glad it's working now and I think we both learned something from the experience.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now