teacher shows up in thumbnail list

Bug #1058711 reported by Jori Gel
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Epoptes
Fix Released
Low
Alkis Georgopoulos

Bug Description

Using: dpkg -s epoptes
Package: epoptes
Status: install ok installed
Priority: extra
Section: admin
Installed-Size: 1890
Maintainer: Epoptes Developers <email address hidden>
Architecture: all
Version: 0.5.6-1~precise1

The thumbnail of teacher's pc (ltsp-fat-client) shows up in overview of epoptes-gui . . .

I thought it's not expected to . . .

ideas what's wrong here?

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

If you run epoptes from a fat client with ltsp-remoteapps, that means that you don't run it from a fat client but from the server.
That's why the fat client shows up in the UI.

To work around this problem 2 steps are needed:
1) The variables LTSP_CLIENT and LTSP_CLIENT_MAC need to be defined when you run epoptes, e.g.:
teacher@fatclient123:~$ ssh -XC teacher@server LTSP_CLIENT=$LTSP_CLIENT LTSP_CLIENT_MAC=$LTSP_CLIENT_MAC epoptes

2) The file /usr/lib/python2.7/dist-packages/epoptes/ui/gui.py needs to be changed to exclude the root epoptes-client connection of the fat pc:
- if (mac in self.current_macs) and (uid == self.uid):
+ if (mac in self.current_macs) and ((uid == self.uid) or (uid == 0)):

Changed in epoptes:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Fix committed in http://bazaar.launchpad.net/~epoptes/epoptes/trunk/revision/460.
`ltsp-remoteapps epoptes` should now work fine with that change.

Changed in epoptes:
assignee: nobody → Alkis Georgopoulos (alkisg)
status: Triaged → Fix Committed
Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Fix released in epoptes 0.5.9.

Changed in epoptes:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.