Connecting to X Server on a FreeBSD Box

Loren M. Lang lorenl at alzatex.com
Wed Apr 20 03:32:27 PDT 2005


On Sun, Apr 17, 2005 at 02:40:15PM +0100, Chris Hodgins wrote:
> On 4/17/05, Soheil Hassas Yeganeh <soheil.h.y at gmail.com> wrote:
> > Hi,
> > 
> > I start an X server on my FreeBSD box. I want to run some remote X
> > applications from my fedora core 2.
> > So, I have ssh to the fedora box and typed gedit.
> > But it says :
> >    (gedit:12438): Gtk-WARNING **: cannot open display:
> > 
> > After I had export  DISPLAY=freebsdboxip:0.0
> > it says again:
> >    (gedit:12438): Gtk-WARNING **: cannot open display:
> > 
> > But I can run freebsd application from my fedora core 2.
> > What is the problem?
> 
> If you are using ssh anyway, you can tell ssh to do X11 forwarding. 
> Read the man page first as there is some slight security risks
> involved depending on the way your machine is used.  Try this:
> 
> ---------------
> $ ssh -X username at hostname

With versions of openssh newer than 3.8, you probably want -Y instead of
-X.

> Password: <enter password>
> hostname$ xterm
> -------------------
> 
> Chris
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: CEE1 AAE2 F66C 59B5 34CA  C415 6D35 E847 0118 A3D2
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050420/376ea5b1/attachment.bin


More information about the freebsd-questions mailing list