LinuxCommandLibrary

cockpit-desktop

Open a Cockpit page

TLDR

Open a Cockpit page

$ cockpit-desktop [url] [SSH_host]
copy
Open the storage page
$ cockpit-desktop /cockpit/@localhost/storage/index.html
copy

SYNOPSIS

cockpit-desktop [url] [sshhost_]

DESCRIPTION

cockpit-desktop provides secure access to Cockpit pages within a running desktop session. It starts cockpit-ws and a web browser in an isolated network namespace, along with cockpit-bridge in the user's session.
This allows accessing Cockpit functionality without exposing a network port.

PARAMETERS

url

The Cockpit page URL to open
sshhost_
Optional SSH host for remote connection

CAVEATS

Part of the Cockpit suite. Requires a graphical desktop environment. Uses network namespaces for isolation, which requires appropriate kernel support.

SEE ALSO

Copied to clipboard