ICEauthority and qt session manager problems after cmake install - related?
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.
ICEauthority and qt session manager problems after cmake install - related?
Hi,
I recently had to install cmake to get cutecom serial comms package working and this also involved installing qt4 and qt4-devel. After this I have been having a couple of errors coming up again and again, but not constantly. The first regards ICEauthority whereby at boot I get the error
"Could not update ICEauthority file /home/'....'/.ICEauthority"
doing a chmod 777 on the file sorts it out for the next boot or so but then it comes back.
Also I have been getting errors such as
"Qt: Session management error: None of the authentication protocols specified are supported"
Re-installing qt4 through the Suse package manager can help this for a short while, but again it comes back.
Does anyone have any ideas for the underlying cause of this problem, or routes to a permanent work around?
in /home/you_user_name/.ICEauthority this is a hidden file.
just delete the file and reboot it is linked to /tmp/.ICE-unix go ahead and delete that file to now when you reboot an new ICE-unix folder will be created in /tmp and the /var/run/xauth folder that has the encrypted file that tells the system that that users ICE.auth for the socket will be replaced. seems when you installed qt it must have created a ICE.auth and now the system thinks the user is already logged on.
good luck We call these stale files and the start up scripts are suppose delete these then create a new session. in order to create a session it must have a socket ICE.auth but your thinks it is already running.
After deleting '/home/you_user_name/.ICEauthority' and '/tmp/.ICE-unix' and re-booting all errors seem to have gone. Thank you so much. I'll keep an eye for a few days and then close the thread ( or whatever I have to do ).
Thanks again.
All was working great until I switched (under oracle) .bash_profile to an old "reliable"
version that has qt and oracle defines(at the bottom).
version
I cannot log into any user but root.
[root@LMKIII oracle]# su - landon
su: warning: cannot change directory to /home/landon: Permission denied
-bash: /home/landon/.bash_profile: Permission denied
-bash-3.2$ oracle
-bash: oracle: command not found
-bash-3.2$ logout
-bash: /home/landon/.bash_logout: Permission denied
[root@LMKIII oracle]# su - oracle
su: warning: cannot change directory to /home/oracle: Permission denied
-bash: /home/oracle/.bash_profile: Permission denied
-bash-3.2$
________________________________________________
# mount --move /mnt/usbdrive /home/landon/usb
QTDIR=/usr/lib/qt4
# QTDIR=/usr/lib/qt-3.3
CPLUS_INCLUDE_PATH=$QTDIR/include
BASH_ENV=$HOME/.bashrc
USERNAME=""
looks like you moved your home folder to a new drive ? and you have not set that drive to those users use. only root has permission so you will need to figure the permission out.
give users disk permission. then the new folders were moved as root so now they are owned by root. if you are going to move things like home. put use your user admin in kde. you will see the options for renaming where your user home file is.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.