| Fedora This forum is for the discussion of the Fedora Project. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-14-2005, 10:35 AM
|
#1
|
|
Member
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234
Rep:
|
Synaptic problem....
i installed synaptic on FC4
(i grabed synaptic here, http://download.fedora.redhat.com/pu...extras/4/i386/)
but when i fire synaptic....
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
(synaptic:1081): Gtk-WARNING **: cannot open display:
what is wrong?
|
|
|
|
06-14-2005, 10:47 AM
|
#2
|
|
Member
Registered: May 2005
Posts: 35
Rep:
|
have you tried typing 'xhost + computer_name' (as normal user I think) in a console
|
|
|
|
06-14-2005, 03:28 PM
|
#3
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
If you start synaptic from the Desktop -> System menu, it will ask you for roots password and doesn't produce the error that you are experiencing when starting it from a terminal emulator.
|
|
|
|
06-15-2005, 03:09 AM
|
#4
|
|
Member
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234
Original Poster
Rep:
|
Quote:
Originally posted by reddazz
If you start synaptic from the Desktop -> System menu, it will ask you for roots password and doesn't produce the error that you are experiencing when starting it from a terminal emulator.
|
i have no entry in there.....
how to add that?
Edit: i encounter the same error whenever i lauch a GUI apps from terminal emulator........how to solve it.....?
thanks again..
|
|
|
|
06-15-2005, 03:55 AM
|
#5
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Desktop -> System Settings -> More System Settings -> Synaptic. If you launch GUI apps from the terminal as root or any other user who did not start the xsession, you will keep getting that error because most dstros do not allow a user who did not start the xsession to run gui apps for security reasons. You can use the "xhost +" command as mentioned above, to work around this.
|
|
|
|
06-15-2005, 03:57 AM
|
#6
|
|
Senior Member
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528
Rep:
|
you could try typing in the terminal:
sudo synaptic
OR
kdesu synaptic
NOTE : you have to have your user in the /etc/sudoers file of course 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:23 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|