Author Topic: Okular won't start  (Read 704 times)

Offline gilado

  • Hero Member
  • *****
  • Posts: 520
Okular won't start
« on: December 26, 2012, 06:21:04 PM »
Every so often okular stops working.  I click an attachment in email, an icon blinks on the taskbar, then it disappears.

Code: [Select]
ps aux | grep okular shows it is running. I run
Code: [Select]
killall okular, checks that none are running, and try again. same problem.

I start okular from command line (konsole), nothing happens.

Here's the interesting part:

In konsole, I become root
Code: [Select]
su - then try to run okular. It works!

Restarting the system make the problem go away ... until next time.





Offline muungwana

  • Hero Member
  • *****
  • Posts: 6207
Re: Okular won't start
« Reply #1 on: December 26, 2012, 06:37:29 PM »

when it doesnt start,run it from the terminal and report any output it may produce.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline gilado

  • Hero Member
  • *****
  • Posts: 520
Re: Okular won't start
« Reply #2 on: December 26, 2012, 09:30:06 PM »
no output it just hangs there until I ^C

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6207
Re: Okular won't start
« Reply #3 on: December 26, 2012, 09:34:24 PM »

can you start kwrite when okular stop working?
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline wizard343

  • New Friend
  • *
  • Posts: 3
Re: Okular won't start
« Reply #4 on: December 27, 2012, 03:39:51 PM »
Did you try to reinstall it?

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: Okular won't start
« Reply #5 on: December 28, 2012, 02:00:46 AM »
It could be down to permissions, entering ls -l /usr/bin/okular in a terminal should yield something like;

-rwxr-xr-x 1 root root 49644 Oct  9 01:30 /usr/bin/okular*

Regards


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline gilado

  • Hero Member
  • *****
  • Posts: 520
Re: Okular won't start
« Reply #6 on: December 28, 2012, 11:43:07 AM »
Turns out it's not only okular but any kde program, for example dolphin

If I try to logout, the desktop clear but the logout never completes.

The only recourse is to reboot, for example I ctrl-alt-f1 into the console, login as root and reboot.

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1627
  • UK MLU
Re: Okular won't start
« Reply #7 on: January 01, 2013, 03:33:04 PM »
Try creating a new user and see if you have the same problem with that account


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6207
Re: Okular won't start
« Reply #8 on: January 01, 2013, 04:06:19 PM »
Turns out it's not only okular but any kde program, for example dolphin

If I try to logout, the desktop clear but the logout never completes.

The only recourse is to reboot, for example I ctrl-alt-f1 into the console, login as root and reboot.
I suspected this.

I am seeing the same thing.My computer stays running and logged in all the time and the problem will always happen sooner or later.Havent found a pattern yet.

What i do when it happen is pressing "ctrl+alt+F4" to go to tty4,log in as root and then run "killall -u USER" and i will be brought back to the log in screen. This is ugly but it saves me a reboot.

Being seeing this behavior for ages now,across various kde updates.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline gilado

  • Hero Member
  • *****
  • Posts: 520
Re: Okular won't start
« Reply #9 on: January 16, 2013, 12:16:44 PM »
Yes no kde application would start. I hit ctrl-alt-del to kill the UI and get back to the login screen. However once I login as the same user, kde initialization get stuck: the login dialog clears but I never get a desktop.

Switching to a console ctrl-alt-f1,  login as root and run the users command. It shows both root and my other user.  I switch back to the stuck GUI session (ctrl-alt-f8) and kill it again. In the root console I run users command again and indeed only root now is logged in.

However, when I run the ps command a few processes of my other user (which now is not logged in)  linger.  Especially suspicious is gam-server.  I kill it using the kill command. I switch back to the GUI (ctl-alt-f8) and login as my other user. Now everything works.

So I think the culprit is gam-server. Next time I'm not able to start new programs I'll try to just restart gam-server, see if the problem goes away.
 

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6207
Re: Okular won't start
« Reply #10 on: January 17, 2013, 11:07:01 PM »

i can confirm gam_server is the problem.I clicked an application to open a file dialog and it hanged,the problem was back,tried to open kwrite and it wouldnt open,killed gam_server and things went back to normal.

just checked and gam_server is running again so it looks like it gets restarted when its killed.
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2837
    • other projects...
Re: Okular won't start
« Reply #11 on: January 18, 2013, 12:52:49 AM »

i can confirm gam_server is the problem.I clicked an application to open a file dialog and it hanged,the problem was back,tried to open kwrite and it wouldnt open,killed gam_server and things went back to normal.

just checked and gam_server is running again so it looks like it gets restarted when its killed.

what is and which package contains this gam_server?

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3786
Re: Okular won't start
« Reply #12 on: January 18, 2013, 01:07:21 AM »
I think gam_server is from gamin.

Galen

Offline muungwana

  • Hero Member
  • *****
  • Posts: 6207
Re: Okular won't start
« Reply #13 on: January 18, 2013, 01:46:12 AM »

it looks like others have experienced the same problem: https://bugzilla.redhat.com/show_bug.cgi?id=786170
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12486
Re: Okular won't start
« Reply #14 on: January 18, 2013, 05:25:20 AM »
Gamin is a monitoring system for files and directories that independently implements a subset of FAM, the File Alteration Monitor. Running as a service, it allows for the detection of modifications to a file or directory. gam_server functions as a daemon for Gamin. Under Linux, Gamin uses inotify or dnotify to monitor filesystem activity. In the past gamin was used for instance if you copied a file or folder from one place the file manager would detect it and reflect the change in the application's window.

« Last Edit: January 18, 2013, 01:02:17 PM by Texstar »

Thanks to everyone who donates. You keep the servers running.