Running X on a virtual dedicated server

Ted Gould ted at gould.cx
Fri Nov 16 21:36:28 MST 2007


On Fri, 2007-11-16 at 21:07 -0700, 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 at ip

Try this command:

echo $DISPLAY

This will tell you what display the X programs are connecting to.  This
should be an SSH tunnel, something like:

:10.0

A good program to test if everything is working is "xlogo", very simple
but connects over the X11 protocol.

Also, I'd stress that "xhost +" is ONLY for debugging.  SSH should set
up the permissions so that this isn't necessary, it's a significant
security issue to leave that open regularly.

		--Ted

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20071117/44c4136c/attachment.pgp 


More information about the PLUG-discuss mailing list