Hi,
>From the xhost man page:-
"To enable a remote name by default, the name can be defined in the
/etc/X?.hosts file, where ? is the display number to which you enable
access."
I am, of course, presuming you are running a UNIX workstation.
Regards,
Simon Long
Nettrack Technical Solutions Pty Ltd
Sontaya Passakonnirin wrote:
> Thanks a lot for every help. it's very helpful for me.
> but I have the last question, Does I have to run "xhost +" command every
> time that I restart the workstation?
>
> Thank you very much,
> rut ^_^
> -----Original Message-----
> From: Vladimir Petr <PETR@DATASYS.CZ>
> To: NV-L@UCSBVM.ucsb.edu <NV-L@UCSBVM.ucsb.edu>
> Date: 17 5DH(T7RB1 2541 19:23
> Subject: Re: ruleset action
>
> >Hi, Sontaya;
> >xhost command is placed usually in /usr/bin/X11 (run the whence xhost
> command). By this command you allow X clients to
> >use a display on a workstation where this command has been executed. For
> instance, suppose you have boxA and boxB and
> >you want to run motif application on boxA but you want to see it on boxB.
> Then, on boxA you export DISPLAY=boxB:0. But
> >to allow this connection on boxB you must run xhost +boxA (or xhost +) on
> boxB.
> >
> >As I do not use sound alerts I unfortunately do not know other programs
> that do the same. Maybe someone else on the
> >list?
> >
> >Best regards,
> >Vladimir.
> >
> >Sontaya Passakonnirin wrote:
> >
> >> Hi Vladimir,
> >>
> >> I can't find file xhost at my RS/6000. Now, I have Framework 3.2 NetView
> >> V.5.0 run on AIX v4.2.1.0. I don't know how to use xhost command.
> >> Are there another way to alert me(by sound) to know when the link is
> >> down?
> >>
> >> Thank you,
> >> rut ^_^
> >> -----Original Message-----
> >> From: Vladimir Petr <PETR@DATASYS.CZ>
> >> To: NV-L@UCSBVM.ucsb.edu <NV-L@UCSBVM.ucsb.edu>
> >> Date: 17 5DH(T7RB1 2541 15:10
> >> Subject: Re: ruleset action
> >>
> >> >Hello, Sontaya;
> >> >
> >> >/usr/OV/bin/ovxbeep "message" -display hostname:0 (or hostname:0.0)
> >> does
> >> work for me. Make sure you execute the xhost
> >> >command on the workstation where the error is to be displayed, thus
> >> disabling access control.
> >> >
> >> >Best regards,
> >> >Vladimir.
> >> >
> >> >Sontaya Passakonnirin wrote:
> >> >
> >> >> Dear all,
> >> >> I try to used action on ruleset to run
> >> /usr/OV/bin/ovxbeep
> >> >> when
> >> >> link down. In the same ruleset, I have two action which the first one
> >> is
> >> >> [echo "$NVATTR_2 $NVATTR_3 at $NVT" >> /tmp/file_name] and the second
> >> >> one is
> >> >> [/usr/OV/bin/ovxbeep "$NVATTR_2 $NVATTR_3 at $NVT" -display 0:0] But
> >> >> the
> >> >> output of ovxbeep is not appear. after that I try to change -display
> >> 0:0
> >> >> to -display hostname:0 that it's not work.
> >> >> How can I do? I want to here any sound when the link
> >> down.
> >> >>
> >> >> Thank you,
> >> >> rut ^_^
> >> >
> >> >--
> >> >Vladimir Petr
> >> >DATASYS
> >> >-----------------------------
> >
> >--
> >Vladimir Petr
> >DATASYS
> >-----------------------------
|