Docs/Sessions & files/Monitoring live sessions
DartRelay 2.1 documentation
Sessions & files

Monitoring live sessions

This page shows you how to see what is running on DartRelay right now, how to disconnect somebody's session, and how the Sessions page relates to the dashboard, the Seats page and the audit log.

What counts as a session

A few words are used precisely on these pages, so it is worth settling them first:

TermMeaning
Open windowOne tab in the portal that is connected to a host: one application, one desktop. Opening the same application twice gives two open windows.
Windows sessionThe signed-in session on the host. Several open windows from the same person on the same host normally share one Windows session; your host settings decide when they do not (see Host session options).
Relay SeatOne device with a live session. One device may run as many applications and desktops as it likes, on as many hosts, for one seat. See Licensing and Relay Seats.

So a person with Word, Excel and a desktop open in one browser has three open windows and holds one seat.

Where to look

PageWhat it answers
DashboardAt a glance: how many seats are in use and how many windows are open. The figures refresh by themselves.
SessionsEvery open window right now, one row each, with a way to disconnect it. This page is the subject of the rest of this guide.
System → SeatsWhich devices are holding seats, who used them, from which address, and the highest number in use over 30 days. You can release a device's seat here.
Authentication → Users, then a userThat person's recent sessions.
The audit logA permanent record of sessions starting and ending and of administrators disconnecting them. See Logs and audit.

The Sessions page

Open Sessions from the console menu. The page lists every open window, one row per window, and refreshes itself while you watch, so you do not need to reload it. The badge at the top reads N open windows: the number of connected tabs, not the number of people or seats.

Use the rows to answer questions such as "who is still in the payroll application?" before a maintenance window, or "is this person really connected?" when they report a problem.

Note

To see the Sessions page an administrator needs at least View permission on it; to disconnect a session they need Full. Roles are set up in Administrator roles and permissions.

Disconnect a session

Use this when somebody has left a session running on a shared machine, when you need a host empty for maintenance, or when a session appears stuck.

  1. Open the Sessions page. In the console, open Sessions.
  2. Find the row. Look for the person and the resource. If they have several windows open, each is its own row.
  3. Click Kick on that row.
  4. Check the result. The row disappears from the list. In the person's browser, the tab shows that the session has ended.

What a disconnect does, and does not do:

Important

Disconnecting is not the same as signing the person out of the portal. They can open the resource again straight away. To stop someone using DartRelay, disable their account (Users and groups) or remove their access (Giving people access to resources), then disconnect them.

Disconnecting a whole device

If the aim is to free a seat, the Seats page is the quicker route. System → Seats lists devices rather than windows; Release on a device ends every session on it and returns its seat in one step. Licensing and Relay Seats explains the page and its duplicate-device hints.

How sessions end on their own

Most sessions are never kicked; they end because the person finished. It helps to know all the ways a session can end when you read the audit log or answer "why was I disconnected?":

How it endedWhat happened
Closed by the personThey closed the tab, or closed the program inside the session, which closes its tab.
Signed out for inactivityThe portal's idle time-out was reached. The browser shows "Signed out after N minutes without activity", and that device's sessions are ended. See Session lifetimes and idle timeout.
Never connectedThe person pressed launch but the session never reached the host, for example because they closed the tab while it was starting. Its seat is returned automatically within a few minutes.
Reached its maximum ageA session has an upper lifetime. In the portal a warning appears shortly before it is reached, then the session ends.
Kicked or releasedAn administrator ended it from the Sessions or Seats page.
Server restartedSessions that were open when the DartRelay server stopped are closed off in the records when it starts again.

Example: emptying a host before maintenance

You need to install Windows updates on a host during the lunch hour.

  1. Post an Announcement in the morning saying the applications on that host will be unavailable from 12:30.
  2. At 12:30, open Sessions and look for rows on that host.
  3. For anyone still connected, ask them to save their work, or use Kick on their rows.
  4. Because a disconnect leaves programs running inside Windows, sign out any remaining disconnected Windows sessions on the host itself (for example in Task Manager, on the Users tab) before you restart it.

If something goes wrong

What you seeLikely cause and fix
The dashboard says 1 seat but Sessions shows 4 open windowsThat is correct: one device with four windows open holds one seat.
A person was kicked but is back a minute laterKicking only disconnects. Disable the account or remove the access first if you want to keep them out.
After a kick, the person's programs are still open when they come backExpected: the Windows session was disconnected, not signed out. To have Windows sign out when people leave, see the session settings in Host session options.
A person on a shared account sees "Select a session to reconnect to", or their application never appearsSeveral disconnected Windows sessions have built up for that account on the host. Sign them out on the host once, and review the host's session settings so they do not build up again. See Host session options and Troubleshooting.
The Kick button is missing or does nothingYour administrator role has View but not Full on Sessions. Ask an administrator with full access to change the role.
Seats stay in use after everybody has gone homeA session that is disconnected but not ended still holds its Windows session, and therefore its seat, until it ends. Check System → Seats and release devices that are no longer in use.
Still stuck? Email support@dartinnovations.com with what you were doing, what you expected and what you saw. A screenshot helps.