Session info needs more real info

Bug #431000 reported by Jordan Erickson
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Thin Client Manager NG
Triaged
Medium
René Fleschenberg

Bug Description

As of right now only "IP Address" shows real information. We should be able to pull the rest (Hostname/Hardware Address/Last Login/Length of Current Session" and "Size of Home Directory") and display it.

As a sidenote, "Lenght of Current Session" has a typo. :)

Changed in tcm-ng:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → René Fleschenberg (rene.f)
Revision history for this message
René Fleschenberg (rene.f) wrote :

Some thoughts:

Getting the hardware address will only work if the client is on the same subnet as the terminal server. I think this is usually the case, but can we actually rely on this?
Is the hardware address really useful to somebody who does not know how to obtain it without tcm?

Getting the hostname could end up being very slow, because we might have to perform a reverse DNS lookup, and in the worst case, wait until it times out. I don't think we can use the utmp file, because we have no way to determine which entry in it is an LTSP session. A user might spawn a multitude of login sessions, all of which will show up in utmp.
The same problem arises for for "last login" and "length of current session". For these two, letting the user-side helper record the information and then querying it would probably work.

I am changing the status of this bug to "incomplete", since it needs further discussion before it can be fixed.

Changed in tcm-ng:
status: Triaged → Incomplete
Revision history for this message
Jordan Erickson (lns) wrote :

I guess it's not necessary for HW address, though for future implementations of Wake-on-LAN (WoL) we'll need the MAC address anyway. The other stuff is useful, though I guess not totally necessary.

Having a user-side helper could be beneficial for future ideas to implement as well as these little bits of info we could display... what is the reasoning behind removing it again?

Revision history for this message
René Fleschenberg (rene.f) wrote :

#2: We do have a user-side helper right now, and there are no conrete plans to remove it. We can probably use it to implement some of the stuff mentioned above.

Revision history for this message
syn66 (syn66) wrote :

Anything we could do with a thin client side daemon, or a session side helper we could do with only an ssh key...

If we have the thin clients ip and ssh authentication then it's the same as having a shell on the thin client. If we're root we have total control over any session on the system as long as we know the display.

Revision history for this message
René Fleschenberg (rene.f) wrote : Re: [Bug 431000] Re: Session info needs more real info

Hi,

syn66:
> Anything we could do with a thin client side daemon, or a session
> side helper we could do with only an ssh key...
>
> If we have the thin clients ip and ssh authentication then it's the
> same as having a shell on the thin client. If we're root we have
> total control over any session on the system as long as we know
> the display.

I agree. And I think these methods (accessing the display for local
stuff, sshing into the thin client for stuff that needs access to the
thin client hardware) are preferable. The current "tcm-client" helper
is basically just a workaround because I could not access the user's
display so far. But I must admit that I did not really look into the X
display stuff yet. I am sure there is a clean way to do this. The
current tcm-client package will not be needed anymore as soon as we
have figured this out.

Changed in tcm-ng:
status: Incomplete → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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