Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail run de-apt-xfce4.sh #19

Closed
lawbyte opened this issue Jul 17, 2021 · 0 comments
Closed

Fail run de-apt-xfce4.sh #19

lawbyte opened this issue Jul 17, 2021 · 0 comments

Comments

@lawbyte
Copy link

lawbyte commented Jul 17, 2021

Screenshot_20210718-041141
Screenshot_20210718-041155
Screenshot_20210718-041202

`root@localhost:~# wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh && bash de-apt-xfce4.sh
--2021-07-17 21:08:50-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/de-apt-xfce4.sh Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.109.133, 185.199.110.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: 1336 (1.3K) [text/plain]
Saving to: ‘de-apt-xfce4.sh’
de-apt-xfce 0% 0 --.-KB/s de-apt-xfce 100% 1.30K --.-KB/s in 0s

2021-07-17 21:08:50 (4.65 MB/s) - ‘de-apt-xfce4.sh’ saved [1336/1336]

Get:1 http://mirror.fsmg.org.nz/kali kali-rolling InRelease [30.5 kB]
Err:1 http://mirror.fsmg.org.nz/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org
Reading package lists... Done
W: GPG error: http://mirror.fsmg.org.nz/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository devel@kali.org
E: The repository 'http://mirror.fsmg.org.nz/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
Reading state information... Done
E: Unable to locate package xfce4
E: Unable to locate package xfce4-terminal
E: Unable to locate package tightvncserver
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package xfe
--2021-07-17 21:08:58-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/xstartup
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: 47 [text/plain]
Saving to: ‘/root/.vnc/xstartup’

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

2021-07-17 21:08:58 (168 KB/s) - ‘/root/.vnc/xstartup’ saved [47/47]

--2021-07-17 21:08:58-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/vncserver-start
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: 98 [text/plain]
Saving to: ‘/usr/local/bin/vncserver-start’

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

2021-07-17 21:08:59 (459 KB/s) - ‘/usr/local/bin/vncserver-start’ saved [98/98]

--2021-07-17 21:08:59-- https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/DesktopEnvironment/Apt/Xfce4/vncserver-stop
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: 100 [text/plain]
Saving to: ‘/usr/local/bin/vncserver-stop’

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

2021-07-17 21:09:00 (333 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 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:# ls
de-apt-xfce4.sh
root@localhost:
#`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants