Debian This forum is for the discussion of Debian Linux.
|
| 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. |
|
 |
07-21-2006, 08:33 AM
|
#1
|
|
Member
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136
Rep:
|
(x)emacs doesn't start
Hello,
with the following message:
Code:
localhost:/home/user# emacs
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified
emacs: Cannot connect to X server :0.0
Since the system is freshly installed, I think one of configuration features is missing. Which one ?
Thank you.
Last edited by thelonius; 07-21-2006 at 08:34 AM.
|
|
|
|
07-21-2006, 09:10 AM
|
#2
|
|
Senior Member
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893
Rep:
|
Do you have running X at the moment?
|
|
|
|
07-21-2006, 09:21 AM
|
#3
|
|
Member
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136
Original Poster
Rep:
|
I'm in GNOME when I do it
|
|
|
|
07-21-2006, 10:06 AM
|
#4
|
|
Senior Member
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893
Rep:
|
Just in case: you do it on local machine from a terminal started from gnome?
And $DISPLAY is ":0.0" . Try ":0" , by the way.. And 'xhost +' doesn't help.
|
|
|
|
07-21-2006, 10:14 AM
|
#5
|
|
Member
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136
Original Poster
Rep:
|
yes, i open terminal in gnome and run emacs or xemacs in it
i will check if i have $DISPLAY variable. after installation what i did was aptitude several packages and none configuration at all.
thank you
Last edited by thelonius; 07-21-2006 at 12:32 PM.
|
|
|
|
07-21-2006, 10:20 AM
|
#6
|
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,466
Rep: 
|
I also have had this problem and it seems "xhost local:" works. Not sure if this is the best solution, though.
|
|
|
|
07-21-2006, 10:31 AM
|
#7
|
|
Senior Member
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893
Rep:
|
Shell variables are case-sensitive..
|
|
|
|
07-21-2006, 10:42 AM
|
#8
|
|
Member
Registered: Aug 2005
Location: Montréal
Distribution: Debian Testing, Slackware 10.2
Posts: 136
Original Poster
Rep:
|
Quote:
|
Originally Posted by raskin
Shell variables are case-sensitive..
|
i know 
|
|
|
|
07-21-2006, 12:30 PM
|
#9
|
|
Senior Member
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893
Rep:
|
Good. I just remembered a thread where somebody - being asked about $PATH - said that $path is empty.. And, by the way, maybe someone will find the thread without the knowledge about case.
|
|
|
|
| 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 12:00 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
|
|