<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title></title>
<style type="text/css">
<!--
body{margin-left:10px;margin-right:10px;margin-top:10px;margin-bottom:10px;}
-->
</style>
</head>
<body marginleft="10" marginright="10" margintop="10" marginbottom="10">
<font face="Times New Roman" size="+0" color="#000000" style="font-family:Times New Roman;font-size:12pt;color:#000000;">OK... teachers still cannot control, broadcast, etc.  <br />
Error is "Opening password file failed"<br />
<br />
Here's what I have done:<br />
<br />
created a "teachers" group and made all teachers members<br />
logged in as root<br />
ran vncpasswd<br />
changed password<br />
executed #cp -R -p /root/.vnc /opt/ltsp/i386/root/  (folder is present etc)<br />
ran visudo<br />
added line "%teachers  ALL=NOPASSWD:/usr/sbin/fl_teachertool"<br />
made sure X4_MODULE_02 = vnc was uncommented in lts.conf<br />
<br />
teachers still cannot control, broadcast, etc. same error<br />
<br />
As a shot in the dark, I tried the following:<br />
made the following changes in build_x4_cfg to reflect recommendations on<br />
fl_teachertool website:<br />
<br />
#if [ "$VNC_MODULE_LOADED" ]; then<br />
#   echo '           Option "httpdir" "/usr/share/vnc/classes"'<br />
#   echo '           Option "PasswordFile" "/root/.vnc/passwd"'<br />
#   echo '           Option "rfbport" "5900"'<br />
#   echo '           Option "usevnc"'<br />
#fi<br />
<br />
# commented out if statement above to try fl-teacher website config<br />
#=========================================<br />
# Added to enable Monitor/Control in Fl_TeacherTool<br />
   Option "httpdir" "/usr/share/vnc/classes"<br />
   Option "PasswordFile" "/root/.vnc/passwd"<br />
   Option "rfbport" "5900"<br />
   Option "usevnc"<br />
#=========================================<br />
<br />
Still same error<br />
<br />
I even tried to give the teachers group permissions to read/write /opt/ltsp/i386/root/.vnc folder and passwd file.  This resulted in a new error "no password configured for VNC Auth".<br />
<br />
Suggestions?<br />
<br />
Dan Visentin<br />
M. M. Robinson H.S.<br />
"As a computer, I find your faith in technology amusing."<br />
</font>
</body>
</html>