UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If your "administrative account" is a member of the "root" group, using a GUI desktop with that account presents the same security issues that would be raised by running a GUI as "root."
Anyhow, you shouldn't need to do the C-A-Del stuff: a simple sudo ls -l /home/user/.ICEauthority should suffice to let you see any permission problems, and a sudo chmod or sudo chown (whichever is needed) should fix them for you.
(Oh dear, my total-linux/command line-noobosity is showing! )
Okay, PTrenholme, some questions because I am a linux/command line noob.
1) Can I do the sudo ls, etc. thing on the terminal of this guest account I'm using right now even though it does not have administrative privilages?
2) What do you mean by 'permission problems'?
3) I have no idea what sudo chmod or sudo chown is and I get the feeling that it's probably not going to tell me. If the sudo ls, etc. thing works how will I know which to use?
(p.s. If the create a user or manage groups thing isn't in the menu of this account because my sister kept messing with it, is there a way to open that to see if my normal account got accidently switched to the "root" group or something.)
1) You should be able to do the sudo from (almost) any Ubuntu "regular" user account. Try it and see what happens. I think that Ubuntu puts all users in the /etc/sudoers file by default. (If you're the administrator, and your sister is "messing," perhaps you should consider removing her from the sudoers file.)
2) I assumed from the "cannot lock" message that the ownership of the hidden ICE authority file had been changed. (That often happens when someone other than the owner is in the directory and that someone uses, e.g., an editor, that needs the authority, and, further, that that someone has (implicit) permission to "overwrite" the authority file. This "overwrite" process is often automatic.)
3) The two commands (chown and chmod) are used to change the ownership and permissions, respectively, on a file. Look at man chown and man chmod for details.
On the "cannot lock" problem: look in /var/lock/subsys/ to see if a lock is set on the program you're trying to run. (It shouldn't be, because all locks should be erased when the system is rebooted.) Oh, by "look in," I mean "do something like ls -l /var/lock/subsys/."
Did you do those commands whilst logged in to the "Recovery" terminal session?
If so, what is the output of ls -l /home/username/.ICEAuthority?
Again, in the recovery console try a mv /home/username/.ICEAuthority /home/username/.ICEAuthority~
That should force the X server to recreated the hidden .ICEAuthority file when you next try to start your GNOME session. If that works, just delete the .ICEAuthority~ file since you will no longer need it. (It's just a back-up file in case this doesn't work.)
yes....
just do what ubuntu intends you to do and only work as a normal user,
every time you want to do anything admin wise use sudo (or gksu the graphical equivalent)
ubuntu shoudl be set to do this automatically
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.