105 lines
4.3 KiB
HTML
105 lines
4.3 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||
<html>
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<title>broadwayd: GTK+ 3 Reference Manual</title>
|
||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
|
||
<link rel="up" href="pt06.html" title="Part VI. GTK+ Tools">
|
||
<link rel="prev" href="gtk-query-settings.html" title="gtk-query-settings">
|
||
<link rel="next" href="platform-support.html" title="Part VII. GTK+ Platform Support">
|
||
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
|
||
<link rel="stylesheet" href="style.css" type="text/css">
|
||
</head>
|
||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
|
||
<td width="100%" align="left" class="shortcuts"></td>
|
||
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
||
<td><a accesskey="u" href="pt06.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
||
<td><a accesskey="p" href="gtk-query-settings.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
||
<td><a accesskey="n" href="platform-support.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
||
</tr></table>
|
||
<div class="refentry">
|
||
<a name="broadwayd"></a><div class="titlepage"></div>
|
||
<div class="refnamediv"><table width="100%"><tr>
|
||
<td valign="top">
|
||
<h2><span class="refentrytitle">broadwayd</span></h2>
|
||
<p>broadwayd — Broadway display server</p>
|
||
</td>
|
||
<td class="gallery_image" valign="top" align="right"></td>
|
||
</tr></table></div>
|
||
<div class="refsynopsisdiv">
|
||
<h2>Synopsis</h2>
|
||
<div class="cmdsynopsis"><p><code class="command">broadwayd</code> [--port <em class="replaceable"><code>PORT</code></em>] [--address <em class="replaceable"><code>ADDRESS</code></em>] [--unixsocket <em class="replaceable"><code>ADDRESS</code></em>] [<em class="replaceable"><code>:DISPLAY</code></em>]</p></div>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="id-1.7.12.5"></a><h2>Description</h2>
|
||
<p>
|
||
<span class="command"><strong>broadwayd</strong></span> is a display server for the Broadway
|
||
GDK backend. It allows multiple GTK+ applications to display their
|
||
windows in the same web browser, by connecting to broadwayd.
|
||
</p>
|
||
<p>
|
||
When using broadwayd, specify the display number to use, prefixed
|
||
with a colon, similar to X. The default display number is 0.
|
||
</p>
|
||
<pre class="programlisting">
|
||
broadwayd :5
|
||
</pre>
|
||
<p>
|
||
Then point your web browser at <code class="literal">http://127.0.0.1:8085</code>.
|
||
Start your applications like this:
|
||
</p>
|
||
<pre class="programlisting">
|
||
GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk3-demo
|
||
</pre>
|
||
<p>
|
||
|
||
You can add password protection for your session by creating a file in
|
||
<code class="filename">$XDG_CONFIG_HOME/broadway.passwd</code> or <code class="filename">$HOME/.config/broadway.passwd</code>
|
||
with a crypt(3) style password hash.
|
||
|
||
A simple way to generate it is with openssl:
|
||
</p>
|
||
<pre class="programlisting">
|
||
openssl passwd -1 > ~/.config/broadway.passwd
|
||
</pre>
|
||
<p>
|
||
|
||
</p>
|
||
</div>
|
||
<div class="refsect1">
|
||
<a name="id-1.7.12.6"></a><h2>Options</h2>
|
||
<div class="variablelist"><table border="0" class="variablelist">
|
||
<colgroup>
|
||
<col align="left" valign="top">
|
||
<col>
|
||
</colgroup>
|
||
<tbody>
|
||
<tr>
|
||
<td><p><span class="term">--port</span></p></td>
|
||
<td><p>Use <em class="replaceable"><code>PORT</code></em> as the HTTP
|
||
port, instead of the default 8080 + (<em class="replaceable"><code>DISPLAY</code></em> - 1).
|
||
</p></td>
|
||
</tr>
|
||
<tr>
|
||
<td><p><span class="term">--address</span></p></td>
|
||
<td><p>Use <em class="replaceable"><code>ADDRESS</code></em> as the HTTP
|
||
address, instead of the default <code class="literal">http://127.0.0.1:<em class="replaceable"><code>PORT</code></em></code>.
|
||
</p></td>
|
||
</tr>
|
||
<tr>
|
||
<td><p><span class="term">--unixsocket</span></p></td>
|
||
<td><p>Use <em class="replaceable"><code>ADDRESS</code></em> as the unix domain socket
|
||
address. This option overrides <code class="literal">--address</code> and <code class="literal">--port</code>.
|
||
It is available only on Unix-like systems.
|
||
</p></td>
|
||
</tr>
|
||
</tbody>
|
||
</table></div>
|
||
</div>
|
||
</div>
|
||
<div class="footer">
|
||
<hr>Generated by GTK-Doc V1.33.1</div>
|
||
</body>
|
||
</html> |