Connecting to X Server on a FreeBSD Box
Chris Hodgins
christopher.hodgins at gmail.com
Sun Apr 17 06:40:16 PDT 2005
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
Password: <enter password>
hostname$ xterm
-------------------
Chris
More information about the freebsd-questions
mailing list