Is there a way to display a message on the clients?

View: New views
5 Messages — Rating Filter:   Alert me  

Is there a way to display a message on the clients?

by TimShelley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi all,

I see there is a drbl-doit command to launch commands on the clients. Has anyone tried to display a message via something like zenity? Having looked into dbl-doit, it uses SSH right? So you would have to somehow redirect the display to the client display.

Regards,

Tim.


Windows Live Messenger: Thanks for 10 great years-enjoy free winks and emoticons. Get Them Now
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Is there a way to display a message on the clients?

by Jazz Yao-Tsung Wang-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Tim,

Do you mean that you like to display a message with zenity to every
DRBL Client with X-windows?

Not sure will it work or not, but maybe you can try

# /opt/drbl/sbin/drbl-doit "export DISPLAY=:0; zenity --info
--text=\"TEST MESSAGE\""

Jazz

On Wed, Aug 12, 2009 at 7:45 PM, Tim Shelley<tim_j_shelley@...> wrote:

> Hi all,
>
> I see there is a drbl-doit command to launch commands on the clients. Has
> anyone tried to display a message via something like zenity? Having looked
> into dbl-doit, it uses SSH right? So you would have to somehow redirect the
> display to the client display.
>
> Regards,
>
> Tim.
>
> ________________________________
> Windows Live Messenger: Thanks for 10 great years-enjoy free winks and
> emoticons. Get Them Now
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Drbl-user mailing list
> Drbl-user@...
> https://lists.sourceforge.net/lists/listinfo/drbl-user
>
>

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Is there a way to display a message on the clients?

by TimShelley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Jazz,

Thanks. I've been playing with it. I changed the :0 to :0.0, but I get the following error:

Gtk-WARNING **: cannot open display :0.0

Does drbl-doit run the command via ssh? Does the ssh command run with the -X option? I'm guessing it doesn't to prevent the possibility of keyboard monitoring.

Regards,

Tim

> From: jazzwang.tw@...
> Date: Thu, 13 Aug 2009 01:05:26 +0800
> Subject: Re: [Drbl-user] Is there a way to display a message on the clients?
> To: tim_j_shelley@...
> CC: drbl-user@...
>
> Hi Tim,
>
> Do you mean that you like to display a message with zenity to every
> DRBL Client with X-windows?
>
> Not sure will it work or not, but maybe you can try
>
> # /opt/drbl/sbin/drbl-doit "export DISPLAY=:0; zenity --info
> --text=\"TEST MESSAGE\""
>
> Jazz
>
> On Wed, Aug 12, 2009 at 7:45 PM, Tim Shelley<tim_j_shelley@...> wrote:
> > Hi all,
> >
> > I see there is a drbl-doit command to launch commands on the clients. Has
> > anyone tried to display a message via something like zenity? Having looked
> > into dbl-doit, it uses SSH right? So you would have to somehow redirect the
> > display to the client display.
> >
> > Regards,
> >
> > Tim.
> >
> > ________________________________
> > Windows Live Messenger: Thanks for 10 great years-enjoy free winks and
> > emoticons. Get Them Now
> > ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> > trial. Simplify your report design, integration and deployment - and focus
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Drbl-user mailing list
> > Drbl-user@...
> > https://lists.sourceforge.net/lists/listinfo/drbl-user
> >
> >


Celebrate a decade of Messenger with free winks, emoticons, display pics, and more. Get Them Now
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Is there a way to display a message on the clients?

by Jazz Yao-Tsung Wang-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Thanks. I've been playing with it. I changed the :0 to :0.0, but I get the
> following error:
> Gtk-WARNING **: cannot open display :0.0

Well, once I sent the mail, I found I miss something again.

1. the user who is running x-windows are different if you're using auto login.
2. drbl-doit run ssh as "root" who is not current owner of display :0.0

so....there might need more hack to achieve this feature, such as

1. adding "xhost +" to x-window session,
    it will allow other user to connect display :0.0
2. .... maybe something more ....

Jazz

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user

Re: Is there a way to display a message on the clients?

by TimShelley :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jazz,

Thanks for the info. I know it's not strictly DRBL related, so your help is
appreciated. I'll see what more I can discover.

Regards,

Tim.

-----Original Message-----
From: Jazz Yao-Tsung Wang [mailto:jazzwang.tw@...]
Sent: 13 August 2009 15:56
To: Tim Shelley
Cc: drbl-user@...
Subject: Re: [Drbl-user] Is there a way to display a message on the clients?

> Thanks. I've been playing with it. I changed the :0 to :0.0, but I get the
> following error:
> Gtk-WARNING **: cannot open display :0.0

Well, once I sent the mail, I found I miss something again.

1. the user who is running x-windows are different if you're using auto
login.
2. drbl-doit run ssh as "root" who is not current owner of display :0.0

so....there might need more hack to achieve this feature, such as

1. adding "xhost +" to x-window session,
    it will allow other user to connect display :0.0
2. .... maybe something more ....

Jazz


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Drbl-user mailing list
Drbl-user@...
https://lists.sourceforge.net/lists/listinfo/drbl-user