Skip to content

VNC server not found even after wiki resolutions #492

@Miala-python

Description

@Miala-python

Hello,
I read the docs here https://github.com/EXALAB/AnLinux-App/wiki/vncserver-start%3A-command-not-found , but no solution from here works for me...

Do I miss something, or it's just unluck ?

Thank you!

Logs:
~ $ ./start-kali.sh
root@localhost:~# wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/WindowManager/Apt/Awesome/de-apt-awesome.sh --no-check-certificate && bash de-apt-awesome.sh
--2025-05-06 20:22:57-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/WindowManager/Apt/Awesome/de-apt-awesome.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1389 (1.4K) [text/plain]
Saving to: ‘de-apt-awesome.sh’

de-apt-awesom 100% 1.36K --.-KB/s in 0.001s

2025-05-06 20:22:57 (1.98 MB/s) - ‘de-apt-awesome.sh’ saved [1389/1389]

Get:1 http://ftp.free.fr/pub/kali kali-rolling InRelease [41.5 kB]
Err:1 http://ftp.free.fr/pub/kali kali-rolling InRelease
Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
Reading package lists... Done
W: GPG error: http://ftp.free.fr/pub/kali kali-rolling InRelease: Sub-process /usr/bin/sqv returned an error code (1), error message is: Missing key 827C8569F2518CC677FECA1AED65462EC8D5E4C5, which is needed to verify signature.
E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package awesome
E: Unable to locate package tightvncserver
E: Unable to locate package dbus-x11
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package xfe
--2025-05-06 20:23:00-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/WindowManager/Apt/Awesome/xstartup
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.110.133, 185.199.108.133, 185.199.109.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 42 [text/plain]
Saving to: ‘/root/.vnc/xstartup’

xstartup 100% 42 --.-KB/s in 0s

2025-05-06 20:23:00 (291 KB/s) - ‘/root/.vnc/xstartup’ saved [42/42]

--2025-05-06 20:23:00-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/WindowManager/Apt/Awesome/vncserver-start
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.111.133, 185.199.108.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 98 [text/plain]
Saving to: ‘/usr/local/bin/vncserver-start’

vncserver-sta 100% 98 --.-KB/s in 0s

2025-05-06 20:23:01 (636 KB/s) - ‘/usr/local/bin/vncserver-start’ saved [98/98]

--2025-05-06 20:23:01-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/WindowManager/Apt/Awesome/vncserver-stop
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.108.133, 185.199.111.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 100 [text/plain]
Saving to: ‘/usr/local/bin/vncserver-stop’

vncserver-sto 100% 100 --.-KB/s in 0s

2025-05-06 20:23:01 (254 KB/s) - ‘/usr/local/bin/vncserver-stop’ saved [100/100]

You can now start vncserver by running vncserver-start

It will ask you to enter a password when first time starting it.

The VNC Server will be started at 127.0.0.1:5901

You can connect to this address with a VNC Viewer you prefer

Connect to this address will open a window with Awesome Window Manager

Running vncserver-start

To Kill VNC Server just run vncserver-stop

/usr/local/bin/vncserver-start: line 4: vncserver: command not found
root@localhost:# apt install ca-certificates
ca-certificates is already the newest version (20241223).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
root@localhost:
# apt reinstall ca-certificates
Reinstallation of ca-certificates is not possible, it cannot be downloaded.
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
root@localhost:~#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions