Unable to locate package (xfce4, xfce4-terminal, tightvncserver) - ubuntu - setegid (38: Function not implemented)

See original GitHub issue

Hello,

I’ve already had a look at the opened and closed issues. None seem to help.

I previously encountered https: #3#issuecomment-447565823

My specs:

• OnePlus 5T (ONEPLUS A5010) • Android 9 (kernel 4.4.153-perf+ #1) • OxygenOS OP5T_O2_BETA_20 • Build ONEPLUS A5010_43_181205 • disabled GAPPS & Google Play Services

Apps from f-droid:

• Termux v.0.65 • AnLinux v.4.94

Apps from Yalp store:

  • VNC Viewer

Blokada adblocker disabled.

Problem: I cannot get xfce and the VNC server:

Welcome to Termux!

$ pkg install wget proot -y && wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh && bash ubuntu.sh
Get:1 https://termux.net stable InRelease [1720 B]
Get:2 https://termux.net stable/main all Packages [5496 B]
Get:3 https://termux.net stable/main aarch64 Packages [65.9 kB]
Fetched 73.1 kB in 1s (70.7 kB/s)
Reading package lists... Done
Building dependency tree... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
The following additional packages will be installed:
  libtalloc libunistring libuuid pcre2
The following NEW packages will be installed:
  libtalloc libunistring libuuid pcre2 proot wget
0 upgraded, 6 newly installed, 0 to remove and 8 not upgraded.
Need to get 867 kB of archives.
After this operation, 3748 kB of additional disk space will be used.
Get:1 https://termux.net stable/main aarch64 libtalloc aarch64 2.1.14 [9660 B]
Get:2 https://termux.net stable/main aarch64 libunistring aarch64 0.9.10 [366 kB]
Get:3 https://termux.net stable/main aarch64 libuuid aarch64 1.0.3-2 [4416 B]
Get:4 https://termux.net stable/main aarch64 pcre2 aarch64 10.32 [235 kB]
Get:5 https://termux.net stable/main aarch64 proot aarch64 5.1.107-18 [60.0 kB]
Get:6 https://termux.net stable/main aarch64 wget aarch64 1.20 [192 kB]
Fetched 867 kB in 0s (1984 kB/s)
Selecting previously unselected package libtalloc.
(Reading database ... 416 files and directories currently installed.)
Preparing to unpack .../0-libtalloc_2.1.14_aarch64.deb ...
Unpacking libtalloc (2.1.14) ...
Selecting previously unselected package libunistring.
Preparing to unpack .../1-libunistring_0.9.10_aarch64.deb ...
Unpacking libunistring (0.9.10) ...
Selecting previously unselected package libuuid.
Preparing to unpack .../2-libuuid_1.0.3-2_aarch64.deb ...
Unpacking libuuid (1.0.3-2) ...
Selecting previously unselected package pcre2.
Preparing to unpack .../3-pcre2_10.32_aarch64.deb ...
Unpacking pcre2 (10.32) ...
Selecting previously unselected package proot.
Preparing to unpack .../4-proot_5.1.107-18_aarch64.deb ...
Unpacking proot (5.1.107-18) ...
Selecting previously unselected package wget.
Preparing to unpack .../5-wget_1.20_aarch64.deb ...
Unpacking wget (1.20) ...
Setting up libtalloc (2.1.14) ...
Setting up libunistring (0.9.10) ...
Setting up pcre2 (10.32) ...
Setting up libuuid (1.0.3-2) ...
Setting up proot (5.1.107-18) ...
Setting up wget (1.20) ...
--2018-12-15 13:10:47--  https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Ubuntu/ubuntu.sh
Resolving raw.githubusercontent.com... 151.101.36.133
Connecting to raw.githubusercontent.com|151.101.36.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2091 (2.0K) [text/plain]
Saving to: ‘ubuntu.sh’

ubuntu.sh     100%   2.04K  --.-KB/s    in 0.001s

2018-12-15 13:10:48 (3.81 MB/s) - ‘ubuntu.sh’ saved [2091/2091]

Download Rootfs, this may take a while base on your internet speed.
--2018-12-15 13:10:48--  https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Rootfs/Ubuntu/arm64/ubuntu-rootfs-arm64.tar.gz
Resolving raw.githubusercontent.com... 151.101.36.133
Connecting to raw.githubusercontent.com|151.101.36.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 62995584 (60M) [application/octet-stream]
Saving to: ‘ubuntu-rootfs.tar.gz’

ubuntu-rootfs 100%  60.08M  7.69MB/s    in 10s

2018-12-15 13:10:59 (5.84 MB/s) - ‘ubuntu-rootfs.tar.gz’ saved [62995584/62995584]
root@localhost:~# wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh && bash de-apt-xfce4.sh
--2018-12-15 12:48:20--  https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...                                                  Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1299 (1.3K) [text/plain]
Saving to: ‘de-apt-xfce4.sh’

de-apt-xfce4. 100%   1.27K  --.-KB/s    in 0s

2018-12-15 12:48:20 (25.3 MB/s) - ‘de-apt-xfce4.sh’ saved [1299/1299]

E: setegid 65534 failed - setegid (38: Function not implemented)
E: setegid 0 failed - setegid (38: Function not implemented)
Reading package lists... Done
E: setegid 65534 failed - setegid (38: Function not implemented)
E: setegid 0 failed - setegid (38: Function not implemented)
E: Method gave invalid 400 URI Failure message: Failed to set new group ids - setresgid (38: Function not implemented)
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (112)
Reading package lists... Done
Building dependency tree... Done
E: Unable to locate package xfce4
E: Unable to locate package xfce4-terminal
E: Unable to locate package tightvncserver
--2018-12-15 12:48:22--  https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/xstartup
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 110 [text/plain]
Saving to: ‘/root/.vnc/xstartup’

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

2018-12-15 12:48:22 (1.31 MB/s) - ‘/root/.vnc/xstartup’ saved [110/110]

--2018-12-15 12:48:22--  https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/vncserver-start
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.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

2018-12-15 12:48:23 (2.22 MB/s) - ‘/usr/local/bin/vncserver-start’ saved [98/98]

--2018-12-15 12:48:23--  https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/vncserver-stop
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 54 [text/plain]
Saving to: ‘/usr/local/bin/vncserver-stop’

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

2018-12-15 12:48:23 (643 KB/s) - ‘/usr/local/bin/vncserver-stop’ saved [54/54]


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 Xfce4 Desktop Environment



Running vncserver-start



To Kill VNC Server just run vncserver-stop



/usr/local/bin/vncserver-start: line 4: vncserver: command not found

root@localhost:~#

Regards AR

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ErrorBot101commented, May 20, 2021

It’s work on my machine i am using (Kali Linux desktop environment downloaded with andronix and tightvnc)

**First open a new window and bash your start-kali.sh file after getting root@localhost: **

Run all command from below

$ gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6

$ gpg -a --export 7D8D0BF6 | apt-key add - $ apt-get update

$ apt-get install xfce4 $ apt-get install xfce4-terminal $ apt-get install tightvncserver

if you getting error user veriable not set try this

$ USER=root vncserver

and if you want to change your window size just type this

$ USER=root vncserver -geometry 1920x1080

(best for 5-6 inches phones and if you fit on your full screen maybe you got some laggy experience and dont forget to use costum dpi option under application/display apperance/fonts/costume dpi and increase it to 120-150

maybe it’s also work with ubuntu, arch Linux, Debian etc.

Thank you source: facebook post

1reaction
asepnopancommented, Feb 13, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

[Solved] "E: Unable to locate package" Error on Ubuntu
Let's see how to troubleshoot this issue one step at a time. 1. Check the package name (no, seriously). This should be the...
Read more >
Trying to install xfce4 on Ubuntu server 18.04.1 [duplicate]
E: unable to locate package xfce4. This seems to be the same for any files pertaining to xubuntu. I'm guessing there may be...
Read more >
Unable to locate package plexmediaserver. Here are the ...
... xfce4-terminal, tightvncserver) - ubuntu - setegid (38: Function not ... E: Unable to locate package git The command '/bin/sh -c apt-get install...
Read more >
Ubuntu package set for xfce on a vncserver session ...
I am hoping that some kind soul can suggest a set of Ubuntu packages to re/install to get up and running: I have...
Read more >
Ubuntu – Details of package xfce4-terminal in jammy
Debian Xfce Maintainers (Mail Archive); Yves-Alexis Perez. It should generally not be necessary for users to contact the original maintainer.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found