UbuntuHelp:UbuntuLTSP/AdminXauthority
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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 ltsp20@192.168.0.20 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