Verner Kjærsgaard schrieb:
Mandag den 20. marts 2006 22:02 skrev Anselm Martin Hoffmeister:
Am Montag, den 20.03.2006, 21:46 +0100 schrieb Verner Kjærsgaard:
Hi list,
- this is a quickie...
- I just can't figure out what tool to use:
The school admin at one of the installations wishes to be able to publish
messages onto the screen of one particular client - a client that is
never shut down. In other words from one client to another. This way
quick messages may be flashed to the teachers room from the head masters
office.
I just can't figure out what utility to use?
Any ideas?
xmessage, for example. Text only, easy to configure for confirmation
buttons etc.
Optionally, for even nicer messages, something like konqueror, invoking
it with a profile that turns off any menu bars and stuff and runs in
full screen mode. This would allow for html display, of course.
In a certain (non-LTSP-) setup I have one display that has no input
devices attached, just displays images with a short descriptive text.
This is done mainly with xli, which makes bitmap display easy.
You will have to play around with the .Xauthority, I guess.
Regards,
Anselm
-
- thanks, - but doesn't the "xmessage" text show up on all screens of all
clients? I looked into the man page of xmessage and I can't seem to find any
"destination" parameter?
- btw: I will only read any possible answers tomorrow, turning in now :-)
------------------------------
Med venlig hilsen/Best regards
Verner Kjærsgaard
Hej, Verner,
Your thread inspired me to try around a bit. I could use this to warn
the users of the system going down in case of power fail or so.
Reading some rather complicated stuff in the web, I found this solution
the best and simplest for root to access a user's X-Screen:
XAUTHORITY=/home/user/.Xauthority; export XAUTHORITY
then just type
xmessage -display <terminal>:0.0 Hello world
This should do for root. If another user is meant, this other user will
have to gain the contents of the screen user's .Xauthority file. I
didn't try this (in my case, root would alarm the others), but it looked
good:
[EMAIL PROTECTED] ~> xauth extract schluessel $DISPLAY
[EMAIL PROTECTED] ~> su -
Password:
[EMAIL PROTECTED]:~> xauth merge /home/jo/schluessel
xauth: creating new authority file /root/.Xauthority
[EMAIL PROTECTED]:~> DISPLAY=:0.0; export DISPLAY
[EMAIL PROTECTED]:~> X-Files
Starting X-Files...
So you can see that root access is needed anyway, but root could give
the key of the target screen to another user.
If you want to read some German, this is the page:
http://www.theparallax.org/dcoul/user2root/xhost.shtml
Rolf
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net