On 2010-12-01 12:06, caf4926 wrote:
>
> Might be worth checking this thread I started a while back
> ‘Post online update - Pre-Login error message’
> (http://tinyurl.com/27hekqt)
>
> Read it carefully
>
> BTW. I never login as root. So that was not the issue.
See below
>
> This comment:
>> That file might be the result of log-in as root, but it should be in
>> /root, not your home.
>>
> Because I would only expect to see it in /home (hidden files)
If you log in as root, it should be under /root with root permissions. That
is is under /home/user with root permissions is weird, but it certainly has
to be some program running as root thinking that /home/user is his home.
Thus it has to be some program started under sudo or su with no dash.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
ummm, the only thing I’m running as root is piklab,
I’m running as root as I’m getting USB permission problems when it tries to find the ICD2 programmer.
I just ran it as root as it was the simplest solution, I only use su - when running gedit or nautilus.
Would that cause the problem ?
TIA
> If you log in as root, it should be under /root with root permissions. That
> is is under /home/user with root permissions is weird, but it certainly has
> to be some program running as root thinking that /home/user is his home.
as i have mentioned several times, when one logs into KDE/Gnome/etc as
root and then uses whatever file manager or viewer to browse the /home
folder it is highly likely (but not positively always) that .ICE* and
other files have permissions changed from user to root, which is not a
good thing…
one symptom of that is an inability to log in as self…other symptoms
of the damage that can be done will appear as seemingly unrelated
little problems here and there…nearly impossible to find or
fix…all of which began after the first log into KDE/Gnome/etc as
root…
I should be OK then as I never login as root only as me the user, I always su from a terminal.
On other distros USB appears as a group, which can be added to the users group list, that sometimes helps with USB permissions.
But I haven’t seen a USB group listed.
On 2010-12-01 14:36, rb004a0345 wrote:
>
> ummm, the only thing I’m running as root is piklab,
> I’m running as root as I’m getting USB permission problems when it
> tries to find the ICD2 programmer.
> I just ran it as root as it was the simplest solution, I only use su -
> when running gedit or nautilus.
> Would that cause the problem ?
Might be. It is easy to check: start that program and check that file. Or
block that file with AA to have it reported.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
On 2010-12-01 14:11, DenverD wrote:
>> If you log in as root, it should be under /root with root permissions. That
>> is is under /home/user with root permissions is weird, but it certainly has
>> to be some program running as root thinking that /home/user is his home.
>
> as i have mentioned several times, when one logs into KDE/Gnome/etc as
> root and then uses whatever file manager or viewer to browse the /home
> folder it is highly likely (but not positively always) that .ICE* and
> other files have permissions changed from user to root, which is not a
> good thing…
If that happens, it is a bug and should be reported. The ICE thing.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
BIG PROBLEM
this has now happen I think three times, applications open were, firefox, claws-mail and piklab started from a terminal as root, as a user it gets USB permission fails so it cant see the programmer.
I was writing a mail reply and when I went to post everything hung except mouse movement. clicking on anything on the panel had no effect.
I did mange to get to a console but could not login. Gave it a CTRL-Alt-delete and it stated to shutdown then stopped. I still could not log in , just returns all the time to the prompt. I manged to get back to the desktop and I could now click on panel icons and get the right response.
However, everything I tried gave either an io error or read only system error.
no access to the logs or anything, as all commands to open a file gave an io error.
I was writing everything I was trying and the response on a new thread, but The system decided to shut down and I couldn’t post in time.
the shutdown hung
message was gdm could not display access file.
I had to reset to reboot.
On reboot I now have the cant access ICE authority message again
That I can get rid of , but why is the system hanging with read only status.
I checked the permission in my home dir, ls -la showed only half of the files
ps -ax only displayed the last 20 lines,
I could kill apps, list files, but all file operations like cat, less, tail all gave an IO error.
I was able to open a terminal from the desktop and su to root , couldn’t do much
OS 11.3 x86_64
kernel 2.6.34.7-0.5-desktop
I’ve looked through /var/log messages, but there is nothing there.
Any suggestions where to start, maybe trying to get piklab to run as user and access USB, I don’t know at the moment
Can you give your exact error message.
In my case the file in: /var/lib/gdm/.ICEauthority (Cannot open ICEauthority file /var/lib/gdm/.ICEauthority)
was the problem. I removed it thinking it was not needed there. It solved my problem. But I just check and its there again. So maybe it should be there but it had become corrupted? I’m not sure.
rb004a0345 wrote:
> applications open were,
> firefox, claws-mail and piklab started from a terminal as root, as a
> user it gets USB permission fails so it cant see the programmer.
when the user you want to be able to access the USB can not, the fix
is NOT to start an application as root…
the fix is to find out WHY the user can not access the USB and solve
that permissions problem…NOT go around the problem by launching
user applications as root …
you are most likely causing all of these problems by not understanding
what you are doing while root…
I can stop the message by returning ownership of the file to me, as for the USB
all I can get to work on is :-
piklab: version 0.15.10 (rev. distribution)
libusb couldn’t open USB device /dev/bus/usb/003/007: Permission denied.
libusb requires write access to USB device nodes.
On 2010-12-04 18:36, rb004a0345 wrote:
> Any suggestions where to start, maybe trying to get piklab to run as
> user and access USB, I don’t know at the moment
If you really need to run that application as root, do not use sudo. Use
“su -”, do not forget the dash. Otherwise, you get the symptoms you describe.
Besides that you have to revert all files in your home directories,
recursively, to be owned by you.
Plus, you have to try figure out if it would be possible to run that
application as user, somehow.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
On 2010-12-04 22:06, rb004a0345 wrote:
>
> I can stop the message by returning ownership of the file to me, as for
> the USB
> all I can get to work on is :-
> piklab: version 0.15.10 (rev. distribution)
Are you using the openSUSE package?
If you are and you have problems, open a bugzilla.
If you aren’t, then try it.
> libusb couldn’t open USB device /dev/bus/usb/003/007: Permission
> denied.
> libusb requires write access to USB device nodes.
Well, you can chmod and chown that node. Every time you need it, of course.
> Apart from making myself part of group root.
> Won’t Suse security system reset the permissions of the device if I set
> others to RW ?
Yes, the node is recreated automatically with the default permissions. Not
really reset.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)