LinuxQuestions.org
Visit Jeremy's Blog.
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 04-09-2007, 07:10 PM   #1
acidblue
Member
 
Registered: Apr 2003
Posts: 152

Rep: Reputation: 15
Can't start synaptic


I can't seem to run synaptic from menu or cmd line.
From the cmd line I get:


Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(synaptic:4979): Gtk-WARNING **: cannot open display:

From the menu i get a KDESU error or somthing like that.
I thinks it a sudo error--usr not in sudo list or something.

I can 'apt-get' and install pkgs.
just can't run synaptic.
Tried 'apt-get upgrade synaptic' but it wants to ugrade 1327 pkgs as well.

Did a Debian install from a Knoppix 5.1.1 dvd which i got from Linux Pro mag.
i think it installed a generic 'byrel'
uname -r gives 2.6.19
 
Old 04-09-2007, 07:14 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try doing,
Code:
$su
#synaptic &
 
Old 04-09-2007, 08:06 PM   #3
acidblue
Member
 
Registered: Apr 2003
Posts: 152

Original Poster
Rep: Reputation: 15
Gives me the same error msg.
Damn!
 
Old 04-09-2007, 08:14 PM   #4
phantom_cyph
Senior Member
 
Registered: Feb 2007
Location: The Tropics
Distribution: Slackware & Derivatives
Posts: 2,472
Blog Entries: 1

Rep: Reputation: 128Reputation: 128
Mmm. Try "su - root" and then try the commands redazz gave you, that may be the problem.
 
Old 04-09-2007, 08:27 PM   #5
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
actually this should work
su
export DISPLAY=:0
synaptic

(or install sux and use that instead of su.)
 
Old 04-10-2007, 04:18 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Another option is to do "xhost +hostname" before running synaptic to allow GUI apps to be run by any users on the machine you are using.
 
  


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
Can't start synaptic in live CD? Adamant1988 MEPIS 10 12-16-2013 02:40 PM
synaptic wont start ravisghosh Linux - Software 1 08-05-2006 08:29 AM
synaptic problems at start up roddyguk Linux - Software 7 10-12-2005 02:00 PM
Synaptic will not start D_Linux Linux - Software 1 03-18-2005 01:55 PM
Synaptic will not start after restart! Oh Cisco Debian 8 07-29-2004 11:44 AM

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

All times are GMT -5. The time now is 03:28 PM.

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