al-nobani wrote:
> could you please translate the above steps?
Carlos wrote:
Ok, what I would do now is, first open a text console (ctrl-alt-f1),
log as root there, type "tailf /var/log/messages", and go to
the 2nd console (alt-f2). Here type "tailf /var/log/audit/audit.log").
Now leave, go to X (ctrl-alt-f7) and there in a "konsole" type "su" and
attempt to be root. If it fails, as you say, jump to the text consoles
again and see if there are new messages there and tell us.
Type Ctrl-C to stop the tailf command.
Also, have a look at the end of the ".xsession-errors" file on your
normal user HOME, near the end.
What else to try... Perhaps a "dmesg" command on a terminal.
which is ‘translated’ into step-by-step as:
NOTE 1: always available in Linux is a full screen “text console”
accessible by holding down the left Ctrl and Alt keys and then pushing
the do NOT do this until you read how to get back to KDE] F1 key at
the top of the keyboard…to return to KDE press Ctrl-Alt-F7.
actually there is another, completely separate console available for
your use at F2, F3, F4, F5 and F6. any of those can be logged into as
yourself or any other system user, or root (super user)…
NOTE 2: since it will be difficult to switch back and fourth to read
instructions in KDE, it may be easiest to PRINT this instructions to
follow as you go
NOTE 3: you will need a pencil/pen and something to write on because
copy/paste won’t do all we need…(or you can take a photo–make sure
it is readable)
so, lets begin:
-
open a text console with Alt-Ctrl-F1
-
become root in that console by
a. at the prompt
(something) login:
type
root
and press enter
b. at the resulting prompt
password:
type your root password…you will not see what you type, then press
enter…the font will change to red and the symbol for root (#) will
be visible…
-
now go to the next available text console by pressing Ctrl-Alt-F2
and log in there as root also…using exactly the same procedure as
in #2 above
-
go back to Alt-Ctrl-F1 and type (CAREFULLY, always carefully) then
enter
tailf /var/log/messages
look at the last line there, and remember it…easiest i guess to just
write down the time stamp: like Jul 7 11:20:40
- go to Alt-Ctrl-F2 type then enter
tailf /var/log/audit/audit.log
look at and remember the last message…here, on my machine each
message began with “type=(something …)”, some of the lines wrapped
but it was easy enough to count the number of lines beginning with
“type=(something …)” and write down or remember the number of lines…
-
go back to KDE by pressing Ctrl-Alt-F7
-
in KDE open a ‘konsole’ (a graphical representation of a text
console you were just at) by
a. holding down the left Alt and then pressing F2
b. a “Run Command” box will pop up, in it type
konsole
and press enter
- in the just opened konsole type
su
and enter…we expect it to fail with the error you reported earlier.
-
if it didn’t fail, try to open and log into YaST, it better fail!
-
go to Ctrl-Alt-F1 and copy and write down (or photograph) the
new messages there
-
hold down the Ctrl key and press “c” (this will stop the logging)
-
go to Ctrl-Alt-F2 and copy and write down (or photograph) the
new messages there, then repeat step 10 above in this console also
-
go back to KDE with Ctrl-Alt-F7, and in the open konsole (where
you had typed su) type or copy/paste from here
tail .xsession-errors
and press enter (do NOT forget the “.” in front of the “x”)
- begin a reply to Carlos’ post and
a. type (accurately) and label new messages from the F1 text console
b. type (accurately) and label new messages from the F2 text console
c. copy/paste the output of the tail command in the KDE konsole
- in that still open KDE console type (or copy/paste from here) and
then enter
dmesg > ~/Desktop/dmesgOut.txt
a new file named dmesgOut.txt should appear on your desktop…for now,
just leave it there until a guru asks to see it (and tells you how to
put make it available to him/her) or your problem is resolved
-
send the answering message to this thread
-
as i feel it both insecure and dangerous to leave root powered
consoles open, return to Ctrl-Alt-F1, type exit and press enter,
the red font should be replaced, then go to Ctrl-Alt-F2 and do the same…
-
wait for Guru Carlos
(or maybe another lurking) to appear and
bless us with knowing words!
-
forgive any trouble causing typing mistakes i may have made! and,
the wise man would wait a while hoping someone else will see my
mistakes and post refining comments for you to follow!!!
–
DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio