[GH-ISSUE #2090] Preparing... forever #921

Open
opened 2026-10-13 20:31:05 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @xoid on GitHub (Dec 22, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2090

Describe the bug
Client installed on Ubuntu25 in vbox has imported Admin configuration but trying to Connect, hangs forever "Preparing" run as user and as root

To Reproduce
Steps to reproduce the behavior:
Install AmneziaVPN client to Ubuntu 25 (have to install some packages)

Expected behavior
Connect to server, This server I can connect from Windows10 and Android

Log files
root@ubuntu:# cat ./.local/share/AmneziaVPN.ORG/AmneziaVPN/log/AmneziaVPN.log
[2025-12-22 12:07:16.036Z] [DEBUG] Amnezia : IpcClient::init succeed
[2025-12-22 12:07:16.050Z] [INFO] Amnezia : Logging has enabled on AmneziaVPN version 4.8.11.4 3b3a0aa
[2025-12-22 12:07:16.051Z] [INFO] Amnezia : Ubuntu 25.10 (x86_64)
root@ubuntu:
# cat /var/log/AmneziaVPN/AmneziaVPN-service.log
[2025-12-22 12:09:50.079Z] [DEBUG] Amnezia : LocalServer new connection

Screenshots

Desktop (please complete the following information):
Ubuntu 25 client, Roocky linux 9 server (docker conteiners up)

Server (please complete the following information):
Rocky Linux 9, server part works nice with other clients

Additional context

ul@ubuntu:~$ greps Amn
root         648  0.0  0.0   3040  2016 ?        Ss   15:05   0:00 /bin/sh /opt/AmneziaVPN/service/AmneziaVPN-service.sh
root         654  0.0  0.6 162024 23584 ?        Sl   15:05   0:00  \_ /opt/AmneziaVPN/service/bin/AmneziaVPN-service
root        2590  0.0  0.0   3040  2020 pts/1    S+   15:06   0:00                  |   |   |               \_ /bin/sh /usr/local/sbin/AmneziaVPN
root        2593 62.7  7.3 1109784 257232 pts/1  Sl+  15:06  12:51                  |   |   |                   \_ /opt/AmneziaVPN/client/bin/AmneziaVPN
root        2767  0.0  0.2  83408  7812 pts/3    Sl+  15:07   0:00                  |   |   |               \_ tail -f ./.local/share/AmneziaVPN.ORG/AmneziaVPN/log/AmneziaVPN.log
root        3033  0.0  0.2  83408  7964 pts/5    Sl   15:09   0:00                  |   |   |               \_ tail -f /var/log/AmneziaVPN/AmneziaVPN-service.log
vul         3106  0.0  0.0   3040  2020 tty1     S    15:09   0:00                  |   \_ /bin/sh /usr/local/sbin/AmneziaVPN
vul         3110  0.2  6.9 1030536 240804 tty1   Sl   15:09   0:02                  |       \_ /opt/AmneziaVPN/client/bin/AmneziaVPN
root        2839  0.1  1.5 587112 53292 ?        Sl   15:08   0:02 /usr/bin/caja --no-desktop /var/log/AmneziaVPN

also I can run GDB or strace for any process

Originally created by @xoid on GitHub (Dec 22, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2090 **Describe the bug** Client installed on Ubuntu25 in vbox has imported Admin configuration but trying to Connect, hangs forever "Preparing" run as user and as root **To Reproduce** Steps to reproduce the behavior: Install AmneziaVPN client to Ubuntu 25 (have to install some packages) **Expected behavior** Connect to server, This server I can connect from Windows10 and Android **Log files** root@ubuntu:~# cat ./.local/share/AmneziaVPN.ORG/AmneziaVPN/log/AmneziaVPN.log [2025-12-22 12:07:16.036Z] [DEBUG] Amnezia : IpcClient::init succeed [2025-12-22 12:07:16.050Z] [INFO] Amnezia : Logging has enabled on AmneziaVPN version 4.8.11.4 3b3a0aa [2025-12-22 12:07:16.051Z] [INFO] Amnezia : Ubuntu 25.10 (x86_64) root@ubuntu:~# cat /var/log/AmneziaVPN/AmneziaVPN-service.log [2025-12-22 12:09:50.079Z] [DEBUG] Amnezia : LocalServer new connection **Screenshots** **Desktop (please complete the following information):** Ubuntu 25 client, Roocky linux 9 server (docker conteiners up) **Server (please complete the following information):** Rocky Linux 9, server part works nice with other clients **Additional context** ``` ul@ubuntu:~$ greps Amn root 648 0.0 0.0 3040 2016 ? Ss 15:05 0:00 /bin/sh /opt/AmneziaVPN/service/AmneziaVPN-service.sh root 654 0.0 0.6 162024 23584 ? Sl 15:05 0:00 \_ /opt/AmneziaVPN/service/bin/AmneziaVPN-service root 2590 0.0 0.0 3040 2020 pts/1 S+ 15:06 0:00 | | | \_ /bin/sh /usr/local/sbin/AmneziaVPN root 2593 62.7 7.3 1109784 257232 pts/1 Sl+ 15:06 12:51 | | | \_ /opt/AmneziaVPN/client/bin/AmneziaVPN root 2767 0.0 0.2 83408 7812 pts/3 Sl+ 15:07 0:00 | | | \_ tail -f ./.local/share/AmneziaVPN.ORG/AmneziaVPN/log/AmneziaVPN.log root 3033 0.0 0.2 83408 7964 pts/5 Sl 15:09 0:00 | | | \_ tail -f /var/log/AmneziaVPN/AmneziaVPN-service.log vul 3106 0.0 0.0 3040 2020 tty1 S 15:09 0:00 | \_ /bin/sh /usr/local/sbin/AmneziaVPN vul 3110 0.2 6.9 1030536 240804 tty1 Sl 15:09 0:02 | \_ /opt/AmneziaVPN/client/bin/AmneziaVPN root 2839 0.1 1.5 587112 53292 ? Sl 15:08 0:02 /usr/bin/caja --no-desktop /var/log/AmneziaVPN ``` also I can run GDB or strace for any process
Author
Owner

@xoid commented on GitHub (Dec 22, 2025):

Image
<!-- gh-comment-id:3681919941 --> @xoid commented on GitHub (Dec 22, 2025): <img width="385" height="757" alt="Image" src="https://github.com/user-attachments/assets/0b69b385-88a2-4c53-9318-bf340b12eb67" />
Author
Owner

@xoid commented on GitHub (Dec 22, 2025):

Also, server sockets are fully available by netcat, firewall is not installed, strace shows polling some fd without success

<!-- gh-comment-id:3681923950 --> @xoid commented on GitHub (Dec 22, 2025): Also, server sockets are fully available by netcat, firewall is not installed, strace shows polling some fd without success
Author
Owner

@xoid commented on GitHub (Dec 22, 2025):

vul@ubuntu:~$ cat .config/AmneziaVPN.ORG/AmneziaVPN.conf
[General]
permFixed=true

[Conf]
appLanguage=en_US
appsRouteMode=2
devGatewayEnv=false
routeMode=1

[Servers]
defaultServerIndex=0
serversList="@ByteArray([\n {\n "containers": [\n {\n "awg": {\n "H1": "3xxxxxxxx",\n "H2": "18xxxxxxx",\n "H3": "xxxxxxx",\n "H4": "164xxxxxxx",\n "Jc": "2",\n "Jmax": "50",\n "Jmin": "10",\n "S1": "30",\n "S2": "93",\n "port": "39001",\n "transport_proto": "udp"\n },\n "container": "amnezia-awg"\n },\n {\n "container": "amnezia-xray",\n "xray": {\n "port": "8080",\n "site": "calmxxxxxto",\n "transport_proto": "tcp"\n }\n },\n {\n "cloak": {\n "port": "443",\n "transport_proto": "tcp"\n },\n "container": "amnezia-openvpn-cloak",\n "openvpn": {\n },\n "shadowsocks": {\n }\n },\n {\n "container": "amnezia-dns",\n "dns": {\n "port": "53",\n "transport_proto": "tcp"\n }\n }\n ],\n "defaultContainer": "amnezia-xray",\n "description": "SRVxxx.hetz",\n "hostName": "13xxxxxxx119",\n "nameOverriddenByUser": true,\n "password": "xxxxxxx",\n "port": 22,\n "userName": "root"\n }\n]\n)"

<!-- gh-comment-id:3681973285 --> @xoid commented on GitHub (Dec 22, 2025): vul@ubuntu:~$ cat .config/AmneziaVPN.ORG/AmneziaVPN.conf [General] permFixed=true [Conf] appLanguage=en_US appsRouteMode=2 devGatewayEnv=false routeMode=1 [Servers] defaultServerIndex=0 serversList="@ByteArray([\n {\n \"containers\": [\n {\n \"awg\": {\n \"H1\": \"3xxxxxxxx\",\n \"H2\": \"18xxxxxxx\",\n \"H3\": \"xxxxxxx\",\n \"H4\": \"164xxxxxxx\",\n \"Jc\": \"2\",\n \"Jmax\": \"50\",\n \"Jmin\": \"10\",\n \"S1\": \"30\",\n \"S2\": \"93\",\n \"port\": \"39001\",\n \"transport_proto\": \"udp\"\n },\n \"container\": \"amnezia-awg\"\n },\n {\n \"container\": \"amnezia-xray\",\n \"xray\": {\n \"port\": \"8080\",\n \"site\": \"calmxxxxxto\",\n \"transport_proto\": \"tcp\"\n }\n },\n {\n \"cloak\": {\n \"port\": \"443\",\n \"transport_proto\": \"tcp\"\n },\n \"container\": \"amnezia-openvpn-cloak\",\n \"openvpn\": {\n },\n \"shadowsocks\": {\n }\n },\n {\n \"container\": \"amnezia-dns\",\n \"dns\": {\n \"port\": \"53\",\n \"transport_proto\": \"tcp\"\n }\n }\n ],\n \"defaultContainer\": \"amnezia-xray\",\n \"description\": \"SRVxxx.hetz\",\n \"hostName\": \"13xxxxxxx119\",\n \"nameOverriddenByUser\": true,\n \"password\": \"xxxxxxx\",\n \"port\": 22,\n \"userName\": \"root\"\n }\n]\n)"
Author
Owner

@wusikijeronii commented on GitHub (Jan 18, 2026):

Hello.
Today I encountered the following problem. Since AmeziaWG does not currently support protocol 1.5, I configured Amnezia VPN on the server. I installed AmneziaVpn.sh + xvfb + vnc for remote access. I also had the status Preparing. I installed Gnome DE and the preparation was successful.
Apparently, the application requires a response from WM, and the preparation process hangs indefinitely.
@xoid , try to make sure you are using X11 and change gdm or DE completely.

<!-- gh-comment-id:3765421432 --> @wusikijeronii commented on GitHub (Jan 18, 2026): Hello. Today I encountered the following problem. Since AmeziaWG does not currently support protocol 1.5, I configured Amnezia VPN on the server. I installed AmneziaVpn.sh + xvfb + vnc for remote access. I also had the status Preparing. I installed Gnome DE and the preparation was successful. Apparently, the application requires a response from WM, and the preparation process hangs indefinitely. @xoid , try to make sure you are using X11 and change gdm or DE completely.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#921
No description provided.