<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>47735</bug_id>
          
          <creation_ts>2023-09-26 11:32:50 +0300</creation_ts>
          <short_desc>Не работает SSH подключение без Monospace шрифтов (Unable to load font “monospace”)</short_desc>
          <delta_ts>2023-10-03 18:37:44 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Branch p10</product>
          <component>guacd</component>
          <version>не указана</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgeny Shesteperov">alimektor</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          
          
          <qa_contact name="qa-p10@altlinux.org">qa-p10</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>233857</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeny Shesteperov">alimektor</who>
    <bug_when>2023-09-26 11:32:50 +0300</bug_when>
    <thetext>Версия

-   guacd-1.4.0-alt3

Дистрибутивы

-   p10-server-10.1-x86-64 в профиле Minimal (OpenUDS Tunnel)

Шаги воспроизведения

1.  Выполнить настройку OpenUDS Server / OpenUDS Tunnel согласно
    https://www.altlinux.org/VDI/OpenUDS с виртуальной машиной
    OpenNebula.
2.  Создать туннельные транспорты: HTML / SSH.
3.  На сервере OpenUDS удалить шрифты Monospace:

    # apt-get remove -y fonts-ttf-google-croscore-common

4.  Запустить подключение по SSH.

Ожидаемый результат: успешное подключение по SSH

Фактический результат: Соединение было прервано из-за внутренней ошибки
сервера Guacamole. Пожалуйста, попробуйте повторить попытку позднее или
обратитесь к администратору. В логах OpenUDS Tunnel:

    сен 26 11:27:39 openuds-tunnel guacd[7269]: Creating new client for protocol &quot;ssh&quot;
    сен 26 11:27:39 openuds-tunnel guacd[7269]: guacd[7269]: INFO:        Creating new client for protocol &quot;ssh&quot;
    сен 26 11:27:39 openuds-tunnel guacd[7269]: guacd[7269]: INFO:        Connection ID is &quot;$80a7d5f2-85fb-46b1-96b3-3fa9771c1eca&quot;
    сен 26 11:27:39 openuds-tunnel guacd[7269]: Connection ID is &quot;$80a7d5f2-85fb-46b1-96b3-3fa9771c1eca&quot;
    сен 26 11:27:39 openuds-tunnel guacd[7583]: User &quot;@1c3534fc-75f2-4dd0-b5ea-f9c00fd1010a&quot; joined connection &quot;$80a7d5f2-85fb-46b1-96b3-3fa9771c1eca&quot; (1 users now present)
    сен 26 11:27:39 openuds-tunnel guacd[7583]: guacd[7583]: INFO:        User &quot;@1c3534fc-75f2-4dd0-b5ea-f9c00fd1010a&quot; joined connection &quot;$80a7d5f2-85fb-46b1-96b3-3fa9771c1eca&quot; (1 users now present)
    сен 26 11:27:39 openuds-tunnel server[7274]: 11:27:39.327 [http-nio-8080-exec-2] INFO  o.a.g.tunnel.TunnelRequestService - User &quot;null&quot; connected to connection &quot;UDS&quot;.
    сен 26 11:27:39 openuds-tunnel guacd[7583]: Unable to load font &quot;monospace&quot;
    сен 26 11:27:39 openuds-tunnel guacd[7583]: Unable to set initial font &quot;monospace&quot;
    сен 26 11:27:39 openuds-tunnel guacd[7583]: guacd[7583]: INFO:        Unable to load font &quot;monospace&quot;
    сен 26 11:27:39 openuds-tunnel guacd[7583]: guacd[7583]: ERROR:        Unable to set initial font &quot;monospace&quot;
    сен 26 11:27:39 openuds-tunnel kernel: guacd[7587]: segfault at 1878 ip 00007f3dc288a262 sp 00007f3dc30a9be0 error 4 in libguac-client-ssh.so.0.0.0[7f3dc2887000+12000]
    сен 26 11:27:39 openuds-tunnel kernel: Code: 00 be 06 00 00 00 48 89 ef e8 5a db ff ff b8 01 00 00 00 eb 85 0f 1f 00 53 48 8b 07 48 89 fb 48 89 de 48 8b 40 10 48 8b 40 68 &lt;48&gt; 8b b8 78 18 00 00 e8 12 db ff ff 8b 43 18 85 c0 74 0b 31 c0 5b
    сен 26 11:27:39 openuds-tunnel guacd[7269]: Connection &quot;$80a7d5f2-85fb-46b1-96b3-3fa9771c1eca&quot; removed.
    сен 26 11:27:39 openuds-tunnel guacd[7269]: guacd[7269]: INFO:        Connection &quot;$80a7d5f2-85fb-46b1-96b3-3fa9771c1eca&quot; removed.
    сен 26 11:27:39 openuds-tunnel server[7274]: 11:27:39.390 [http-nio-8080-exec-3] INFO  o.a.g.tunnel.TunnelRequestService - User &quot;&quot; disconnected from connection &quot;UDS&quot;. Duration: 63 millisecond

В Sisyphus не проверялось.

Related bugs:

-   https://github.com/linuxserver/docker-guacd/issues/9

Workaround:

    # apt-get install -y fonts-ttf-google-droid-sans-mono</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>234279</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-10-03 18:37:44 +0300</bug_when>
    <thetext>guacamole-server-1.5.3-alt2 -&gt; sisyphus:

 Mon Oct 02 2023 Alexey Shabalin &lt;shaba@altlinux&gt; 1.5.3-alt2
 - Add requires to fonts-ttf-liberation (ALT#47735).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>