Debian Codegraph @

doc/output/man/cockpit-desktop.1

raw
1 '\" t
2 .\" Title: cockpit-desktop
3 .\" Author: [see the "AUTHOR(S)" section]
4 .\" Generator: Asciidoctor 2.0.26
5 .\" Date: 2026-09-23
6 .\" Manual: cockpit
7 .\" Source: cockpit
8 .\" Language: English
9 .\"
10 .TH "COCKPIT\-DESKTOP" "1" "2026-09-23" "cockpit" "cockpit"
11 .ie \n(.g .ds Aq \(aq
12 .el .ds Aq '
13 .ss \n[.ss] 0
14 .nh
15 .ad l
16 .de URL
17 \fI\\$2\fP <\\$1>\\$3
18 ..
19 .als MTO URL
20 .if \n[.g] \{\
21 . mso www.tmac
22 . am URL
23 . ad l
24 . .
25 . am MTO
26 . ad l
27 . .
28 . LINKSTYLE blue R < >
29 .\}
30 .SH "NAME"
31 cockpit-desktop \- Cockpit Desktop integration
32 .SH "SYNOPSIS"
33 .sp
34 \fBcockpit\-desktop\fP \fIURLPATH\fP [\fISSH_HOST\fP]
35 .SH "DESCRIPTION"
36 .sp
37 The \fBcockpit\-desktop\fP program provides secure access to Cockpit pages
38 in an already running desktop session. It starts a web server
39 (\fBcockpit\-ws\fP) and a web browser in an isolated network namespace, and
40 a \fBcockpit\-bridge\fP(1) in the running user session.
41 .sp
42 This avoids having to log into Cockpit, and having to enable
43 \fBcockpit.socket\fP system\-wide. The network isolation ensures that no
44 other user, and not even other processes in the user\(cqs session, can
45 access this local web server.
46 .sp
47 \fBURLPATH\fP is the Cockpit page to open, i. e. the path component of
48 Cockpit URLs. It is highly recommended to only open a
49 .URL "https://docs.cockpit\-project.org/cockpit\-guide/latest/guide/embedding.html" "particular page frame" ","
50 not the entire Cockpit navigation and menu. For example, the
51 path \f(CR/cockpit/@localhost/storage/index.html\fP will open the Storage
52 page. It is also possible to give abbreviated forms of urls, such as
53 \(lq/storage\(rq or \(lq/network/firewall\(rq.
54 .sp
55 \fISSH_HOST\fP is an optional SSH remote host specification (\fIhostname\fP
56 or \fIusername@hostname\fP). If given, \fBcockpit\-bridge\fP will be started
57 on the remote host through \fBssh(1)\fP instead, i. e. the Cockpit web
58 browser will show that remote host. Note that this is more of an
59 experimental/demo feature.
60 .SH "ENVIRONMENT"
61 .sp
62 The \fBBROWSER\fP environment variable specifies the browser command (and
63 possibly options) that will be used to open the requested Cockpit page.
64 If not set, \fBcockpit\-desktop\fP attempts to use an internal minimalistic
65 WebKit browser, and failing that, will attempt to detect some reasonable
66 alternatives.
67 .SH "BUGS"
68 .sp
69 Please send bug reports to either the distribution bug tracker or the \c
70 .URL "https://github.com/cockpit\-project/cockpit/issues/new" "upstream bug tracker" "."
71 .SH "AUTHOR"
72 .sp
73 Cockpit has been written by many
74 .URL "https://github.com/cockpit\-project/cockpit" "contributors" "."
75 .SH "SEE ALSO"
76 .sp
77 \fBcockpit\-ws\fP(8), \fBcockpit\-bridge\fP(1)