X11 help wanted
yoji.atsumi at yahoo.com
yoji.atsumi at yahoo.com
Fri Jun 5 18:32:58 UTC 2009
Hi Peter,
I missed your post earlier,
> Did you use ssh X forwarding? You should!
> Something like (on U):
> % ssh -X R xclock
> will start xclock on R and forward the display to U
> With ssh -X you do not need to set a DISPLAY and need not disable X
> security with "xhost +"
The problem I ran into by what you suggest is that I set
the DISPLAY variable on R via a shell startup file. And
it is not set as the name/address of U. As such, the display
of the clock goes to a different monitor/screen.
I was hoping that ssh command also had an option to let
me set DISPLAY variabe, but I didn't find it.
Someone else (also named Peter) suggested below and
it works for me.
> In the /etc/gdm/gdm.conf file, change the line:
> DisallowTCP=true
> to
> DisallowTCP=false
Regards,
Yoji
--- On Fri, 6/5/09, Peter Sabaini <peter at sabaini.at> wrote:
From: Peter Sabaini <peter at sabaini.at>
Subject:
Re: X11 help wanted
To: ubuntu-users at lists.ubuntu.com
Date: Friday, June 5, 2009, 5:57 AM
On Thu, 2009-06-04 at 16:23 -0700, yoji.atsumi at yahoo.com wrote:
> Hi folks,
>
> I just started using ubuntu 9.0.4. I think I have pretty much all
> I wanted. Except...
>
> I can't get X11 display to come my ubuntu. For clarisy, I will
> call the machine I am talking about (running ubuntu 9.0.4)
> U. I can issue "xclock" command from U and the clock comes
> to the screen. No problem.
>
> Now, I ssh to a different host, running redhat, and I will call
> this machine R. Here's what I have done:
> On U,
> I issue "xhost +"
> On R,
> I export DISPLAY variable as
xxx.xxx.xxx.xxx:0.0. Then issue
> "xclock" command
> What I get on R is:
> Error: Can't open display: xxx.xxx.xxx.xxx:0.0
> Of course, nothing comes to U's screen.
>
> Would somebody please advise me as to what cure there is,
> what stupidity I have committed, etc?
>
> Regards,
>
>
> Yoji
>
>
Did you use ssh X forwarding? You should!
Something like (on U):
% ssh -X R xclock
will start xclock on R and forward the display to U
With ssh -X you do not need to set a DISPLAY and need not disable X
security with "xhost +"
hth,
peter.
-----Inline Attachment Follows-----
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090605/cbcf5ce5/attachment.html>
More information about the ubuntu-users
mailing list