个人工具

UbuntuHelp:UbuntuLTSP/AdminXauthority

来自Ubuntu中文

Wikibot讨论 | 贡献2009年11月17日 (二) 20:51的版本 (创建新页面为 '{{From|https://help.ubuntu.com/community/UbuntuLTSP/AdminXauthority}} {{Languages|UbuntuHelp:UbuntuLTSP/AdminXauthority}} {|border="1" cellspacing="0" |This page is specific to ...')

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索
This page is specific to Ubuntu versions 8.04, 9.04

If you find this information applicable to additional versions/releases, please edit this page and modify this header to reflect that. Please also include any necessary modifications for this information to apply to the additional versions.


Setting .Xauthority for admin to display remotely on client

This perl script will modify the ~admin/.Xauthority file with the keys for remote display on user client sessions.

Example

As admin:

sudo ./admin_ltsp_xauth.plx [email protected]
DISPLAY=192.168.0.20:7.0 xmessage -timeout 10 -center 'System is going down.'
import -display 192.168.0.20:7.0 -window root ltsp20.jpg; eog ltsp20.jpg

Application

This does a graphical wall, using who, calling ./admin_ltsp_xauth.plx for all clients. As admin:

./ltsp_xmessage.plx ./xmessage_system_going_down.sh