You are not logged in.

#1 2006-03-26 00:46:24

richard_terry
Member
Registered: 2006-03-26
Posts: 12

users lose read access to /usr/bin

Installed ARCH on a mates machine - he loved it (latest KDE from current/extra). He had spent a day setting up and beautifying it and it worked a treat (He was a die-hard XP man!)

I compiled from PKGBUILD vmware workstation (on my machine) and then (maybe this is wrong thing to do), used this pkg on his machine - the install seemed to be ok, but when running the config file - it baulked, saying it couldn't find some vware files (sorry no err message available)

When we re-booted the video drivers were blown away (nivida-legacy), so I re-isntalled that ok, however then at the graphical login, the kde loading gets stuck on interprocess communication.

Root could login to kde fine.

Deleted /home/user/.kde, and this time it complained about the dcopserver.

Investigating from a login prompt, the users seem to have no access to /usr/bin which contains the startx file, although every other directory in /usr is viewable. Creating a new user, same thing.

Permissions on /usr/bin seem ok, ie:

drwxr-xr-x.

Any help appreciated.

Offline

#2 2006-03-26 00:51:23

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: users lose read access to /usr/bin

what are the groups the user is member of?? type 'id' to know

Offline

#3 2006-03-26 01:19:58

richard_terry
Member
Registered: 2006-03-26
Posts: 12

Re: users lose read access to /usr/bin

uid=1000(pete)
gid=100(users)
groups=100(users)
,0(root)
,6(disk),10(wheel),12(mail),91(video),92(audio),93(optical)
,95(storage),21(slocate),82(hal),97(camera),500(burning)
,501(pete)

mmm................to lots of pete (my mate).

Hope this makes some sense to you.

thanks

Offline

#4 2006-03-26 11:38:43

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: users lose read access to /usr/bin

Hmmm Everything seems to be normal, you have all the rights being with those groups..

Are u sure it's a permission problem? can you pastebin your /var/log/Xorg.0.log please?

Offline

#5 2006-03-26 21:09:11

richard_terry
Member
Registered: 2006-03-26
Posts: 12

Re: users lose read access to /usr/bin

Sorry for delay, o/night here in Oz!.Xorg.0.log is very big. I presume pastbin means something?, or did you want the whole file?

Offline

#6 2006-03-27 02:18:07

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: users lose read access to /usr/bin

Considering the the definition of pastebin, I think he meant to type in a space and hit 'b'... Uhh, maybe you could upload Xorg.0.log somewhere and link to it?

Offline

#7 2006-03-27 03:41:30

paul2lv
Member
From: Vegas
Registered: 2005-11-09
Posts: 116

Re: users lose read access to /usr/bin

I think he meant http://pastebin.com. Upload your file this website. It's simple: paste 'n post !  big_smile

Offline

#8 2006-03-27 21:11:40

richard_terry
Member
Registered: 2006-03-26
Posts: 12

Re: users lose read access to /usr/bin

That's quite a useful site. Wonder if one can dump piccies etc on it.

Anyway, Petes file is here:

http://pastebin.com/625792

Offline

#9 2006-03-27 21:39:48

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: users lose read access to /usr/bin

Yep by saying pastebin i meant pastebin.com or arch.pastebin.com :oops: sry :oops:

Anyway i don't see anything suspecious in Xorg.0.log, let's try another thing now, you said sth about graphical manager? so u use (k/g/x)dm right ? let's try this then,
Start the computer, let it go till it is stuck now switch to console ( Ctrl + Alt + F1 ) and login as root, type

ini 3

this will close any running DM

Now logout from root, login in a normal user, make sure his .xinitrc is correct, i.e for kde

exec startkde

must be in ~/.xinitrc of the user, and try startx, do u reach KDE ??

Offline

#10 2006-03-27 22:05:33

richard_terry
Member
Registered: 2006-03-26
Posts: 12

Re: users lose read access to /usr/bin

Weird happenings. Init 3 didn't shut down X. However edited /etc/initab, replaced run level back to 3, removed the kdm daemon from rc.conf and rebooted to a prompt.

Logged in as Pete, exec startkde failed (How does one re-direct error messages?).

But...... startx which hasn't worked for days, worked, and booted into kde, and can now list /usr/bin, and everything seems to work. Really weird!!!!!.   On my lapatop which works perfectly, interestingly Init 3 dosn't kill my X and also if I log out of that, exec startkde gives a whole lot of error messages, but dies back to a login prompt.

Any idea's.

Offline

#11 2006-03-28 08:21:31

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: users lose read access to /usr/bin

it's NOT "exec startkde", how do u want it to startkde if xorg is not running, startkde must be in ~/.xinitrc and startx must execute this command...

hmm i haven't tried "init 3" while having kdm/gdm as daemon, this way u can just "/etc/rc.d/kdm stop", I use gdm launched from inittab "x:5:respawn:/opt/gnome/sbin/gdm -nodaemon" I like using init 3, init 5 ...

Okay try keeping it like this switch to init 5 (start the daemon if necessary) and login within kdm, if it hasn't worked then the problem is with kdm, something weird happened which i cannot resolve as i have never used kdm...

Offline

#12 2006-03-28 21:51:15

richard_terry
Member
Registered: 2006-03-26
Posts: 12

Re: users lose read access to /usr/bin

Sorry, misread your 'exec startkde'. Yes it was in .xinitrc  of course.

Anyway, Pete passes on his heartfelt thanks for you patience and advice, even if in the event the problem seems to have self corrected.

Though not computer trained or in a technical job, I've used ARCH linux since v 0.5, and linux for many years (Once got debian running on a DX100!!!! complete with gui!! many many years ago - though it took many minutes to load X!. I have a total of 5 desktops + 1 samsung X50 running ARCH, should include these in the stats. I think ARCH is spreading like an infectious disease.

Arch is fabulous, so are its users like yourself.

Regards

Richard

Offline

#13 2006-03-28 23:02:33

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: users lose read access to /usr/bin

richard_terry, Thx for the compliments big_smile i used Arch since 0.7.1 :oops: and Linux for 2/3 years now... anyway glad to hear that the problem has been solved finally, I'm not sure what could have happened, another weirdness I'd say big_smile

Have fun :mrgreen:

Offline

Board footer

Powered by FluxBB