Re: xhost does not work as expected

2006-04-28 Thread Frank Bonnet

Mike Jeays wrote:

On Thu, 2006-04-27 at 17:02 +0200, Frank Bonnet wrote:





To enable remote X displays, use either startx -listen_tcp or,
in /usr/local/share/config/kdm/kdmrc comment out
ServerArgsLocal=-nolisten tcp





yes ! this does what I needed , thank you very much.

Regards
--
Frank Bonnet

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


xhost does not work as expected

2006-04-27 Thread Frank Bonnet

Hello

I am at 6.0 with xorg and I cannot remotely use a GUI backup software ( 
netvault)
because I am not able to use properly the xhost command.

On the server I set ( csh ):

setenv DISPLAY hostname:0.0

On the client I set

xhost + hostname

but I am not authorized to use the client display from the server
is there some special X11R6 configuration to use this feature ?

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


Re: xhost does not work as expected

2006-04-27 Thread Olivier Nicole
Franck,

 I am at 6.0 with xorg and I cannot remotely use a GUI backup
 software ( netvault) because I am not able to use properly the xhost
 command.

It is not clear what you can client and what you call server, are you
talking about your backup software: the server is the machine with the
tape drive and the clientis the machine where you sit and look at your
GUI; or about X: the server is the machine where you sit and look at
your GUI and the client is the machine running netvault and having the
tape drive.

That said:

- can you run xterm on the netvault machine (m1) and display the window on
the machine with 6.0 xorg (m2)?

You need:

- on netvault machine (m1) to setenv DISPLAY m2:0.0

- on 6.0 xorg machine (m2) xhost + m1

- are you sure that no firewall are blocking X connection between the 2
  machines?

Bests,

Olivier

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


Re: xhost does not work as expected

2006-04-27 Thread Frank Bonnet

Olivier Nicole wrote:

Franck,


I am at 6.0 with xorg and I cannot remotely use a GUI backup
software ( netvault) because I am not able to use properly the xhost
command.


It is not clear what you can client and what you call server, are you
talking about your backup software: the server is the machine with the
tape drive and the clientis the machine where you sit and look at your
GUI; or about X: the server is the machine where you sit and look at
your GUI and the client is the machine running netvault and having the
tape drive.


Sorry to be unclear



That said:

- can you run xterm on the netvault machine (m1) and display the window on
the machine with 6.0 xorg (m2)?


no I cannot



You need:

- on netvault machine (m1) to setenv DISPLAY m2:0.0

- on 6.0 xorg machine (m2) xhost + m1



that's what I did ... but it has not been working



- are you sure that no firewall are blocking X connection between the 2
  machines?


yes sure they are on the same LAN



Bests,

Olivier




--
Frank Bonnet

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


Re: xhost does not work as expected

2006-04-27 Thread Olivier Nicole
  - can you run xterm on the netvault machine (m1) and display the window on
  the machine with 6.0 xorg (m2)?
 
 no I cannot

What is the error message?

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


Re: xhost does not work as expected

2006-04-27 Thread Frank Bonnet

Olivier Nicole wrote:

- can you run xterm on the netvault machine (m1) and display the window on
the machine with 6.0 xorg (m2)?

no I cannot


What is the error message?

Olivier 



xterm Xt error: Can't open display: lisa:0.0

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


Re: xhost does not work as expected

2006-04-27 Thread Olivier Nicole
 xterm Xt error: Can't open display: lisa:0.0

- what does ping lisa says?

- do you have any kind of firewall running on lisa?

- Do you have X server running on lisa?

- try setenv DISPLAY IPadress_of_lisa:0.0

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


Re: xhost does not work as expected

2006-04-27 Thread Frank Bonnet

Olivier Nicole wrote:

What window manager are you using?

I started my laptop connected to root and lauched KDE and found out
that it was not listening to TCP port 6000.


In fact yes I run KDE too ...
and yes it does not listen on 6000 port ...

performing a ps -ax | grep X give that result

/usr/X11R6/bin/X -nolisten tcp :0 -auth /var/run/xauth/A:0-3w0oIN (Xorg)

I think the -nolisten option is guilty ...

My problem is I need KDE to work properly ...
I'm going to check KDE launching scripts to try avoiding it.

I'll let you know if I succeed :-)
--
Frank
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xhost does not work as expected

2006-04-27 Thread Garrett Cooper

Frank Bonnet wrote:

Olivier Nicole wrote:

What window manager are you using?

I started my laptop connected to root and lauched KDE and found out
that it was not listening to TCP port 6000.


In fact yes I run KDE too ...
and yes it does not listen on 6000 port ...

performing a ps -ax | grep X give that result

/usr/X11R6/bin/X -nolisten tcp :0 -auth /var/run/xauth/A:0-3w0oIN (Xorg)

I think the -nolisten option is guilty ...

My problem is I need KDE to work properly ...
I'm going to check KDE launching scripts to try avoiding it.

I'll let you know if I succeed :-)


It's most likely because you (or someone masquerading as you, ie 
startkde) is using a default startx setup:


[EMAIL PROTECTED] /usr/X11R6 $ grep -r nolisten *

#snip

X11R6/bin/startx:defaultserverargs=-nolisten tcp -br

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


Re: xhost does not work as expected

2006-04-27 Thread Frank Bonnet

Garrett Cooper wrote:



It's most likely because you (or someone masquerading as you, ie 
startkde) is using a default startx setup:


[EMAIL PROTECTED] /usr/X11R6 $ grep -r nolisten *

#snip

X11R6/bin/startx:defaultserverargs=-nolisten tcp -br



Ok I use kdm to start the WM and I didn't find any way
to start X without the -nolisten_tcp option

Is there a conf. file to do so ?
thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xhost does not work as expected

2006-04-27 Thread Mike Jeays
On Thu, 2006-04-27 at 17:02 +0200, Frank Bonnet wrote:
 Garrett Cooper wrote:
 
  
  It's most likely because you (or someone masquerading as you, ie 
  startkde) is using a default startx setup:
  
  [EMAIL PROTECTED] /usr/X11R6 $ grep -r nolisten *
  
  #snip
  
  X11R6/bin/startx:defaultserverargs=-nolisten tcp -br
  
 
 Ok I use kdm to start the WM and I didn't find any way
 to start X without the -nolisten_tcp option
 
 Is there a conf. file to do so ?
 thanks
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


To enable remote X displays, use either startx -listen_tcp or,
in /usr/local/share/config/kdm/kdmrc comment out
ServerArgsLocal=-nolisten tcp


-- 
Mike Jeays
http://ca.geocities.com/[EMAIL PROTECTED]

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