Author Topic: Synaptic only opens in root konsole? [solved]  (Read 249 times)

Offline shimonl

  • Full Member
  • ***
  • Posts: 155
Synaptic only opens in root konsole? [solved]
« on: January 23, 2013, 08:08:58 AM »
Hi,
Today, synaptic stopped opening from the desktop. It no longer asks for a root password.
When I check ps, I see:
shimon   20462  0.0  0.4  82500 17788 pts/1    S+   15:56   0:00 /usr/lib/kde4/libexec/kdesu -u root -c synaptic

If I open konsole and su to root, running synaptic works perfectly.
but from my own user, running "/usr/lib/kde4/libexec/kdesu -u root -c synaptic"
just silently hangs forever.

Any idea why? and what to do to fix it?

Thanks!
Shimon
« Last Edit: January 23, 2013, 11:02:58 PM by shimonl »

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1922
  • Certified Windows Hater
Re: Synaptic only opens in root konsole?
« Reply #1 on: January 23, 2013, 08:21:02 AM »
Why don't you try to run it from terminal with the "synaptic" command and see what error it gives?
For the whole world, you are someone.
For someone, you are the whole world.

Offline shimonl

  • Full Member
  • ***
  • Posts: 155
Re: Synaptic only opens in root konsole?
« Reply #2 on: January 23, 2013, 08:28:46 AM »
'synaptic' runs perfectly from a konsole logged in as root (s I wrote above).

If the konsole is my own user, I get a popup that says
'you must run this program from root' (as expected).

As you see, the actual shortcut to synaptic is to 'kdesu'.
Maybe my problem is really with it and not with synaptic?

Offline agmg

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1922
  • Certified Windows Hater
Re: Synaptic only opens in root konsole?
« Reply #3 on: January 23, 2013, 08:39:38 AM »
Try running another program with "kdesu" like Dolphin or Kwrite... Also try "kdesu synaptic"...
« Last Edit: January 23, 2013, 08:47:46 AM by agmg »
For the whole world, you are someone.
For someone, you are the whole world.

Offline shimonl

  • Full Member
  • ***
  • Posts: 155
Re: Synaptic only opens in root konsole?
« Reply #4 on: January 23, 2013, 09:03:23 AM »
OK, I tried both:
$ /usr/lib/kde4/libexec/kdesu -u root -c kwrite
and
$ kdesu synaptic

Both simply sat there with no response at all. (I haven't killed them yet, so they are still sitting....)

Offline snoz

  • Jr. Member
  • **
  • Posts: 18
Re: Synaptic only opens in root konsole?
« Reply #5 on: January 23, 2013, 09:21:24 AM »
Have you tried rebooting?
Try creating a new user, login as that user and try from there. This will show if it is a problem with the HOME folder or a system issue.
« Last Edit: January 23, 2013, 09:24:05 AM by snoz »

Offline shimonl

  • Full Member
  • ***
  • Posts: 155
Re: Synaptic only opens in root konsole?
« Reply #6 on: January 23, 2013, 10:26:49 AM »
In principle, as a former MS user, I will not reboot unless really *forced* too.
Isn't linux smarter than that???

I logged in to a different user, but forgot to close the open session of synaptic
(which I had started from root konsole).

The other user got a root password prompt, and then nothing else happened.
I logged it out.

Back in my own desktop, I saw that synaptic was active :(
so I closed it, and went to try again.

Now the other user has the same problem as mine - I click synaptic and NOTHING happens. :(((

Offline pinoc

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2848
    • other projects...
Re: Synaptic only opens in root konsole?
« Reply #7 on: January 23, 2013, 12:55:38 PM »
reboot and test if you still have this issue. Or at least logout all users.
-p.

Offline pags

  • Hero Member
  • *****
  • Posts: 2519
  • Keep it clean.
Re: Synaptic only opens in root konsole?
« Reply #8 on: January 23, 2013, 02:19:27 PM »
If you don't want to reboot, log out all users, as suggested, and then try CTRL-ALT-BKSPC a couple times.  This forces a reset of X (and, hopefully, any dependent processes spawned from it).

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10672
  • MLUs Forever!
Re: Synaptic only opens in root konsole?
« Reply #9 on: January 23, 2013, 03:32:24 PM »
try launching System Activity  (Ctrl Esc) and type in   kdesu

kill all kdesu/kdesud  processes

then try launching Synaptic from the menu launcher

Doing so should generate a new kdesud and one instance of kdesu
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline DeBaas

  • Hero Member
  • *****
  • Posts: 1521
    • PCLinuxOS.nl
Re: Synaptic only opens in root konsole?
« Reply #10 on: January 23, 2013, 03:41:05 PM »
I found this behaviour sometimes with Synaptic.
My workaround is instead of kdesu synaptic the use of gksu synaptic

Offline shimonl

  • Full Member
  • ***
  • Posts: 155
Re: Synaptic only opens in root konsole?
« Reply #11 on: January 23, 2013, 11:02:30 PM »
Just17 - right!!
I killed all of the kdesu processes, and now everything is back to normal.
I have started and stopped synaptic from the desktop,
as well as the other suggested commands:
/usr/lib/kde4/libexec/kdesu -u root -c kwrite   
and
kdesu synaptic

Everything works perfectly.

Thanks very much,
Shimon