Operate the Linux remote agent services
The Linux remote agent uses a system broker and workers in the GNOME desktop or at the GDM login screen. Before restarting any agent service, have every operator disconnect and confirm there is no active remote session in Computers > Machines. Run user commands in the account's own systemd user manager.
Machine broker and desktop session worker
-
The system unit
vdo-agent-broker.servicestarts at boot, keeps the registered Workstation host connected and routes viewers to the eligible session. Check its status and journal on the host.sudo systemctl status vdo-agent-broker.service sudo journalctl -u vdo-agent-broker.service --since "10 minutes ago" --no-pager -
The user unit
vdo-agent-session.servicehandles picture, sound and input in the signed-in GNOME desktop. Check it from that desktop user's session.systemctl --user status vdo-agent-session.service journalctl --user -u vdo-agent-session.service --since "10 minutes ago" --no-pager -
The installer adds a desktop autostart entry that starts the worker at sign-in. If systemd generates a corresponding unit, inspect it in the same user manager.
systemctl --user status 'app-vdo\x2dsession\[email protected]' journalctl --user -u 'app-vdo\x2dsession\[email protected]' --since "10 minutes ago" --no-pager
Restart the broker or desktop worker
-
Have Workstation operators disconnect and confirm the host is idle in Computers > Machines. Use the system manager to restart the machine broker.
sudo systemctl restart vdo-agent-broker.service -
To restart the desktop worker on an idle host, run the user command from the signed-in GNOME desktop.
systemctl --user restart vdo-agent-session.service
GDM login-screen worker
-
The user unit
vdo-agent-greeter.serviceserves the restricted GDM login screen. While that screen is active, list the sessions and identify its account.loginctl list-sessions -
Set
greeter_userbelow to that account,gdmorgdm-greeter. Check the status in the greeter's user manager and read its journal.greeter_user=gdm greeter_uid=$(id -u "$greeter_user") greeter_runtime="/run/user/$greeter_uid" sudo runuser -u "$greeter_user" -- env XDG_RUNTIME_DIR="$greeter_runtime" \ DBUS_SESSION_BUS_ADDRESS="unix:path=$greeter_runtime/bus" \ systemctl --user status vdo-agent-greeter.service sudo journalctl _UID="$greeter_uid" _SYSTEMD_USER_UNIT=vdo-agent-greeter.service \ --since "10 minutes ago" --no-pager -
To restart the greeter worker, confirm the host is idle. In the same terminal, use the account and runtime variables set above.
sudo runuser -u "$greeter_user" -- env XDG_RUNTIME_DIR="$greeter_runtime" \ DBUS_SESSION_BUS_ADDRESS="unix:path=$greeter_runtime/bus" \ systemctl --user restart vdo-agent-greeter.service
Automatic updates and the system timer
-
By default, a new unpinned broker installation enables
vdo-agent-update.timer. It startsvdo-agent-update.serviceon a six-hour schedule with a random delay. The service checks for a newer release and applies it when the broker confirms the host is idle. A busy host defers the update. A pinned install removes the schedule and--no-auto-updatedisables it. -
Check the timer's last and next runs and the update journal. The one-shot service is normally inactive between checks.
sudo systemctl status vdo-agent-update.timer vdo-agent-update.service systemctl list-timers --all vdo-agent-update.timer sudo journalctl -u vdo-agent-update.timer -u vdo-agent-update.service --since "24 hours ago" --no-pager -
To restart an enabled timer during an idle window, run the following command.
sudo systemctl restart vdo-agent-update.timer -
To check immediately with the schedule enabled, start the update service on an idle host. This can install a newer release. For a planned version change, follow Install and update the Linux agent.
sudo systemctl start vdo-agent-update.service
Earlier and single-user installations
-
The single-user recovery installer uses
vdo-agent.servicein the desktop account. An RPM can also provide thevdo-remote-agent.serviceuser unit. Setunitto the one installed and run these commands in the desktop account. For units that write agent output to/tmp/vdo-agent-systemd.log, check that file for details.unit=vdo-agent.service systemctl --user status "$unit" journalctl --user -u "$unit" --since "10 minutes ago" --no-pager -
On earlier system-service installations, use the system manager for the installed
vdo-agent.serviceorvdo-remote-agent.service.unit=vdo-agent.service sudo systemctl status "$unit" sudo journalctl -u "$unit" --since "10 minutes ago" --no-pager -
On an idle host, restart the user unit from the desktop account if that is the installation you checked.
systemctl --user restart "$unit" -
On an idle host with a system-service installation, restart the system unit instead.
sudo systemctl restart "$unit"
Check Workstation after maintenance
- Check the host's agent version, heartbeat and capture readiness in Computers > Machines and verify picture and input over a fresh connection.
- See Manage the Linux agent for desktop and lifecycle checks and Troubleshoot the Linux agent for help with connection, capture or input symptoms.