Jump to content

KDE root password no longer accepted


Jimtim
 Share

Recommended Posts

Jimtim, no need to apologize, not everybody is so paranoid about images as I am! :o :D

 

Obviously, your keyboard output in GUI is different than on the consoles <Ctrl+Alt+Fn> screens. My first guess is that some of your the "mode keys" {Alt, Shift, ...} and perhaps even <Enter> i.e. white-space characters and invisible behave differently in the two environments. I think the question is why you do not see the difference in the test we did at the beginning.

 

BTW, when i said you should wrap your cut-n-paste into code (#) I meant:

[code] your-cut-n-paste-goes-here [/cod E]

 

 

There are no bad images here. It is watched closely. ;)
It's good to know. I'm very happy, but still. people should know :D :P :P
Link to comment
Share on other sites

  • Replies 59
  • Created
  • Last Reply

Top Posters In This Topic

Jimtim, it looks, that your keyboard type is defined differently in either environment; (i.e: Generic 101-key PC, Generic 104-key PC, Generic 105-key (Intl) PC...). Somebody should help us find out how to determine what is your keyboard setting for console (text-screens). In GUI it is easy, to manage the keyboard. You can go to Preferences->Keyboard to check it out, but do not change anything as yet.

 

I tried to decipher which of your keys behave differently, and can tell you with certainty that the following keys cause problems:

right parent / parenthesis ..... )
dollar sign .................... $
percent ........................ %
asterisk ....................... *
exclamation .................... !

However, there are five more keys, which I can not identify. Without understanding which keys behave differently, is hard to do the quick fix, whereby you should reset your root password using only the keys that are the same in either environment, which is easy when you use bilingual system, where you usually know which keys are different in each. However, your's is the case of misconfiguration as it seams.

 

I will give you the suggestion for the quick fix, if nobody is able to help you out from this point on. Note that that will not solve your problem with the keyboard, but I'm pretty sure we could fix your password.

Edited by mandrivsen
Link to comment
Share on other sites

OK, I think we might be getting somewhere.

My keyboard is French, but I haven't had any problems with it up to now.

I can't find preferences (is this under Gnome?" but in KDE there is control centre-Regional & Accessiblity-Keyboard layout. When I click on this there is a list of possible layouts in a left column, then a list of installed ready-to-use layouts on the right, set out in a priority order list (ie the first on the list is the one used). There is only the USA keyboard here, but the box "enable keyboard layouts" isn't ticked.

Link to comment
Share on other sites

The xkbd layout is in /etc/X11/xorg.conf and should be made to correspond to what you set in Kde Control Center. If any has been changed then it would be in KDE. Take note of what is in your keyboard layout in xorg.conf and make sure you have the same set in kde control center. You may need to set yourself a new root password. I hope this helps you.

Link to comment
Share on other sites

OK, I apparently should apparently avoid sending screen shots, but here it is necessary. Here is what I see in X11:

post-18887-1174233907_thumb.jpg

Is this normal? Notice that there are two xorg config files. I'll copy the contents of these files.

The first one, ie xorg.config, says this:

# File generated by XFdrake (rev 57713)

 

# **********************************************************************

# Refer to the xorg.conf man page for details about the format of

# this file.

# **********************************************************************

 

Section "Files"

# font server independent of the X server to render fonts.

FontPath "unix/:-1"

 

# minimal fonts to allow X to run without xfs

FontPath "/usr/share/fonts/misc:unscaled"

EndSection

 

Section "Extensions"

Option "Composite"

EndSection

 

Section "ServerFlags"

#DontZap # disable <Crtl><Alt><BS> (server abort)

AllowMouseOpenFail # allows the server to start up even if the mouse does not work

#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

EndSection

 

Section "Module"

Load "dbe" # Double-Buffering Extension

Load "v4l" # Video for Linux

Load "extmod"

Load "type1"

Load "freetype"

Load "glx" # 3D layer

EndSection

 

Section "InputDevice"

Identifier "Keyboard1"

Driver "kbd"

Option "XkbModel" "pc105"

Option "XkbLayout" "fr"

Option "XkbOptions" "compose:rwin"

EndSection

 

Section "InputDevice"

Identifier "Mouse1"

Driver "mouse"

Option "Protocol" "ExplorerPS/2"

Option "Device" "/dev/mouse"

EndSection

 

Section "InputDevice"

Identifier "Mouse2"

Driver "evdev"

Option "product" "0x0006"

Option "vendor" "0x0002"

Option "HWheelRelativeAxisButtons" "7 6"

EndSection

 

Section "Monitor"

Identifier "monitor1"

VendorName "Generic"

ModelName "Flat Panel 1280x1024"

HorizSync 31.5-90

VertRefresh 60

 

# Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)

ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync

 

# TV fullscreen mode or DVD fullscreen output.

# 768x576 @ 79 Hz, 50 kHz hsync

ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

 

# 768x576 @ 100 Hz, 61.6 kHz hsync

ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

EndSection

 

Section "Device"

Identifier "device1"

VendorName "nVidia Corp."

BoardName "NVIDIA GeForce4 (generic)"

Driver "nv"

Option "DPMS"

EndSection

 

Section "Screen"

Identifier "screen1"

Device "device1"

Monitor "monitor1"

DefaultColorDepth 24

 

Subsection "Display"

Depth 8

Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"

EndSubsection

 

Subsection "Display"

Depth 15

Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"

EndSubsection

 

Subsection "Display"

Depth 16

Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"

EndSubsection

 

Subsection "Display"

Depth 24

Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"

EndSubsection

EndSection

 

Section "ServerLayout"

Identifier "layout1"

InputDevice "Keyboard1" "CoreKeyboard"

InputDevice "Mouse1" "CorePointer"

InputDevice "Mouse2" "SendCoreEvents"

Screen "screen1"

EndSection

 

The second one, ie xorg.config.old, says this:

# File generated by XFdrake (rev 57713)

 

# **********************************************************************

# Refer to the xorg.conf man page for details about the format of

# this file.

# **********************************************************************

 

Section "Files"

# font server independent of the X server to render fonts.

FontPath "unix/:-1"

 

# minimal fonts to allow X to run without xfs

FontPath "/usr/share/fonts/misc:unscaled"

EndSection

 

Section "Extensions"

Option "Composite"

EndSection

 

Section "ServerFlags"

#DontZap # disable <Crtl><Alt><BS> (server abort)

#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

AllowMouseOpenFail # allows the server to start up even if the mouse does not work

EndSection

 

Section "Module"

Load "dbe" # Double-Buffering Extension

Load "v4l" # Video for Linux

Load "extmod"

Load "type1"

Load "freetype"

Load "glx" # 3D layer

EndSection

 

Section "InputDevice"

Identifier "Keyboard1"

Driver "kbd"

Option "XkbModel" "pc105"

Option "XkbLayout" "fr"

Option "XkbOptions" "compose:rwin"

EndSection

 

Section "InputDevice"

Identifier "Mouse1"

Driver "mouse"

Option "Protocol" "ExplorerPS/2"

Option "Device" "/dev/mouse"

EndSection

 

Section "InputDevice"

Identifier "Mouse2"

Driver "evdev"

Option "product" "0x0006"

Option "HWheelRelativeAxisButtons" "7 6"

Option "vendor" "0x0002"

EndSection

 

Section "Monitor"

Identifier "monitor1"

VendorName "Generic"

ModelName "1280x1024 @ 60 Hz"

HorizSync 31.5-64.3

VertRefresh 50-70

 

# Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)

ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync

 

# TV fullscreen mode or DVD fullscreen output.

# 768x576 @ 79 Hz, 50 kHz hsync

ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

 

# 768x576 @ 100 Hz, 61.6 kHz hsync

ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

EndSection

 

Section "Device"

Identifier "device1"

VendorName "nVidia Corp."

BoardName "NVIDIA GeForce4 (generic)"

Driver "nv"

Option "DPMS"

EndSection

 

Section "Screen"

Identifier "screen1"

Device "device1"

Monitor "monitor1"

DefaultColorDepth 24

 

Subsection "Display"

Depth 8

Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"

EndSubsection

 

Subsection "Display"

Depth 15

Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"

EndSubsection

 

Subsection "Display"

Depth 16

Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"

EndSubsection

 

Subsection "Display"

Depth 24

Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"

EndSubsection

EndSection

 

Section "ServerLayout"

Identifier "layout1"

InputDevice "Keyboard1" "CoreKeyboard"

InputDevice "Mouse1" "CorePointer"

InputDevice "Mouse2" "SendCoreEvents"

Screen "screen1"

EndSection

Link to comment
Share on other sites

Don't worry that there is two xorg.conf that is quite normal, whenever mcc writes to this file it will often rename the orignal to xorg.conf.old

 

The section you want to look at is :-

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
[b]Option "XkbModel" "pc105"
Option "XkbLayout" "fr"[/b]
Option "XkbOptions" "compose:rwin"
EndSection

 

Now check in KDE control center under location and make sure that the selections in there correspond.

The ones in xorg.conf will be what you selected when installing mandriva.

Link to comment
Share on other sites

Sorry I was ahead of you there.

You need to open the kde control center -> regional & accessibility -> keyboard layout

See if there is a checkmark in enable keyboard layouts.

If there isn't one then kde will not be altering your keyboard codes.

If there is one make sure that France is listed and first in the list in the main window and that Keyboard Model is the same as in xorg.conf.

If all that checks out then I don't have anything further I can add, except if you take the re-install option then back up your home folder to another device and reformat the /home partition as well. You can always copy back into the new /home folder that will be created. This way if there is anything in your current home folder that is causing you the problem it will not be there when you re-install.

Link to comment
Share on other sites

A ha! The keyboard model doesn't appear to be the same. It's Generic 104-key PC in the kde control center and pc105 in xorg. Do I assume that it should be Generic 105-key PC in kde?

France is listed in kde and is indeed the first on the list.

Link to comment
Share on other sites

Nope, still the same.

Ok, I think we'll have to call it a day on this one. I'll keep an eye on this thread in case someone has an idea, but I think we're defeated :cry:

I'll simply start over again with the spankling new spring edition of Mandriva when I can get my hands on it. Still, I'd love to know what caused all this. I think I'll start a new thread to see if other people have had problems with Katapult - it remains our number one suspect!

Thanks once again for all your help.

Link to comment
Share on other sites

Perhaps this may also help you all?

 

Fixing or misconfiguring your keyboard settings

 

If you set up your computer for a multilingual use, you can change your keyboard layout (nationality) on a fly by a single click on your Desktop panel. The keyboard setting effects all applications currently opened on the desktop. I have noticed that this "keyboard type" selector setting may easily be misconfigured. I found it beneficial to use the "Keyboard Indicator" not only to toggle between different keyboards, but also to check that keyboard setting is not misconfigured. Namely, when two or more languages are set up, and you can not toggle between them, you can fairly conclude that keyboard setting is indeed misconfigured.

 

When this is the case, to correct the problem you should set the default settings in your "Keyboard Preferences" window, which will remove all but system default keyboard from the "Keyboard Preferences". After that add those that were removed without checking any check-boxes beside them, or even worse, moving them to different positions by clicking either Up or Down buttons. These actions may very well be using a buggy procedure, because they prevent the toggle functionality, rather than merely change which keyboard should always be used as the default.

Edited by mandrivsen
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...