LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-05-2009, 03:12 AM   #1
DrMuir
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 1
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?

Thanks

Ali
 
Old 09-05-2009, 10:35 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,105
Blog Entries: 3

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
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.

Last edited by Drakeo; 09-05-2009 at 10:36 AM.
 
Old 09-06-2009, 04:22 AM   #3
DrMuir
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 1
Drakeo Hi,

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.
 
Old 09-28-2009, 05:57 PM   #4
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
I deleted the file and it made no difference.

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=""

LD_LIBRARY_PATH=/usr/lib
LIBRARY_PATH=$LD_LIBRARY_PATH
QTLIB=$LD_LIBRARY_PATH
# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Trolltech/Qt-4.2.2/lib
# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib:/usr/lib
# LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
PS1="\h (\u) \w [\!]>"

PATH=$QTDIR/bin:$QTDIR:$QTLIB:$PATH:$HOME/bin:.
export PS1
export USERNAME
export LD_LIBRARY_PATH
export PATH
export QTDIR
export LIBRARY_PATH
export CPLUS_INCLUDE_PATH
export BASH_ENV
export HIST
export hist
export savehist
export SAVEHIST
# unset USERNAME

# Oracle Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

ORACLE_HOSTNAME=localhost.localdomain; export ORACLE_HOSTNAME
ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11.1.0/db_1; export ORACLE_HOME
ORACLE_SID=lmkiiiGDNSID; export ORACLE_SID
TNS_ADMIN=/u01/app/oracle/product/11.1.0/db_1/network/admin export TNS_ADMIN

ORACLE_TERM=xterm; export ORACLE_TERM
PATH=/usr/sbin:$PATH; export PATH
# PATH=$ORACLE_HOME/bin:$PATH; export PATH
PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH

if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi

LIBXCB_ALLOW_SLOPPY_LOCK=true; export LIBXCB_ALLOW_SLOPPY_LOCK
 
Old 09-29-2009, 08:24 AM   #5
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,105
Blog Entries: 3

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
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.
 
Old 09-29-2009, 08:55 AM   #6
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
totally not!

nothing is moved

I tried to renew the .bash_profile in oracle and now I get the message about .ICEauthority

I created a new user and now even he gets the message.

A distant post recommended I delete .ICEauthority and reboot but that didn't work.

I did save the .ICEauthority just in case

I cannot even su - oracle
 
Old 09-29-2009, 01:29 PM   #7
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
chmod 755 and 777 problem fixed.I forget the post that recommended this

why did I use 777 and intentionally mess up some permissions???

I went to the limit to see (at least) if this was the problem!

Now that it is fixed, I can backoff the permissions.

As others, I wish I knew why this happened.

Since I have used the suspect .bash_profile file with no problems.

I think this is a bug of sorts.

[root@eugenemachine oracle]# lsa /home
total 24
drwxrwxrwx 4 root root 4096 2009-09-28 16:17 ./
drwxr-xr-x 24 root root 4096 2009-09-29 13:04 ../
drwxrwxrwx 4 eugene eugene 4096 2009-09-28 16:17 eugene/
drwxrwxrwx 49 oracle oracle 4096 2009-09-29 13:17 oracle/
[root@eugenemachine oracle]# lsa |more
ls: cannot access .gvfs: Permission denied
total 3276
drwxrwxrwx 49 oracle oracle 4096 2009-09-29 13:17 ./
drwxrwxrwx 4 root root 4096 2009-09-28 16:17 ../
drwxr--r-- 3 oracle oinstall 4096 2009-09-22 11:49 .adobe/
drwxr--r-- 2 oracle oracle 4096 2009-08-26 00:34 AdobeFlash/
drwxr--r-- 2 oracle oinstall 4096 2009-09-28 15:03 bash1/
drwxr--r-- 2 oracle oracle 4096 2009-09-28 17:57 bash2/
-rwxr-xr-x 1 oracle oinstall 14402 2009-09-29 13:09 .bash_history*
-rwxr-xr-x 1 oracle oinstall 18 2009-09-29 13:08 .bash_logout*
-rwxr-xr-x 1 oracle oinstall 1828 2009-09-29 13:08 .bash_profile*
-rwxr-xr-x 1 oracle oinstall 170 2009-09-29 13:08 .bashrc*
 
Old 09-29-2009, 01:38 PM   #8
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
now I have :

drwxr--r-- 3 oracle oracle 4096 2009-08-24 19:35 .gnupg/
-rw-r--r-- 1 oracle oinstall 35 2009-09-29 13:10 .gpg-agent-info
drwxr--r-- 2 oracle oracle 4096 2009-08-24 14:25 .gstreamer-0.10/
-rw-r--r-- 1 oracle oinstall 141 2009-09-29 13:05 .gtk-bookmarks
d????????? ? ? ? ? ? .gvfs/

what is .gvfs???
 
Old 09-29-2009, 05:32 PM   #9
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
to save having garbage showing in my directory, I copied the

corresponding directory from root

the directory was empty
 
  


Reply

Tags
iceauthority, qt4


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo/Sabayon-related question about package manager WillingToLikeLinux Gentoo 7 11-03-2009 11:22 AM
CMake is new territory for me - Trying to install kdebluetooth4 BobNutfield Slackware 12 06-16-2009 06:20 PM
Unusual Amarok/dcopserver/.ICEauthority problems. Zyk Linux - Software 1 03-06-2009 04:48 PM
Session Manager Hectic Slackware 1 10-10-2004 09:13 PM
kde programs and ICEauthority problems doralsoral Linux - Software 1 02-18-2004 01:34 AM


All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration