yeah emacs defaults to x11 unless you add the -nw option

On Thu, Apr 24, 2008 at 12:19 PM, Todd Deshane <[EMAIL PROTECTED]> wrote:

> On Thu, Apr 24, 2008 at 11:47 AM, John Mort <[EMAIL PROTECTED]> wrote:
>
> > I've recently started using screen out of habit when SSH'ing into my
> > machine from work.  Today I tried editing a file with emacs and got
> > the following error.
> >
> > [EMAIL PROTECTED]:~$ emacs x
> > Xlib: connection to ":0.0" refused by server
> > Xlib: No protocol specified
> >
> > emacs: Cannot connect to X server :0.0.
> > Check the DISPLAY environment variable or use `-d'.
> > Also use the `xhost' program to verify that it is set to permit
> > connections from your machine.
> >
> >
> > [EMAIL PROTECTED]:~$ printenv | grep DISPLAY
> > DISPLAY=:0.0
> >
> >
> > [EMAIL PROTECTED]:~$ xhost
> > Xlib: connection to ":0.0" refused by server
> > Xlib: No protocol specified
> >
> > xhost:  unable to open display ":0.0"
> >
> >
> >
> > Not really sure where to go from here, google is telling me how to
> > solve several problems that aren't this one. Any suggestions?
> >
>
> Try emacs -nw x
>
> -nw stands for no window using that it then should open in the console, not
> try to open a graphical window.
>
> Todd
>
>
> >
> > --
> > John D. Mort
> > http://john.mort.net
> > _______________________________________________
> > Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
> > http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
> > Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium
> >  Mar 5 - Wearable Linux Computing
> >  Apr 2 - Building a Kernel the Debian / Ubuntu way
> >  May 7 - Setting up a platform-independent home/small office network
> using
> > Linux
> >  Jun 4 - TBD
> >  Jul 2 - KVM (Tenative)
> >
> _______________________________________________
> Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
> http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug
> Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium
>  Mar 5 - Wearable Linux Computing
>  Apr 2 - Building a Kernel the Debian / Ubuntu way
>  May 7 - Setting up a platform-independent home/small office network using
> Linux
>  Jun 4 - TBD
>  Jul 2 - KVM (Tenative)
>
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org          
   
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug                           
Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium          
        
  Mar 5 - Wearable Linux Computing
  Apr 2 - Building a Kernel the Debian / Ubuntu way
  May 7 - Setting up a platform-independent home/small office network using 
Linux
  Jun 4 - TBD
  Jul 2 - KVM (Tenative)

Reply via email to