Hi, here is a solution to a very demanded function:

To be able to show the dashboard on a kiosk stand or an info-monitor, for 
instance in a technical department. We have a Firefox-kiosk on a thin client 
(Thinstation 2.2, http://thinstation.sf.net). It is always required that this 
box should start up without needing use of keyboard or mouse, and show the 
dashboard.

I have tried of your several "simpledashboard"-guides and failed miserably 
every time. One time I rendered Zope useless in the attempt to publish a 
dashboard without a login.

So I had to figure out a simple solution, and it goes like this:

1. Add a user with low authorization, for instance a ZenMonitor.
2. Add an alternative start page to Zope, that will log this user on 
automatically.

Let me show you how I did. You are welcome to give me some feedback:

Step 1: Add the user "kiosk" with let's say, password "kiosk" in Zenoss
Step 2: 

Go to http://YourServer:8080/zport/portal_skins/manage and add a "Folder" with 
Id "kiosk" and remember to put a check mark in "Create public interface"

Click on "kiosk" and "index_html" to modify this html-file. Insert the 
following content in stead of the default text:


Code:

<html>
<head><meta http-equiv="Content-Type" content="text/html; 
charset=UTF-8"><title>Kiosk login</title></head>

<body onload="document.loginform.submit();">

<form method="post" name="loginform" 
action="http://YourServer:8080/zport/acl_users/cookieAuthHelper/login";>
<input name="came_from" value="http://YourServer:8080/zport/dmd"; type="hidden">
<input name="submitted" value="true" type="hidden">
<input name="__ac_name" value="kiosk" type="hidden">
<input name="__ac_password" value="kiosk" type="hidden">
<input value="Submit" type="hidden">
</form>

</body>
</html>





Edit the code to reflect the correct address of your Zenoss server.
Press "Save changes"
Click the tab "Security".
Give the permission "View" to "Anonymous" (just one check mark).
Press "Save changes"

Try out the link http://YourServer:8080/zport/portal_skins/kiosk

You should now be able to present the dashboard with automatic login.

I would suggest that this feature could be done in a script from the user 
manager in Zenoss.

Have fun, greetings, Torben

---

Zenoss 2.0.93 on Ubuntu 7.04 server, running stable as long as we do NOT add 
any Google maps.




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=11823#11823

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to