Ubuntu ยท GDM SSO
Linux install guide
Passwordless employee login at the GDM screen via PAM, fleet heartbeat, and optional NSS/LDAP.
๐ฆ Download .deb
Single-host install โ GDM agent, PAM module, and capnis-enroll CLI.
๐๏ธ Fleet (APT mirror)
Multi-host rollout via internal APT repository.
sources.list
deb [signed-by=...] https://capnis.one/downloads/workstation/apt/ ./
โ
Before you start
- Ubuntu 22.04 or 24.04 LTS (amd64) with GDM
- Sudo access on the target machine
- Network access to
https://capnis.one - Linux
client_idโ client_id guide or Admin UI
โ
Step-by-step (.deb)
-
1
Download the package
Direct path:
/downloads/workstation/capnis-workstation_1.14.0_amd64.deb -
2
Install
bashsudo dpkg -i capnis-workstation_1.14.0_amd64.deb sudo apt-get install -f
-
3
Get Linux
client_idphp artisan oauth:show-workstation-clients linuxor Admin UI. Copy UUID for Capnis Ubuntu Workstation. -
4
Configure
/etc/capnis-workstation/config.yamlconfig.yamlsso_host: https://capnis.one client_id: YOUR_LINUX_CLIENT_ID redirect_uri: capnisworkstation://oauth/callback scopes: view-customer openid profile email roles:read subject_type: employee
verifycapnis-enroll show-config
-
5
Enable GDM agent
systemdsudo systemctl enable --now capnis-gdm-agent
-
6
Verify PAM & run setup
Ensure
/etc/pam.d/gdm-passwordincludes@include capnis-gdmbeforepam_unix.bashsudo capnis-enroll setup capnis-enroll pilot-smoke
-
7
Enroll
bashcapnis-enroll device-enroll # or per-user: capnis-enroll enroll
-
8
Test GDM login
Sign out. At GDM, sign in with your Capnis-enrolled account (passwordless when online).
-
9
Confirm in Admin
Workstation enrollments ยท employees use My Workstations to revoke.
+
APT mirror install
bash
curl -fsSL https://capnis.one/downloads/workstation/capnis-workstation.gpg \ | sudo gpg --dearmor -o /usr/share/keyrings/capnis-workstation.gpg echo "deb [signed-by=/usr/share/keyrings/capnis-workstation.gpg] https://capnis.one/downloads/workstation/apt/ ./" \ | sudo tee /etc/apt/sources.list.d/capnis-workstation.list sudo apt update && sudo apt install capnis-workstation
Continue from step 3 above (client_id, config, enroll).
โ
Optional fleet timers
systemd
sudo systemctl enable --now capnis-workstation-heartbeat.timer sudo systemctl enable --now capnis-workstation-update.timer sudo systemctl enable --now capnis-workstation-inventory.timer
Break-glass: Users in
break_glass_users always log in with a local password at GDM.