Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Drunken friend borked my KDE!!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
thgreatoz
n00b
n00b


Joined: 31 Oct 2002
Posts: 29

PostPosted: Wed Nov 06, 2002 5:55 am    Post subject: Drunken friend borked my KDE!!! Reply with quote

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
View user's profile Send private message
thgreatoz
n00b
n00b


Joined: 31 Oct 2002
Posts: 29

PostPosted: Wed Nov 06, 2002 6:02 am    Post subject: Reply with quote

fixed it. I deleted /mcop-root and rebooted, then restarted x.

I guess it didn't like that chmod ;)
Back to top
View user's profile Send private message
sven
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 274

PostPosted: Wed Nov 06, 2002 6:22 am    Post subject: Reply with quote

Don't drink and KDE! :D
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Nov 06, 2002 6:47 am    Post subject: Reply with quote

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
View user's profile Send private message
StrCrssd
n00b
n00b


Joined: 17 Apr 2002
Posts: 68
Location: McAllen, TX USA

PostPosted: Tue Nov 12, 2002 12:34 am    Post subject: Running as root. Reply with quote

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
View user's profile Send private message
thgreatoz
n00b
n00b


Joined: 31 Oct 2002
Posts: 29

PostPosted: Tue Nov 12, 2002 1:04 am    Post subject: Reply with quote

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
View user's profile Send private message
StrCrssd
n00b
n00b


Joined: 17 Apr 2002
Posts: 68
Location: McAllen, TX USA

PostPosted: Wed Nov 13, 2002 5:49 am    Post subject: Cool... Reply with quote

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
View user's profile Send private message
yokem55
Guru
Guru


Joined: 18 Apr 2002
Posts: 360
Location: Oregon

PostPosted: Wed Nov 13, 2002 6:19 am    Post subject: Reply with quote

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
View user's profile Send private message
helmers
Guru
Guru


Joined: 16 Sep 2002
Posts: 553
Location: Stange, Norway

PostPosted: Wed Nov 13, 2002 8:13 am    Post subject: Reply with quote

Superadduser, eh? :P

...I only wish that Gentoo could tell us which packages it would be smart to emerge :wink:

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
View user's profile Send private message
thgreatoz
n00b
n00b


Joined: 31 Oct 2002
Posts: 29

PostPosted: Wed Nov 13, 2002 5:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
thgreatoz
n00b
n00b


Joined: 31 Oct 2002
Posts: 29

PostPosted: Wed Nov 13, 2002 5:26 pm    Post subject: Reply with quote

Helmers: If it had that, we'd have Mandrake. :D
Back to top
View user's profile Send private message
dbd
n00b
n00b


Joined: 20 Oct 2002
Posts: 12

PostPosted: Sat Nov 16, 2002 6:58 am    Post subject: Reply with quote

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
View user's profile Send private message
thgreatoz
n00b
n00b


Joined: 31 Oct 2002
Posts: 29

PostPosted: Sat Nov 16, 2002 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kawada
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 159
Location: Florida, USA

PostPosted: Sat Nov 16, 2002 8:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
thgreatoz
n00b
n00b


Joined: 31 Oct 2002
Posts: 29

PostPosted: Sat Nov 16, 2002 11:34 pm    Post subject: Reply with quote

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. :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum