Ok, I have been using Linux for a long while, but in comparison to my windows boxes most of my Linux stuff just works.  On that note I am much less experienced then many others on this list.  Could you please explain xhost+ to me?


From: plug-discuss-bounces@lists.plug.phoenix.az.us [mailto:plug-discuss-bounces@lists.plug.phoenix.az.us] On Behalf Of Jon M. Hanson
Sent: Friday, November 16, 2007 9:13 PM
To: Main PLUG discussion list
Subject: Re: Running X on a virtual dedicated server

If you're using ssh on that system then restarting sshd on that system will have no effect. The sshd demon accepts connections to your machine and has nothing to do with outgoing connections. That's why you can restart sshd and it didn't affect your outgoing ssh connection.

You might also need to do an "xhost +" to allow your X server to accept connections before your try to open up any X programs.
---
Jon M. Hanson (N7ZVJ)



On Nov 16, 2007, at 9:07 PM, Bryan O'Neal wrote:

True, this is what I want, however I edited /etc/ssh/ssh_config and
uncommented and changed the lines ForwardX11 yes and ForwardX11Trusted
yes.  I pondered why PasswordAuthentication yes was commented but
ignored this saved the file and restarted sshd.  Logged out and logged
back in.  I also wounded why I could restart sshd without being logged
out, but again ignored this.  However when I try to launch konqueror I
get "cannot connect to X server"  That is when I started trying to start
X

I am connecting using ssh -X user@ip

-----Original Message-----
From: plug-discuss-bounces@lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces@lists.plug.phoenix.az.us] On Behalf Of Ted
Gould
Sent: Friday, November 16, 2007 8:49 PM
To: Main PLUG discussion list
Cc: Arizona State University Linux Users Group
Subject: Re: Running X on a virtual dedicated server

On Fri, 2007-11-16 at 18:37 -0700, Bryan O'Neal wrote:
As many of you know, I like my GUI tools.  And I just purchased a 
virtual server from GoDaddy, but when I try to run an X app I get the 
generic error of cannot connect to X server.  If I look at ps -A I see

xinted running.  If I try to startx I get
xauth: creating new authority file /root/.serverauth.5195 (or some 
randum number)
xinit: No such file or directory (errno 2): no server "X" in PATH

I think you're confused at what you want.  You don't want X running on
that computer, you want the programs to display on your X server running
on your machine.  Try connecting like this:

ssh -X -Y -C myhost.com

That opens up X tunneling, sets the forward file, and does a little
compression for you too.

Some SSH servers aren't set up to support X tunneling by default, you
may need to enable it in /etc/ssh/ssh_config

--Ted

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss