[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using remote apps on local X server



On Tue, 04 Jul 2006 23:35:53 -0500
"Damon L. Chesser" <damon@damtek.com> wrote:

> Bob Smither wrote:
> > This must be a FAQ, but I could not stumble upon a solution.  With
> > other Linux boxen, I can ssh -X into them, then run X apps on the
> > remote with local display.  On a newly installed Sarge Debian box,
> > doing this results in the following error:
> >
> >   Gtk-WARNING **: cannot open display:
> >
> > Any suggestions as to why I can't run the remote app and see it
> > locally?
> >
> > Thanks!
> >   
> 
> You will need to set the DISPLAY variable and export it.  I don't
> know what you set it to, but I do know you will have to export
> DISPLAY serverx: X,X    X here = display and serverx=name or
> ipaddress of the desired server (such as 192.168.2.4:  0,0.  I have
> just exhausted my knowledge of the matter as I don't play with
> exporting displays, but I hope that helps, and at the  very least,
> get you on the right track.
> 

ssh with X-forwarding should take care of this automatically.

As Paul Dwerryhouse suggested, the OP should check that 'X11Forwarding
yes' is in the /etc/ssh/sshd_config file on the remote side.

-- 

Liam



Reply to: