Re: Connecting to X Server on a FreeBSD Box

2005-04-20 Thread Loren M. Lang
On Sun, Apr 17, 2005 at 02:40:15PM +0100, Chris Hodgins wrote:
 On 4/17/05, Soheil Hassas Yeganeh [EMAIL PROTECTED] 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 [EMAIL PROTECTED]

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

 Password: enter password
 hostname$ xterm
 ---
 
 Chris
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
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
 


pgpWXZ9suaRZj.pgp
Description: PGP signature


Connecting to X Server on a FreeBSD Box

2005-04-17 Thread Soheil Hassas Yeganeh
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?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connecting to X Server on a FreeBSD Box

2005-04-17 Thread Richard Danter
Soheil Hassas Yeganeh 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?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Try 'xhost +' on your FreeBSD box, then ssh to your FC2 box. Does that help?
Rich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Connecting to X Server on a FreeBSD Box

2005-04-17 Thread Chris Hodgins
On 4/17/05, Soheil Hassas Yeganeh [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
Password: enter password
hostname$ xterm
---

Chris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]