man-pages/man1/broadwayd.1.html
2021-03-31 01:06:50 +01:00

154 lines
2.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of BROADWAYD</TITLE>
</HEAD><BODY>
<H1>BROADWAYD</H1>
Section: User Commands (1)<BR>Updated: <BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
broadwayd - Broadway display server
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<DL COMPACT>
<DT id="1">
<B>broadwayd</B> [--port&nbsp;<I>PORT</I>] [--address&nbsp;<I>ADDRESS</I>] [--unixsocket&nbsp;<I>ADDRESS</I>] [<I>:DISPLAY</I>]
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
<B>broadwayd</B>
<DD>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>
When using broadwayd, specify the display number to use, prefixed with a colon, similar to X. The default display number is 0.
<P>
<DL COMPACT><DT id="2"><DD>
<PRE>
broadwayd :5
</PRE>
</DL>
<P>
Then point your web browser at
<A HREF="http://127.0.0.1:8085.">http://127.0.0.1:8085.</A> Start your applications like this:
<P>
<DL COMPACT><DT id="3"><DD>
<PRE>
GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk3-demo
</PRE>
</DL>
<P>
You can add password protection for your session by creating a file in
$XDG_CONFIG_HOME/broadway.passwd
or
$HOME/.config/broadway.passwd
with a <A HREF="/cgi-bin/man/man2html?3+crypt">crypt</A>(3) style password hash. A simple way to generate it is with openssl:
<P>
<DL COMPACT><DT id="4"><DD>
<PRE>
openssl passwd -1 &gt; ~/.config/broadway.passwd
</PRE>
</DL>
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<P>
--port
<DL COMPACT><DT id="5"><DD>
Use
<I>PORT</I>
as the HTTP port, instead of the default 8080 + (<I>DISPLAY</I>
- 1).
</DL>
<P>
--address
<DL COMPACT><DT id="6"><DD>
Use
<I>ADDRESS</I>
as the HTTP address, instead of the default
<A HREF="http://127.0.0.1:">http://127.0.0.1:</A><I>PORT</I>.
</DL>
<P>
--unixsocket
<DL COMPACT><DT id="7"><DD>
Use
<I>ADDRESS</I>
as the unix domain socket address. This option overrides
--address
and
--port. It is available only on Unix-like systems.
</DL>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="8"><A HREF="#lbAB">NAME</A><DD>
<DT id="9"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="10"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="11"><A HREF="#lbAE">OPTIONS</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:08 GMT, March 31, 2021
</BODY>
</HTML>