COCKPIT-DESKTOP(1)

πŸ’… COCKPIT-DESKTOP β€” the manual page, bestie edition

okay so this is cockpit-desktop, from the cockpit manual (section 1, the user commands one, iykyk) πŸ’–


✨ NAME ✨

cockpit-desktop β€” Cockpit Desktop integration πŸ–₯️🌸


🫢 SYNOPSIS 🫢

cockpit-desktop URLPATH [SSH_HOST]

that's it. two args, one of them optional. we love a low-maintenance icon πŸ‘‘


🌈 DESCRIPTION 🌈

so like, cockpit-desktop gives you secure access to Cockpit pages inside a desktop session that's already running. no big dramatic setup, no "let me log in first". it just goes ✨

here's the whole little ecosystem it spins up:

  • a web server (cockpit-ws)
  • a web browser
  • and both of those live together in an isolated network namespace πŸ›‘οΈ
  • plus a cockpit-bridge(1) running in your actual user session

the point of all that? it means you don't have to log into Cockpit, and you don't have to enable cockpit.socket system-wide. periodt. πŸ™…β€β™€οΈ

and the network isolation is doing real work here, not just vibes: it makes sure no other user β€” and honestly not even other processes in your own user session β€” can reach this local web server. it's giving private party, you're the only one on the list πŸŽ€


πŸ’« about URLPATH πŸ’«

URLPATH is the Cockpit page you want to open, i.e. the path component of Cockpit URLs. πŸ“Ž

highly recommended: only open a particular page frame β€” like, the embedding-style one β€” and not the entire Cockpit navigation and menu. keep it cute, keep it scoped βœ‚οΈ

for example, this path:

/cockpit/@localhost/storage/index.html

opens the Storage page. slay. 🌸

you can also use abbreviated forms of urls, like "/storage" or "/network/firewall". shorthand queen πŸ‘‘


πŸ¦‹ about SSH_HOST πŸ¦‹

SSH_HOST is an optional SSH remote host specification β€” either hostname or username@hostname. πŸ›°οΈ

if you give it, cockpit-bridge gets started on the remote host through ssh(1) instead. translation? the Cockpit web browser will show you that remote host. πŸ’»βž‘οΈπŸŒ

heads up tho: this one is more of an experimental/demo feature. it works, it's fun, it's not the main character of this manpage πŸ§ͺ✨

🌸 ENVIRONMENT 🌸

  • BROWSER β€” this environment variable specifies the browser command (and possibly options) used to open the requested Cockpit page 🧚 if it's not set, cockpit-desktop attempts to use an internal minimalistic WebKit browser, and if that doesn't pan out, it will attempt to detect some reasonable alternatives. very "we'll figure it out" energy πŸ’…

πŸ’€ BUGS πŸ’€

found a bug? please send bug reports to either the distribution bug tracker or the upstream bug tracker πŸ›

(the upstream one lives at https://github.com/cockpit-project/cockpit/issues/new β€” go tell them, they wanna know 🫢)


πŸ‘‘ AUTHOR πŸ‘‘

Cockpit has been written by many contributors ✨

(https://github.com/cockpit-project/cockpit β€” it takes a village, fr fr 🌈)


πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, bestie πŸŽ€ this was cockpit's cockpit-desktop(1), dated 2026-10-22, from the cockpit source. go open a page frame, stay in your network namespace, and be safe out there πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from