Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] runlevel 5 service cannot connect to display



I was just using putty/exceed as an example, there is nothing wrong with
mocha. I found VNC to be much better. The only issue with VNC is that
you have to have a vnc server running. One way is to assign VNC display
numbers to each person who needs it, or to have someone log in, start a
vncserver that will automatically assign a display #. VNC servers run in
the context of a user id even when running it as a service. In any case
both Rich and ted have some good ideas.

On 01/31/2013 05:35 PM, John Abreau wrote:
> I've always found Exceed to be clumsy and cumbersome. I found a
> free-as-in-beer 
> alternative long ago that's much lighter-weight and works well with
> putty; it's called 
> Mocha-X, and it runs as a service in the system tray on XP, and the
> equivalent 
> on Windows 7. 
>
> http://www.mochasoft.dk/freeware/x11.htm
>
>
>
>
> On Thu, Jan 31, 2013 at 7:10 AM, Jerry Feldman <gaf at blu.org
> <mailto:gaf at blu.org>> wrote:
>
>     On 01/30/2013 07:33 PM, Rich Pieri wrote:
>     > On Wed, 30 Jan 2013 13:37:08 -0800
>     > William Chan <wichan at adobe.com <mailto:wichan at adobe.com>> wrote:
>     >
>     >> Actually, the service is just a JMS consumer, it doesn't
>     require UI.
>     >> When it receive a message, it calls an external application which
>     >> needs X11. There is actually nothing shows on display.
>     > It's still not a service. Rather, it may be a Java service but
>     it isn't
>     > a system service. It's a bit like... imagine a web server (your JMS
>     > consumer) that pushes web pages into a browser (the X11 server) and
>     > won't start if the browser won't let you talk to it or isn't running
>     > or some such. You can't have system services dependent on non-system
>     > applications and expect them to work reliably. Or, realistically, at
>     > all.
>     >
>     > Regarding Jerry's workaround, I'd use VNC to create a private X11
>     > server for the application instead of mucking around with X client
>     > files and worrying about which process owns what.
>     >
>     > I maintain that the best solution is to refactor the JMS
>     consumer as a
>     > proper service. Make the X11 client depend on it rather than
>     have the
>     > consumer depend on the X11 client. It's backwards the way you've
>     > implemented it. The two workarounds don't fix that.
>     >
>     Agreed. I've found VNC to be very stable at work, much better than
>     Putty
>     and Exceed (blech).
>
>
>     --
>     Jerry Feldman <gaf at blu.org <mailto:gaf at blu.org>>
>     Boston Linux and Unix
>     PGP key id:3BC1EB90
>     PGP Key fingerprint: 49E2 C52A FC5A A31F 8D66  C0AF 7CEA 30FC 3BC1
>     EB90
>
>
>
>     _______________________________________________
>     Discuss mailing list
>     Discuss at blu.org <mailto:Discuss at blu.org>
>     http://lists.blu.org/mailman/listinfo/discuss
>
>
>
>
> -- 
> John Abreau / Executive Director, Boston Linux & Unix
> PGP KeyID: 32A492D8 / Email: abreauj at gmail.com <mailto:abreauj at gmail.com>
> PGP FP: 7834 AEC2 EFA3 565C A4B6  9BA4 0ACB AD85 32A4 92D8


-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
PGP key id:3BC1EB90 
PGP Key fingerprint: 49E2 C52A FC5A A31F 8D66  C0AF 7CEA 30FC 3BC1 EB90





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org