View previous topic :: View next topic |
Author |
Message |
thgreatoz n00b
Joined: 31 Oct 2002 Posts: 29
|
Posted: Wed Nov 06, 2002 5:55 am Post subject: Drunken friend borked my KDE!!! |
|
|
Ok...I HAD a working KDE install with full sound support, as root.
I went to a friend to try and get KDE to work as a user, and he told me to chmod 700 my home dir and chmod -R 777 /tmp
I don't know if that was right or not, but I found out later he was drunk.
NOW, I still can't start kde as a user, and when I start as root, i get the error :
Error - artsmessage
Sound server fatal error:
/tmp/mcop-root is accessible owned by user
Plus, my wallpaper is gone, and the two desktop icons I had, trash and Home, are gone, and I can't right click.
How do I fix this?!?
Thanks! |
|
Back to top |
|
|
thgreatoz n00b
Joined: 31 Oct 2002 Posts: 29
|
Posted: Wed Nov 06, 2002 6:02 am Post subject: |
|
|
fixed it. I deleted /mcop-root and rebooted, then restarted x.
I guess it didn't like that chmod |
|
Back to top |
|
|
sven Apprentice
Joined: 19 Apr 2002 Posts: 274
|
Posted: Wed Nov 06, 2002 6:22 am Post subject: |
|
|
Don't drink and KDE! |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Nov 06, 2002 6:47 am Post subject: |
|
|
Permissions on /tmp should be 1777 (set the sticky bit). That way people can't mess with one another's files. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
StrCrssd n00b
Joined: 17 Apr 2002 Posts: 68 Location: McAllen, TX USA
|
Posted: Tue Nov 12, 2002 12:34 am Post subject: Running as root. |
|
|
Please do NOT run as root. This is a distrubing trend in linux users today. Running as root is NOT safe....at all. Windows has the little "recycle bin" and trivial file permissions. It's easy to fix things when you bork them. Linux is NOT like that.
PLEASE save us all a lot of bad reputation and run as a user. You can su to root as needed in a console. _________________ StrCrssd
Give a man enough rope, he'll hang himself. Teach a man to make rope, he'll hang other people. |
|
Back to top |
|
|
thgreatoz n00b
Joined: 31 Oct 2002 Posts: 29
|
Posted: Tue Nov 12, 2002 1:04 am Post subject: |
|
|
Yah, they teach us all that in Linux 101...you HAVE to run as root before you add a user, which is what I was trying to do when my system got borked. |
|
Back to top |
|
|
StrCrssd n00b
Joined: 17 Apr 2002 Posts: 68 Location: McAllen, TX USA
|
Posted: Wed Nov 13, 2002 5:49 am Post subject: Cool... |
|
|
Ok, sorry....I got on a little rant there.
Didn't mean to offend if I did. Of course you have to run as root before you add any additional users/during configuration. I had mis-read your original post and (assumed) that you had a working configuration and then your friend borked it.
Sorry, _________________ StrCrssd
Give a man enough rope, he'll hang himself. Teach a man to make rope, he'll hang other people. |
|
Back to top |
|
|
yokem55 Guru
Joined: 18 Apr 2002 Posts: 360 Location: Oregon
|
Posted: Wed Nov 13, 2002 6:19 am Post subject: |
|
|
The first thing I do after emerge system gets done when I'm setting up gentoo is to emerge superadduser, and use that to set up users. I don't even wait to build the kernel.... |
|
Back to top |
|
|
helmers Guru
Joined: 16 Sep 2002 Posts: 553 Location: Stange, Norway
|
Posted: Wed Nov 13, 2002 8:13 am Post subject: |
|
|
Superadduser, eh?
...I only wish that Gentoo could tell us which packages it would be smart to emerge
Or maybe a meny of choices, that we could choose what we wanted to use the machine for, and it would select packages accordingly. _________________ C is for Cookies! |
|
Back to top |
|
|
thgreatoz n00b
Joined: 31 Oct 2002 Posts: 29
|
Posted: Wed Nov 13, 2002 5:24 pm Post subject: |
|
|
StrCrssd: S'ok, no harm done.
As for Superadduser, I wouldn't use it...it really doesn't work well, at least if you plan to use a Gui at all...emerge KDE and use Kuseradd. |
|
Back to top |
|
|
thgreatoz n00b
Joined: 31 Oct 2002 Posts: 29
|
Posted: Wed Nov 13, 2002 5:26 pm Post subject: |
|
|
Helmers: If it had that, we'd have Mandrake. |
|
Back to top |
|
|
dbd n00b
Joined: 20 Oct 2002 Posts: 12
|
Posted: Sat Nov 16, 2002 6:58 am Post subject: |
|
|
thgreatoz wrote: | As for Superadduser, I wouldn't use it...it really doesn't work well, at least if you plan to use a Gui at all...emerge KDE and use Kuseradd. |
...whaaa? o.O
It creates the user and all the base group settings and passwords and thingys... if anything, you'd just have to create a new KDE profile for it. I use fluxbox and all I had to do was echo "exec fluxbox" > .xinitrc && chmod +x .xinitrc" ...all Kuseradd would do would make some base settings that would probably be made anyway if you booted up KDE with that use anyway. o.O
But I haven't used KDE for a year, so :/ |
|
Back to top |
|
|
thgreatoz n00b
Joined: 31 Oct 2002 Posts: 29
|
Posted: Sat Nov 16, 2002 4:19 pm Post subject: |
|
|
When I used superadduser, it just basically made it so I could log on....my shell didn't work correctly, and I couldn't log into KDE from my user.
When I used kuseradd, it made everything perfectly, and had no problems, in or out of a GUI. |
|
Back to top |
|
|
Kawada Apprentice
Joined: 22 Jul 2002 Posts: 159 Location: Florida, USA
|
Posted: Sat Nov 16, 2002 8:48 pm Post subject: |
|
|
thgreatoz wrote: | When I used superadduser, it just basically made it so I could log on....my shell didn't work correctly, and I couldn't log into KDE from my user.
When I used kuseradd, it made everything perfectly, and had no problems, in or out of a GUI. |
Yes, but using kuseradd to create a non-root user would require logging into KDE as root, which a lot of us here are trying to argue should never be done, not even once (not that I don't do it myself or anything). But hey, if a tool works well for you, I say stick with it. _________________ Kawada
2002 Nethack Tournament -- 317th runner-up http://nethack.devnull.net/ |
|
Back to top |
|
|
thgreatoz n00b
Joined: 31 Oct 2002 Posts: 29
|
Posted: Sat Nov 16, 2002 11:34 pm Post subject: |
|
|
LOL I'll be the first to admit it made my palms sweaty, but it all worked fine after that, so no more worries for me. |
|
Back to top |
|
|
|