ThePorgs / Exegol-images

Docker images of the Exegol project
https://exegol.readthedocs.io/
GNU General Public License v3.0
89 stars 69 forks source link

[BUG] Remmina is not install #391

Closed VincentSan closed 3 weeks ago

VincentSan commented 1 month ago

Describe the bug

Hi ! 👋 The tool remmina is not install on nightly.

Steps To Reproduce

  1. Run remmina and command not found.
  2. Run locate remmina CleanShot 2024-10-03 at 01 49 40@2x

Exegol Wrapper Version

[*] Exegol is currently in version v4.3.6
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[D] Pip installation: On ✔                                                                                                                                         
[D] Git source installation: Off 🪓                                                                                                                                
[D] Host OS: Mac (Docker desktop)                                                                                                                                  
[D] Arch: arm64                                                                                                                                                    
[D] Docker desktop: On ✔                                                                                                                                           
[D] Shell type: Mac                                                                                                                                                
[D] Last wrapper update check: 02/10/2024

Exegol container information

[*] Exegol is currently in version v4.3.6
[*] Exegol Discord serv.: https://discord.gg/cXThyp7D6P
[*] Exegol documentation: https://exegol.rtfd.io/
[V] Listing user configurations                                                                                                                                    

🧠 User configurations                                    
┌────────────────────────────────────────────────────────┐
│ User config file: /Users/fuko/.exegol/config.yml       │
│ Private workspace: /Users/fuko/.exegol/workspaces      │
│ Exegol resources: /Users/fuko/.exegol/exegol-resources │
│ My resources: /Users/fuko/.exegol/my-resources         │
│ Auto-check updates: On ✔                               │
│ Auto-remove images: On ✔                               │
│ Auto-update fs: Off 🪓                                 │
│ Default start shell: zsh                               │
│ Shell logging method: asciinema                        │
│ Shell logging compression: On ✔                        │
│ Desktop enabled by default: Off 🪓                     │
│ Desktop default protocol: http                         │
│ Desktop default host: localhost                        │
└────────────────────────────────────────────────────────┘

[V] Listing git repositories                                                                                                                                       
[!] Exegol has not been installed via git clone. Skipping wrapper auto-update operation.                                                                           
[*] If you have installed Exegol with pip, check for an update with the command pip3 install exegol --upgrade                                                      
[!] Exegol has not been installed via git clone. Skipping wrapper auto-update operation.                                                                           
[*] If you have installed Exegol with pip, check for an update with the command pip3 install exegol --upgrade                                                      

🐙 Project modules                            
┌───────────┬───────────────┬────────────────┐
│ Name      │ Status        │ Current branch │
├───────────┼───────────────┼────────────────┤
│ Wrapper   │ Not installed │ ? 🤷           │
│ Images    │ Not installed │ ? 🤷           │
│ Resources │ Up to date    │ main           │
└───────────┴───────────────┴────────────────┘

⭐ Container summary                                                                                                                           
┌──────────────────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│             Name │ htb (Running)                                                                                                            │
│            Image │ nightly - v.5dd2693e (Up to date) (arm64)                                                                                │
├──────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│      Credentials │ root : xxxxxxxxxxx                                                                                    │
│   Remote Desktop │ http://localhost:61264                                                                                                   │
│    Creation date │ 03/10/2024 01:48                                                                                                         │
│      Console GUI │ On ✔ (X11)                                                                                                               │
│          Network │ bridge with VPN                                                                                                          │
│         Timezone │ On ✔                                                                                                                     │
│ Exegol resources │ On ✔ (/opt/resources)                                                                                                    │
│     My resources │ On ✔ (/opt/my-resources)                                                                                                 │
│    Shell logging │ Off 🪓                                                                                                                   │
│              VPN │ xxx.ovpn                                                                                                 │
│       Privileged │ Off ✔                                                                                                                    │
│     Capabilities │ NET_ADMIN                                                                                                                │
│        Workspace │ Dedicated (/workspace)                                                                                                   │
│          Devices │ /dev/net/tun:/dev/net/tun:rwm                                                                                            │
│             Envs │ DISPLAY=host.docker.internal:0                                                                                           │
│                  │ _JAVA_AWT_WM_NONREPARENTING=1                                                                                            │
│                  │ QT_X11_NO_MITSHM=1                                                                                                       │
│                  │ _JAVA_OPTIONS=-Dsun.java2d.xrender=false                                                                                 │
│                  │ TZ=Europe/Paris                                                                                                          │
│                  │ TARGET=xxxx                                                                                                      │
│                  │ URL=xxxx                                                                                                           │
│                  │ EXEGOL_DESKTOP_PROTO=http                                                                                                │
│                  │ EXEGOL_USERNAME=root                                                                                                     │
│                  │ EXEGOL_DESKTOP_PORT=6080                                                                                                 │
│                  │ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin                                                        │
│            Ports │ 127.0.0.1:61264 ➡ 6080/tcp                                                                                               │
│          Volumes │ (RO) /Users/fuko/.local/pipx/venvs/exegol/lib/python3.12/site-packages/exegol/utils/imgsync/spawn.sh ➡ /.exegol/spawn.sh │
│                  │ (RO) /Users/fuko/Downloads/competitive_FukoSan.ovpn ➡ /.exegol/vpn/config/client.ovpn                                    │
│                  │ (RW) /Users/fuko/.exegol/my-resources ➡ /opt/my-resources                                                                │
│                  │ (RW) /Users/fuko/.exegol/exegol-resources ➡ /opt/resources                                                               │
│                  │ (RW) /Users/fuko/.exegol/workspaces/htb ➡ /workspace                                                                     │
│         Systctls │ net.ipv6.conf.all.disable_ipv6 = 0                                                                                       │
└──────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

Exception

zsh: command not found: remmina

Additional context

[EXEGOL] This log file is the result of the execution of the official and personal customization script
[EXEGOL] [03-10-2024_01-48-48] ==== Loading custom setups (/.exegol/load_supported_setups.sh) ====
[EXEGOL] Initialization
[EXEGOL] Checking environment variables
EXEGOL_USERNAME=root
HOSTNAME=exegol-htb
PWD=/workspace
TZ=Europe/Paris
EXEGOL_DESKTOP_PORT=6080
EXEGOL_DESKTOP_PROTO=http
HOME=/root
_JAVA_AWT_WM_NONREPARENTING=1
URL=xxxxx
TERM=xterm-256color
DISPLAY=host.docker.internal:0
SHLVL=2
PATH=/root/.nvm/versions/node/v22.9.0/bin:/root/.asdf/shims:/root/.asdf/bin:/root/.pyenv/shims:/root/.pyenv/bin:/root/.local/bin:/opt/tools/john/run:/opt/tools/bin:/usr/local/rvm/gems/ruby-3.2.2/bin:/usr/local/rvm/gems/ruby-3.2.2@global/bin:/usr/local/rvm/rubies/ruby-3.2.2/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/rvm/bin:/opt/my-resources/bin:/root/.dotnet:/root/.dotnet/tools:/opt/tools/fzf/bin
_JAVA_OPTIONS=-Dsun.java2d.xrender=false
QT_X11_NO_MITSHM=1
TARGET=xxxxx
_=/usr/bin/env
LOGNAME=root
OLDPWD=/workspace
rvm_prefix=/usr/local
rvm_path=/usr/local/rvm
rvm_bin_path=/usr/local/rvm/bin
rvm_version=1.29.12-next (master)
GEM_HOME=/usr/local/rvm/gems/ruby-3.2.2
GEM_PATH=/usr/local/rvm/gems/ruby-3.2.2:/usr/local/rvm/gems/ruby-3.2.2@global
MY_RUBY_HOME=/usr/local/rvm/rubies/ruby-3.2.2
IRBRC=/usr/local/rvm/rubies/ruby-3.2.2/.irbrc
RUBY_VERSION=ruby-3.2.2
GO111MODULE=auto
JOHN=/opt/tools/john/run
LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
LANGUAGE=en_US:en
PYENV_ROOT=/root/.pyenv
PYENV_SHELL=zsh
DOTNET_ROOT=/root/.dotnet
ZSH=/root/.oh-my-zsh
FZF_BASE=/opt/tools/fzf
ASDF_DIR=/root/.asdf
GOPATH=/root/.asdf/installs/golang/1.22.2/packages
PAGER=less
LESS=-R
LSCOLORS=Gxfxcxdxbxegedabagacad
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=00:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.avif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*~=00;90:*#=00;90:*.bak=00;90:*.old=00;90:*.orig=00;90:*.part=00;90:*.rej=00;90:*.swp=00;90:*.tmp=00;90:*.dpkg-dist=00;90:*.dpkg-old=00;90:*.ucf-dist=00;90:*.ucf-new=00;90:*.ucf-old=00;90:*.rpmnew=00;90:*.rpmorig=00;90:*.rpmsave=00;90:
ZSH_TMUX_TERM=screen
ZSH_TMUX_CONFIG=/root/.tmux.conf
_ZSH_TMUX_FIXED_CONFIG=/root/.oh-my-zsh/plugins/tmux/tmux.extra.conf
NVM_DIR=/root/.nvm
NVM_CD_FLAGS=-q
NVM_BIN=/root/.nvm/versions/node/v22.9.0/bin
NVM_INC=/root/.nvm/versions/node/v22.9.0/include/node
HISTFILESIZE=1000000000
HISTSIZE=1000000000
HISTTIMEFORMAT=[%F %T] 
RED=\033[1;31m
BLUE=\033[1;34m
GREEN=\033[1;32m
NOCOLOR=\033[0m
[EXEGOL] Deploying /opt/my-resources
[EXEGOL] Copying README.md to /opt/my-resources
[EXEGOL] Deploying zsh
[EXEGOL] Deploying tmux
[EXEGOL] Deploying vim
[EXEGOL] Deploying nvim
[EXEGOL] Deploying APT packages
[EXEGOL] No APT package to install.
[EXEGOL] Deploying python3 packages
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[EXEGOL] Deploying Firefox Add-Ons
[-] No addons were found in the list /opt/my-resources/setup/firefox/addons.txt.

[-] No addons were found in the folder /opt/my-resources/setup/firefox/addons.  

[-] No addons were found.                                                       
[EXEGOL] Deploying BloodHound
[EXEGOL] Deploying BloodHound User Config
[EXEGOL] Merging User Custom Queries for BloodHound, and overwriting Exegol Custom Queries
[EXEGOL] Merging User Custom Queries with Exegol Custom Queries for BloodHound
[EXEGOL] Trusting user CA certificates in Firefox
[EXEGOL] Executing user setup
[EXEGOL] [03-10-2024_01-48-50] ==== Loading user setup (/opt/my-resources/setup/load_user_setup.sh) ====
[EXEGOL] Installing my-resources user's defined custom setup ...
[EXEGOL] [03-10-2024_01-48-50] ==== End of custom setups loading ====

Anything else?

No response

ShutdownRepo commented 1 month ago

Hmm, indeed it's missing but it's not an issue per se. Just that the tool is not in Exegol yet. Why do you think it should be added?

VincentSan commented 1 month ago

A few months ago, he was present on Exegol. He is particularly useful for RDP connection from my container.

QU35T-code commented 1 month ago

Weird, remmina should be installed : https://github.com/ThePorgs/Exegol-images/blob/dev/sources/install/package_network.sh#L76

We will check.

QU35T-code commented 1 month ago

I've found the problem: we don't call the install_remmina function.

VincentSan commented 1 month ago

Can I call this function after docker running ?

QU35T-code commented 1 month ago

No, you can't. You can actually paste this script into your container and install it while we fix it.

apt update
apt install -y remmina remmina-plugin-rdp remmina-plugin-secret
echo "rdp_use_client_keymap=1" >> /root/.config/remmina/remmina.pref
remmina --help