Skip to content

Commit 534e168

Browse files
committed
Fix paths for gnome-renote-desktop user's ~ (BSC#1243045)
1 parent a6e7477 commit 534e168

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

tasks/gnome-remote-desktop-configuring.xml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<para>
7575
Create a directory for the TLS encryption key and certificate:
7676
</para>
77-
<screen>&prompt.sudo;-u gnome-remote-desktop <command>mkdir</command> -p <filename>~/.local/share/gnome-remote-desktop/</filename></screen>
77+
<screen>&prompt.sudo;-u gnome-remote-desktop <command>mkdir</command> -p <filename>~gnome-remote-desktop/.local/share/gnome-remote-desktop/</filename></screen>
7878
<para>
7979
The <systemitem class="username">gnome-remote-desktop</systemitem> user is created
8080
automatically when the <package>gnome-remote-desktop</package> package is installed. Its
@@ -93,8 +93,8 @@
9393
</para>
9494
<screen>&prompt.sudo;-u gnome-remote-desktop <command>openssl</command> req -new -newkey rsa:4096 -days 365 -nodes -x509 -subj \
9595
/C=<replaceable>COUNTRY_CODE</replaceable>/ST=<replaceable>STATE</replaceable>/L=<replaceable>LOCALITY</replaceable>/O=<replaceable>ORGANIZATION</replaceable>/CN=&exampledomain1; \
96-
-out <filename>~/.local/share/gnome-remote-desktop/tls.crt</filename> \
97-
-keyout <filename>~/.local/share/gnome-remote-desktop/tls.key</filename></screen>
96+
-out <filename>~gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.crt</filename> \
97+
-keyout <filename>~gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.key</filename></screen>
9898
<para>
9999
Replace the country code, state, locality, organization, and common name or omit
100100
parameters you do not need. For the country code, use a two-letter <citetitle>ISO
@@ -107,9 +107,11 @@
107107
If you prefer an interactive command to guide you through the certificate generation,
108108
use <command>certtool</command> from the <package>gnutls</package> package:
109109
</para>
110-
<screen>&prompt.sudo;zypper in gnutls
111-
&prompt.sudo;-u gnome-remote-desktop <command>certtool</command> --generate-privkey --outfile <filename>~/.local/share/gnome-remote-desktop/tls.key</filename>
112-
&prompt.sudo;-u gnome-remote-desktop <command>certtool</command> --generate-self-signed --load-privkey <filename>~/.local/share/gnome-remote-desktop/tls.key</filename></screen>
110+
<screen>&prompt.sudo;<command>zypper</command> in gnutls
111+
&prompt.sudo;-u gnome-remote-desktop <command>certtool</command> --generate-privkey \
112+
--outfile <filename>~gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.key</filename>
113+
&prompt.sudo;-u gnome-remote-desktop <command>certtool</command> --generate-self-signed \
114+
--load-privkey <filename>~gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.key</filename></screen>
113115
</step>
114116
</stepalternatives>
115117
</step>

0 commit comments

Comments
 (0)