Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
hi everybody,
i was not able to boot my 32 bit centos 6.2 on my machine. what i have done before is i was configuring my local ftp server so i add user
#groupadd ftpusers
#useradd user
#passwd user
#usermod -aG ftpusers -d /var/ftp/pub user
#chown root:ftpusers /var/ftp/pub
#chmod g+w /var/ftp/pub
just after some moment i saw alert something nautilus and when i reboot my system the error occurs before displaying users list and my mouse and keyboard doesn't work.
error = "could not update ICEauthority file /var/ftp/gdm/.ICEauthority"
so how can i troubleshoot that error and able to login i have important data. or is there any way to repair system without loosing my data
can anybody help me to find solutions i'll be greatful and accept any kinds of ideas and suggestions are welcome.
It appears like a permission problem with the file "/var/ftp/gdm/.ICEauthority". Just try loggin into single user mode and fix the issue with this file
sudo chown $USER:$USER /home/$USER/.ICEauthority
sudo chmod 644 /home/username/.ICEauthority
or depending on permissions desired:
sudo chmod 600 $HOME/.ICEauthority
i have never use sudo command and do i have to put my username'khem'
Code:
$USER:$USER or
khem:kheem or
$khem:$khem
Code:
What are the permissions of this file? You may need to modify them with something like (obviously you'll need to modify this code a bit):
which premission file do i have to check. lastly if i reinstall centos again i have to loose all my data is there any repair mode in centos so i can save all of my data.
thank you.
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82
Rep:
Quote:
Originally Posted by paruhang
thank you,
so i was confused with this code
Code:
sudo chown $USER:$USER /home/$USER/.ICEauthority
sudo chmod 644 /home/username/.ICEauthority
or depending on permissions desired:
sudo chmod 600 $HOME/.ICEauthority
See the reply from chrism01 he setup specifically what you have to do.
Quote:
Originally Posted by paruhang
i have never use sudo command and do i have to put my username'khem'
So khem has root/administrative permissions? thats a bit odd that you're having this issue then.
Quote:
Originally Posted by paruhang
which premission file do i have to check. lastly if i reinstall centos again i have to loose all my data is there any repair mode in centos so i can save all of my data.
thank you.
You do not have to lose all of your data and you DO NOT have to reinstall centos. You issue is with a single daemon/file it'd be a waste of effort to reinstall CentOS and that may not even fix your issue! Take the time to try to fix the permissions and see where that gets you. You can certainly repair your CentOS if with a liveCD or other method if you're unable to access the system or ever need to repair your bootloader but for the issue you're having you should be able to access the system and make changes without that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.