LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-07-2003, 05:31 PM   #1
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Rep: Reputation: 30
Can't log off KDE in Slackware


I have installed Slackware 9.1 and set up a username and can log in ok - straight to kde (after login).

However when I right click the screen and choose logoff, or click on the logoff in the menu I only go back to the login screen. Only place to go is back in.

How do I log off, apart from choosing the reset button ?

This seems such a silly problem I don't like to ask. I've been searching but can't find anybody else asking exactly the same question.
 
Old 12-07-2003, 05:34 PM   #2
vvv
LQ Newbie
 
Registered: Dec 2003
Posts: 26

Rep: Reputation: 15
As a failsafe solution, you can log off using a plain ol' console.

Hit CONTROL-ALT-F6, and you should be presented with a text-only screen. Log in as root, and then type "shutdown -h now". That should do the trick.
 
Old 12-07-2003, 05:36 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Re: Can't log off KDE in Slackware

Alternatively, fire up kcontrol, go to the
system -> login-manager thing and enable
the shut-down button ;) for kdm ...



Cheers,
Tink
 
Old 12-07-2003, 05:37 PM   #4
vvv
LQ Newbie
 
Registered: Dec 2003
Posts: 26

Rep: Reputation: 15
Now here's a good question for ya:

When I do "shutdown -h now", the kernel shuts down nicely and all, but it never kills the power to the computer. Other Linux distros that I have seen DO kill the power. Any thoughts?
 
Old 12-07-2003, 05:40 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
apmd or acpid not running... check your
kernel config, too.

My boxums all switch themselves off on shutdown.

Cheers,
Tink
 
Old 12-08-2003, 04:40 PM   #6
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Original Poster
Rep: Reputation: 30
Thanks for your prompt replies. I couldn't get this to work last night and decided to sleep on it.

vvv - I get the same result as yourself, which is safer than what I was doing and I thank you for that.

Tinkster - I have tried Control Centre - KDE Components - Session Manager and clicked Turn off Computer then APPLY. I still just get back to the login, and when I login and go back to Session Manager the setting has reverted to login as Different User.

Seems to me this must be the default at some higher level ?

I set up the username using the following commands:

useradd -c "Real Name" username
mkdir /home/username
chown username, /home/username
passwd username

Is there anything wrong with these ?

It has occurred to me to go into KDE as root but I don't know how to do that. (I mean I know how to get into root, but not into KDE as root.)

Thanks for reading this.
 
Old 12-08-2003, 04:56 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Did you get prompted for roots password?
If not, try
ssh -X root@localhost kcontrol



Cheers,
Tink
 
Old 12-08-2003, 05:17 PM   #8
rrsc16954
Member
 
Registered: Sep 2003
Location: Edinburgh, Scotland
Distribution: Kubuntu 12/4
Posts: 214

Original Poster
Rep: Reputation: 30
Hi Tinkster

Do you mean when I set up the username ? That was last week and I was logged in as root with password when I did it.

I tried your line and got:

The authenticity of host 'localhost (127.0.0.1)' can't be established.
RSA key fingerprint is 74:16:88:6b:39:db:d9:bf:a0:c4:cf:4c:b7:d6:2b:ff.
Are you sure you want to continue connecting (yes/no)?

yes

Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
root@localhost's password:

gave root password

bash: line 1: kcontrol: command not found
root@blueyonder:/home/richard#

Not sure where that leaves me ? (Completely clueless !)
 
Old 12-08-2003, 07:27 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Well, if kcontrol can't be found there's something majorly
wrong with your install ... slack won't set up too many paths
for you, but I'm certain that if KDE is installed properly
kcontrol should be able to be run from a prompt by user
and root.


Cheers,
Tink
 
Old 12-12-2003, 06:10 PM   #10
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Quote:
When I do "shutdown -h now", the kernel shuts down nicely and all, but it never kills the power to the computer. Other Linux distros that I have seen DO kill the power. Any thoughts?
add;

apm=power-off

to your

append

line in the Slackware stanza in lilo.conf - ie for example

append="devfs=mount hdc=ide-scsi acpi=off quiet apm=power-off"

then type

/sbin/lilo

to make the changes take effect

Then use

halt

as Root user to shut the system down........
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set kde as default kde when i log in fedora core 3? Itachi Fedora 3 09-07-2005 02:29 AM
Cant log out of window manager and log back into kde randrake Linux - General 4 08-11-2005 11:01 AM
KDE: Cannot Log in to KDE or Gnome Olaf_Rye SUSE / openSUSE 1 08-07-2005 11:04 PM
How do I log into Slackware? Mr. Hill Slackware 11 02-16-2005 05:04 PM
Log into KDE amw2320 Linux - General 3 08-07-2003 12:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration