LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-14-2012, 11:10 PM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Synaptic in Wheezy; is this a bug, or my error?


Hello, i'm using Debian Wheezy. I installed Kde and then after that i installed synaptic, and it works perfectly as it should. I decided to install gnome and xfce later. I did minimal install of all three desktop environments for the record. If i try to use synaptic in gnome or xfce, it asks for my root password, i enter it and the box goes away, but then nothing happens, synaptic doesn't open. I have gksu installed as well.
I couldn't find a bug report for this, but i am terrible at locating specific bug reports. I don't think this is a bug, i suspect i'm just missing a package but i don't know what.
 
Old 07-14-2012, 11:18 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Start it with
Code:
gksu synaptic
from the command line to see if there are error-messages.
 
Old 07-14-2012, 11:33 PM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
I don't know why i never noticed this before, but when i entered gksu i get the following.
Code:
(gksu:9567): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
When i start synaptic through gksu, i get this.
Code:
(synaptic:9585): Gtk-WARNING **: Unable to locate theme engine in module_path: "aurora",

(synaptic:9585): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Synaptic opens when opened using gksu from the command line, but it won't open when opened from the icon.

[Edit]
The above was done in xfce; i've just done the same check in gnome, Still it will not open from the icon, but it will from gksu, but in gnome, it reports no errors.

Last edited by Knightron; 07-14-2012 at 11:43 PM.
 
Old 07-15-2012, 02:39 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
An old bug or misbehavior ? Happens now and then.
( Don't remember how many year, may be the last 5 ? )

Any terminal and 1) su 2) synaptic
.. has been my solution.

And later on synaptic is OK again by using the "Desktop entry".

.
 
Old 07-15-2012, 04:23 PM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
synaptic from the menu is started with pkexec as opposed to gksu. If you remove policykit-1, pkexec is removed and the launcher for synaptic in the menu is not updated to use gksu - which is technically a bug.

Last edited by cynwulf; 07-15-2012 at 04:29 PM.
 
Old 07-16-2012, 12:45 AM   #6
kepler2
LQ Newbie
 
Registered: Jun 2005
Location: Germany
Distribution: debian testing /buster
Posts: 21

Rep: Reputation: 0
wheezy synaptic problem

Here's another one having wheezy synaptic problems.
In fact, I've had loads of problems with wheezy over the last couple of weeks, seemingly because of policycoreutils.
Did a full upgrade using synaptic yesterday (15/07/2012), then disabled the policycoreutils file in /etc/init.d/ and had to install policycoreutils from the cli - everything seemed ok, to my surprise, then found synaptic wouldn't start from kde icon.

Just tried from konsole, with following result:

home/user1# synaptic
Invalid MIT-MAGIC-COOKIE-1 key
(synaptic:5092): Gtk-WARNING **: cannot open display: :0

Any tips will be gratefully received...

Peter
 
Old 07-16-2012, 01:02 AM   #7
kepler2
LQ Newbie
 
Registered: Jun 2005
Location: Germany
Distribution: debian testing /buster
Posts: 21

Rep: Reputation: 0
wheezy synaptic : quick update
I usually use Quicksand to start my applications, and synaptic still won't start from that or the cli, as I said.
But following one of the tips above, I just went to the kde menu structure, and found that synaptic starts ok from there.

A bit of a mystery, but it makes it for the time being more of a minor bug than a serious problem.

Over the last year-or-so, the overheads of using testing (wheezy right now), rather than stable (squeeze) seemed to have increased quite a bit. Had loads of trouble when they introduced nouveau : without knoppix I'd never have fixed it. And recently it's been very large update volumes (~ 1GB), and dependency based boot and policycoreutils.

Peter
 
Old 07-16-2012, 03:08 AM   #8
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by kepler2 View Post
Just tried from konsole, with following result:

home/user1# synaptic
Invalid MIT-MAGIC-COOKIE-1 key
(synaptic:5092): Gtk-WARNING **: cannot open display: :0
You're trying to run it from a root terminal so that's a pretty normal result.

Open a terminal emulator and do

Code:
$ kdesu synaptic
Or use the alt+f2 run command box and enter the same there.

If it doesn't work from the terminal (command not found), that's because you need to fix kdesu to work properly:

http://forums.debian.net/viewtopic.p...art=15#p443427
 
1 members found this post helpful.
Old 07-19-2012, 04:42 AM   #9
kepler2
LQ Newbie
 
Registered: Jun 2005
Location: Germany
Distribution: debian testing /buster
Posts: 21

Rep: Reputation: 0
caravel --
yes, thanks for the tip: that worked.
But it's a change in behaviour since I upgraded. Before quicksand would accept just "synaptic", and then ask for root pwd automatically.
It's scarcely dramatic, but you have to find it out.
But it's led me on to something else useful: I can now open dolphin as root using your technique: before I had to use kdesudo in konsole. I'm not terribly happy from a security point-of-view with sudo, and would like to disable it. Will now do so.

Thanks again

Peter
 
  


Reply



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
[SOLVED] Can someone take a look at this link: Concerning a bug in Wheezy? barnac1e Debian 2 03-31-2012 05:18 PM
[SOLVED] Synaptic error rahulkya Linux - Newbie 1 08-04-2011 10:55 PM
Synaptic Error. Nothing shows up in synaptic because of error! randell6564 Ubuntu 1 04-16-2007 09:19 PM
Synaptic Error baabakb Linux - Hardware 1 11-17-2006 02:29 PM
Synaptic Gui ver on Suse 10.0 - error message : "command synaptic not found" suse2166 Linux - Newbie 6 04-04-2006 01:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:49 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