Running X on a virtual dedicated server
Bryan O'Neal
BONeal at cornerstonehome.com
Fri Nov 16 21:54:00 MST 2007
Ok, I am trying to manually set the display using setenv DISPLAY and I
get a command not found error. Any suggestions?
-----Original Message-----
From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of
Bryan O'Neal
Sent: Friday, November 16, 2007 9:46 PM
To: Main PLUG discussion list
Subject: RE: Running X on a virtual dedicated server
Ahhh... Echo $DISPLAY returns nothing!
-----Original Message-----
From: plug-discuss-bounces at lists.plug.phoenix.az.us
[mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of Ted
Gould
Sent: Friday, November 16, 2007 9:36 PM
To: Main PLUG discussion list
Subject: RE: Running X on a virtual dedicated server
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
---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
More information about the PLUG-discuss
mailing list