LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-07-2013, 01:03 PM   #1
dsollen
Member
 
Registered: Jun 2009
Posts: 56

Rep: Reputation: 15
can't start VNC after yum install, ps hangs


I have two odd bugs happening. both happened about the time of a yum install so I assume they are related.


I was trying to instal rapidSVN that only has intranet (not internet) access. My defualt repository didn't have the rpm so I added what looked to be a good repository and installed rapidsvn. I then killed my vncserver connection with the intent to restart it so gnome would reflect any GUI changes caused by rapidSVN.

Unfortunately, my X11 client dies when I try to start vncserver now. There are many error messages, but most of the messages are the same as everyone got when they first connected to the server. The following messages are the *new* ones I get that aren't present in old functionaly VNC startups; written by hand so forgive typos:

______________-
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: no such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: no such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: no such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: no such file or directory
Traceback (most recent call last):
File "/user/share/system-config-printer/applet.py", line 20, in <module>
inport cups
ImportError: /user/local/lib/libgcrypt.so.11: undefined symbol: gpg_err_set_errno
Failed to play sound: IO error

.
.
.
** (gnome-panel:24558): CRITICAL **: panel_applet_frame_change_background: assertion 'PANEL_IS_WIDGE (GTK_WDIGET (frame)->parent)' failed
/user/bin/Xvnc symol lokup error: /user/local/lib/libgcrypt.so.11: undefined symbole: gpg_err-set_errno
X10: fatal IO error 11( resource temporarily unavailable on X server ":6.0"
after 168 requests (168 known processed) with 0 events remaining.
gnome-pane: fatal IO error 104 (connection reset by peer) on X server :6.0.
gnome-volume-control-applet: Fatal IO error 11 (resource temporarily unavailable) on x server :6.0
... (4 more lines fo same)
The application 'nautilus' lost its connection to the siaply :6.0;
most likely the X server was shut down or killed/destoryed the application.

_______________-

I've also discovered that I can't do ps -ef, if I do the program will print the expected ps results, then hang indefinately. ps works fine though.


I'm not sure how to address this issue. I yum removed all four RPM installed when I tried to do rapidsvn, that didn't fix it. I don't know for sure that the yum install was even the problem; though it seems probable. Should I be looking at the gpg_err_set_errno undefined symbol or the missing camberra_gtk-module as the root cause of my problem? there is no camberra_gtk_module anywhere on my system according to locate...

Any help?
 
Old 03-08-2013, 09:12 AM   #2
dsollen
Member
 
Registered: Jun 2009
Posts: 56

Original Poster
Rep: Reputation: 15
update/bump here

The ps command hanging issue went away with a reboot. quick search suggests that some pid out there had an issue where ps couldn't read details about it, so ps would block while trying to get specifics to output.

The other isues still exist. In fact the gpg_err_set_errno issue appears elsewhere now. I've found that if I just run gpg_auth itself I get the same error message. None of the gpg_auth files even appear to exist on my system. I've tried doing a yum install of gpg-auth-error (name may be slightly wrong, but error library for gpg-auth); but that didn't fix anything.

For now I want to focus on gpg-auth issue, though any information on the missing camberra-gtk-module would still be welcome. Any idea how I solve why gpg-auth is so broken for me ATM.
 
Old 03-08-2013, 09:43 AM   #3
dsollen
Member
 
Registered: Jun 2009
Posts: 56

Original Poster
Rep: Reputation: 15
update.

I solved this. the issue was simple broken path. I had to set my LD_LIBRARY_PATH variable to point to /lib64; which is where libgpg_error .so was stored. gpg-agent new how to find the file fine, according to ldd. However, the libgcrypt.so; which is also a dependency of gpg-agent and run by it, was unaware of the location. I created a .sh file in /etc/profil.d which sets LD_LIBRARY_PATH to $LD_LIBRARY_PATH;/lib64 which should fix the problem perminatenly? still waiting on a reboot which I can't run now; but the real issue is resolved.

Incidentally; I would love to know how things got broken. my LD_LIBRARY_PATH is completely empty at bootup right now. shouldn't there be other locations LD_LIBRARY_PATH points to? am I going to run into something else breaking later because it's using LD_LIBRARY_PATH to find a library that isn't located in /lib64? should I manually add some other common directories to this path? or maybe figure out why it's empty to begin with?

Also, did my YUM install break this? I know yum didn't update libgpg_error. could yum have wiped out my LD_LIBRARY_PATH? done something else? I would love to believe that I was not the one that broke this; any chance YUM wasn't the fault lol.
 
  


Reply

Tags
redhat, vncserver, x11



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg0000 Fedora 8 04-13-2011 11:25 AM
yum hangs; unresponsive; problem with yum slingshot-dave Linux - Newbie 9 05-05-2010 03:38 PM
vncviewer nowhere to be found after vnc yum install christylea Linux - Software 5 03-27-2009 03:28 PM
vnc viewer hangs prov Fedora 1 04-16-2006 02:37 AM
Vnc window hangs. heatlill Linux - General 5 03-28-2002 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:21 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
Open Source Consulting | Domain Registration