|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Using drbl-doit for remote messagingThanks to the responses from my other email thread: "Is there a way to display a message on the clients?2" I've been able to create a script to display a message on the DRBL clients. I have one more hurdle to cross though :) I set up a test DRBL Server (rather than use the live Server). I installed Jaunty and got DRBL up and running. My script worked fine on this setup, but when I moved to the live server I got the 'cannot open display error' with regards to the display. The live server is Hardy and the only difference I can see at the moment is the xhost setup. On the test DRBL client (using the Jaunty DRBL server) typing in xhost in a terminal I see the following entry: SI:localuser:<username> But on the live DRBL client (using the Hardy DRBL Server) running xhost shows no entries. If I do xhost +SI:localuser:<username> on the client then the script is able to display the message. I'm now wondering why the live DRBL client does not have an entry. I cannot remember doing anything different on the Jaunty DRBL server to the Hardy DRBL server. Is this because there is a difference between how Hardy and Jaunty works/installs itself or have I missed something? Thanks in advance. Regards, Tim. Have more than one Hotmail account? Link them together to easily access both. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Drbl-user mailing list Drbl-user@... https://lists.sourceforge.net/lists/listinfo/drbl-user |
|
|
Re: Using drbl-doit for remote messagingDRBL live is based on Debian lenny, maybe that's why it's different from
your Ubuntu jaunty? Steven. Tim Shelley wrote: > Hi all, > > Thanks to the responses from my other email thread: "Is there a way to > display a message on the clients?2" I've been able to create a script > to display a message on the DRBL clients. I have one more hurdle to > cross though :) > > I set up a test DRBL Server (rather than use the live Server). I > installed Jaunty and got DRBL up and running. My script worked fine on > this setup, but when I moved to the live server I got the 'cannot open > display error' with regards to the display. > > The live server is Hardy and the only difference I can see at the > moment is the xhost setup. > > On the test DRBL client (using the Jaunty DRBL server) typing in xhost > in a terminal I see the following entry: > > SI:localuser:<username> > > But on the live DRBL client (using the Hardy DRBL Server) running > xhost shows no entries. If I do xhost +SI:localuser:<username> on the > client then the script is able to display the message. I'm now > wondering why the live DRBL client does not have an entry. > > I cannot remember doing anything different on the Jaunty DRBL server > to the Hardy DRBL server. Is this because there is a difference > between how Hardy and Jaunty works/installs itself or have I missed > something? > > Thanks in advance. > > Regards, > > Tim. > > > ------------------------------------------------------------------------ > Have more than one Hotmail account? Link them together to easily > access both. <http://clk.atdmt.com/UKM/go/167688463/direct/01/> > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ------------------------------------------------------------------------ > > _______________________________________________ > Drbl-user mailing list > Drbl-user@... > https://lists.sourceforge.net/lists/listinfo/drbl-user > -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Drbl-user mailing list Drbl-user@... https://lists.sourceforge.net/lists/listinfo/drbl-user |
|
|
Re: Using drbl-doit for remote messagingHi Steven,
Sorry, when I said 'live' server I meant the actual server we use from day to day, not the DRBL Live. So I have a DRBL Server running on Hardy and another running on Jaunty - and my script runs correctly on the Jaunty DRBL Server, but not under Hardy. I think it may be to do with the flavour of Ubuntu. When I look at a stand-alone machine with Jaunty installed it also has SI:localuser:<username>. I'm just trying to figure out how to make it work on the Hardy DRBL Server... Regards, Tim. Steven Shiau wrote: > DRBL live is based on Debian lenny, maybe that's why it's different > from your Ubuntu jaunty? > > Steven. > > Tim Shelley wrote: >> Hi all, >> >> Thanks to the responses from my other email thread: "Is there a way >> to display a message on the clients?2" I've been able to create a >> script to display a message on the DRBL clients. I have one more >> hurdle to cross though :) >> >> I set up a test DRBL Server (rather than use the live Server). I >> installed Jaunty and got DRBL up and running. My script worked fine >> on this setup, but when I moved to the live server I got the 'cannot >> open display error' with regards to the display. >> >> The live server is Hardy and the only difference I can see at the >> moment is the xhost setup. >> >> On the test DRBL client (using the Jaunty DRBL server) typing in >> xhost in a terminal I see the following entry: >> >> SI:localuser:<username> >> >> But on the live DRBL client (using the Hardy DRBL Server) running >> xhost shows no entries. If I do xhost +SI:localuser:<username> on the >> client then the script is able to display the message. I'm now >> wondering why the live DRBL client does not have an entry. >> >> I cannot remember doing anything different on the Jaunty DRBL server >> to the Hardy DRBL server. Is this because there is a difference >> between how Hardy and Jaunty works/installs itself or have I missed >> something? >> >> Thanks in advance. >> >> Regards, >> >> Tim. >> >> >> ------------------------------------------------------------------------ >> Have more than one Hotmail account? Link them together to easily >> access both. <http://clk.atdmt.com/UKM/go/167688463/direct/01/> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and >> stay ahead of the curve. Join us from November 9 - 12, 2009. Register >> now! >> http://p.sf.net/sfu/devconference >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Drbl-user mailing list >> Drbl-user@... >> https://lists.sourceforge.net/lists/listinfo/drbl-user >> > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Drbl-user mailing list Drbl-user@... https://lists.sourceforge.net/lists/listinfo/drbl-user |
|
|
Re: Using drbl-doit for remote messagingHi Tim,
OK. BTW, are you using the same DRBL version on your hardy and jaunty machines? Steven. Tim Shelley wrote: > Hi Steven, > > Sorry, when I said 'live' server I meant the actual server we use from > day to day, not the DRBL Live. > > So I have a DRBL Server running on Hardy and another running on Jaunty - > and my script runs correctly on the Jaunty DRBL Server, but not under > Hardy. I think it may be to do with the flavour of Ubuntu. When I look > at a stand-alone machine with Jaunty installed it also has > SI:localuser:<username>. > > I'm just trying to figure out how to make it work on the Hardy DRBL > Server... > > Regards, > > Tim. > > Steven Shiau wrote: >> DRBL live is based on Debian lenny, maybe that's why it's different >> from your Ubuntu jaunty? >> >> Steven. >> >> Tim Shelley wrote: >>> Hi all, >>> >>> Thanks to the responses from my other email thread: "Is there a way >>> to display a message on the clients?2" I've been able to create a >>> script to display a message on the DRBL clients. I have one more >>> hurdle to cross though :) >>> >>> I set up a test DRBL Server (rather than use the live Server). I >>> installed Jaunty and got DRBL up and running. My script worked fine >>> on this setup, but when I moved to the live server I got the 'cannot >>> open display error' with regards to the display. >>> >>> The live server is Hardy and the only difference I can see at the >>> moment is the xhost setup. >>> >>> On the test DRBL client (using the Jaunty DRBL server) typing in >>> xhost in a terminal I see the following entry: >>> >>> SI:localuser:<username> >>> >>> But on the live DRBL client (using the Hardy DRBL Server) running >>> xhost shows no entries. If I do xhost +SI:localuser:<username> on the >>> client then the script is able to display the message. I'm now >>> wondering why the live DRBL client does not have an entry. >>> >>> I cannot remember doing anything different on the Jaunty DRBL server >>> to the Hardy DRBL server. Is this because there is a difference >>> between how Hardy and Jaunty works/installs itself or have I missed >>> something? >>> >>> Thanks in advance. >>> >>> Regards, >>> >>> Tim. >>> >>> >>> ------------------------------------------------------------------------ >>> Have more than one Hotmail account? Link them together to easily >>> access both. <http://clk.atdmt.com/UKM/go/167688463/direct/01/> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------ >>> >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart your >>> developing skills, take BlackBerry mobile applications to market and >>> stay ahead of the curve. Join us from November 9 - 12, 2009. Register >>> now! >>> http://p.sf.net/sfu/devconference >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Drbl-user mailing list >>> Drbl-user@... >>> https://lists.sourceforge.net/lists/listinfo/drbl-user >>> >> -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Drbl-user mailing list Drbl-user@... https://lists.sourceforge.net/lists/listinfo/drbl-user |
|
|
Re: Using drbl-doit for remote messagingBoth DRBL Servers are running the latest version of DRBL. I have found that my issue is nothing to do with DRBL. It's to do with how Jaunty and Hardy login a user differently. In Jaunty when a user logs in a script is run to add the user to xhost as SI:localuser:<username> whereas Hardy does not do this. The precise different under Jaunty is in the /etc/X11/Session.d. There is a file called 60x11-common_localhost which gets sourced by Xsession and somehow run (I'm still learning the nuts and bolts of Ubuntu :) ) when someone logs in. I guess on Hardy I could just use the copy of the same file. For any future installation of DRBL I think we'll be using Jaunty anyway. BTW although my remote messaging script is not perfect (or the prettiest :) ) is there a place I can publish it along with instructions to give access to it for the DRBL Community? Regards, Tim. > Date: Thu, 15 Oct 2009 09:43:43 +0800 > From: steven@... > To: tim_j_shelley@... > CC: drbl-user@... > Subject: Re: [Drbl-user] Using drbl-doit for remote messaging > > Hi Tim, > OK. > BTW, are you using the same DRBL version on your hardy and jaunty machines? > > Steven. > > Tim Shelley wrote: > > Hi Steven, > > > > Sorry, when I said 'live' server I meant the actual server we use from > > day to day, not the DRBL Live. > > > > So I have a DRBL Server running on Hardy and another running on Jaunty - > > and my script runs correctly on the Jaunty DRBL Server, but not under > > Hardy. I think it may be to do with the flavour of Ubuntu. When I look > > at a stand-alone machine with Jaunty installed it also has > > SI:localuser:<username>. > > > > I'm just trying to figure out how to make it work on the Hardy DRBL > > Server... > > > > Regards, > > > > Tim. > > > > Steven Shiau wrote: > >> DRBL live is based on Debian lenny, maybe that's why it's different > >> from your Ubuntu jaunty? > >> > >> Steven. > >> > >> Tim Shelley wrote: > >>> Hi all, > >>> > >>> Thanks to the responses from my other email thread: "Is there a way > >>> to display a message on the clients?2" I've been able to create a > >>> script to display a message on the DRBL clients. I have one more > >>> hurdle to cross though :) > >>> > >>> I set up a test DRBL Server (rather than use the live Server). I > >>> installed Jaunty and got DRBL up and running. My script worked fine > >>> on this setup, but when I moved to the live server I got the 'cannot > >>> open display error' with regards to the display. > >>> > >>> The live server is Hardy and the only difference I can see at the > >>> moment is the xhost setup. > >>> > >>> On the test DRBL client (using the Jaunty DRBL server) typing in > >>> xhost in a terminal I see the following entry: > >>> > >>> SI:localuser:<username> > >>> > >>> But on the live DRBL client (using the Hardy DRBL Server) running > >>> xhost shows no entries. If I do xhost +SI:localuser:<username> on the > >>> client then the script is able to display the message. I'm now > >>> wondering why the live DRBL client does not have an entry. > >>> > >>> I cannot remember doing anything different on the Jaunty DRBL server > >>> to the Hardy DRBL server. Is this because there is a difference > >>> between how Hardy and Jaunty works/installs itself or have I missed > >>> something? > >>> > >>> Thanks in advance. > >>> > >>> Regards, > >>> > >>> Tim. > >>> > >>> > >>> ------------------------------------------------------------------------ > >>> Have more than one Hotmail account? Link them together to easily > >>> access both. <http://clk.atdmt.com/UKM/go/167688463/direct/01/> > >>> ------------------------------------------------------------------------ > >>> > >>> ------------------------------------------------------------------------------ > >>> > >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA > >>> is the only developer event you need to attend this year. Jumpstart your > >>> developing skills, take BlackBerry mobile applications to market and > >>> stay ahead of the curve. Join us from November 9 - 12, 2009. Register > >>> now! > >>> http://p.sf.net/sfu/devconference > >>> ------------------------------------------------------------------------ > >>> > >>> _______________________________________________ > >>> Drbl-user mailing list > >>> Drbl-user@... > >>> https://lists.sourceforge.net/lists/listinfo/drbl-user > >>> > >> > > -- > Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> > National Center for High-performance Computing, Taiwan. > http://www.nchc.org.tw > Public Key Server PGP Key ID: 1024D/9762755A > Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A Chat to your friends for free on selected mobiles. Learn more. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Drbl-user mailing list Drbl-user@... https://lists.sourceforge.net/lists/listinfo/drbl-user |
|
|
Re: Using drbl-doit for remote messagingHi Tim,
Maybe you can email me and then I can put it on http://drbl.sourceforge.net/related_article/ Or if you have some website, we can link it, too. Thanks in advance. Regards, Steven. Tim Shelley wrote: > Hi Steven, > > Both DRBL Servers are running the latest version of DRBL. > > I have found that my issue is nothing to do with DRBL. It's to do with > how Jaunty and Hardy login a user differently. In Jaunty when a user > logs in a script is run to add the user to xhost as > SI:localuser:<username> whereas Hardy does not do this. > > The precise different under Jaunty is in the /etc/X11/Session.d. There > is a file called 60x11-common_localhost which gets sourced by Xsession > and somehow run (I'm still learning the nuts and bolts of Ubuntu :) ) > when someone logs in. > > I guess on Hardy I could just use the copy of the same file. For any > future installation of DRBL I think we'll be using Jaunty anyway. > > BTW although my remote messaging script is not perfect (or the > prettiest :) ) is there a place I can publish it along with > instructions to give access to it for the DRBL Community? > > Regards, > > Tim. > > > Date: Thu, 15 Oct 2009 09:43:43 +0800 > > From: steven@... > > To: tim_j_shelley@... > > CC: drbl-user@... > > Subject: Re: [Drbl-user] Using drbl-doit for remote messaging > > > > Hi Tim, > > OK. > > BTW, are you using the same DRBL version on your hardy and jaunty > machines? > > > > Steven. > > > > Tim Shelley wrote: > > > Hi Steven, > > > > > > Sorry, when I said 'live' server I meant the actual server we use > from > > > day to day, not the DRBL Live. > > > > > > So I have a DRBL Server running on Hardy and another running on > Jaunty - > > > and my script runs correctly on the Jaunty DRBL Server, but not under > > > Hardy. I think it may be to do with the flavour of Ubuntu. When I > look > > > at a stand-alone machine with Jaunty installed it also has > > > SI:localuser:<username>. > > > > > > I'm just trying to figure out how to make it work on the Hardy DRBL > > > Server... > > > > > > Regards, > > > > > > Tim. > > > > > > Steven Shiau wrote: > > >> DRBL live is based on Debian lenny, maybe that's why it's different > > >> from your Ubuntu jaunty? > > >> > > >> Steven. > > >> > > >> Tim Shelley wrote: > > >>> Hi all, > > >>> > > >>> Thanks to the responses from my other email thread: "Is there a way > > >>> to display a message on the clients?2" I've been able to create a > > >>> script to display a message on the DRBL clients. I have one more > > >>> hurdle to cross though :) > > >>> > > >>> I set up a test DRBL Server (rather than use the live Server). I > > >>> installed Jaunty and got DRBL up and running. My script worked fine > > >>> on this setup, but when I moved to the live server I got the > 'cannot > > >>> open display error' with regards to the display. > > >>> > > >>> The live server is Hardy and the only difference I can see at the > > >>> moment is the xhost setup. > > >>> > > >>> On the test DRBL client (using the Jaunty DRBL server) typing in > > >>> xhost in a terminal I see the following entry: > > >>> > > >>> SI:localuser:<username> > > >>> > > >>> But on the live DRBL client (using the Hardy DRBL Server) running > > >>> xhost shows no entries. If I do xhost +SI:localuser:<username> > on the > > >>> client then the script is able to display the message. I'm now > > >>> wondering why the live DRBL client does not have an entry. > > >>> > > >>> I cannot remember doing anything different on the Jaunty DRBL > server > > >>> to the Hardy DRBL server. Is this because there is a difference > > >>> bet ween how Hardy and Jaunty works/installs itself or have I > missed > > >>> something? > > >>> > > >>> Thanks in advance. > > >>> > > >>> Regards, > > >>> > > >>> Tim. > > >>> > > >>> > > >>> > ------------------------------------------------------------------------ > > >>> Have more than one Hotmail account? Link them together to easily > > >>> access both. <http://clk.atdmt.com/UKM/go/167688463/direct/01/> > > >>> > ------------------------------------------------------------------------ > > >>> > > >>> > ------------------------------------------------------------------------------ > > > >>> > > >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA > > >>> is the only developer event you need to attend this year. > Jumpstart your > > >>> developing skills, take BlackBerry mobile applications to market > and > > >>> stay ahead of the curve. Join us from November 9 - 12, 2009. > Register > > >>> now! > > >>> http://p.sf.net/sfu/devconference > > >>> > ------------------------------------------------------------------------ > > >>> > > >>> _______________________________________________ > > >>> Drbl-user mailing list > > >>> Drbl-user@... > > >>> https://lists.sourceforge.net/lists/listinfo/drbl-user > > >>> > > >> > > > > -- > > Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> > > National Center for High-performance Computing, Taiwan. > > http://www.nchc.org.tw > > Public Key Server PGP Key ID: 1024D/9762755A > > Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A > > ------------------------------------------------------------------------ > Chat to your friends for free on se lected mobiles. Learn more. > <http://clk.atdmt.com/UKM/go/174426567/direct/01/> > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ------------------------------------------------------------------------ > > _______________________________________________ > Drbl-user mailing list > Drbl-user@... > https://lists.sourceforge.net/lists/listinfo/drbl-user > -- Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org> National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw Public Key Server PGP Key ID: 1024D/9762755A Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Drbl-user mailing list Drbl-user@... https://lists.sourceforge.net/lists/listinfo/drbl-user |
| Free embeddable forum powered by Nabble | Forum Help |