dylanaraps / neofetch

🖼️ A command-line system information tool written in bash 3.2+
MIT License
22.21k stars 1.67k forks source link

neofetch hangs in SSH connection unless 6 options on by default are disabled #2450

Open jjg8 opened 8 months ago

jjg8 commented 8 months ago

Description

When connected to my Ubuntu 22.04.4 LTS VM via SSH (PuTTY) terminal, neofetch hangs unless 6 options, which are enabled by default, are disabled in the config.conf file...

info "Resolution" resolution

info "DE" de

info "WM" wm

info "WM Theme" wm_theme

info "Theme" theme

info "Icons" icons

With all 6 of the above options enabled, It takes 406 seconds to fail and finally return to the other content.

Neofetch version

7.1.0

Screenshot

Before commenting out the 6 options... Snipaste_2024-03-06_17-47-21 After... Snipaste_2024-03-06_18-18-44

Config file

After commenting out the 6 options...

See this wiki page for more info:

https://github.com/dylanaraps/neofetch/wiki/Customizing-Info

print_info() { info title info underline

info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
info "Packages" packages
info "Shell" shell
#info "Resolution" resolution
#info "DE" de
#info "WM" wm
#info "WM Theme" wm_theme
#info "Theme" theme
#info "Icons" icons
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "GPU" gpu
info "Memory" memory

# info "GPU Driver" gpu_driver  # Linux/macOS only
# info "CPU Usage" cpu_usage
# info "Disk" disk
#info "Battery" battery
#info "Font" font
# info "Song" song
# [[ "$player" ]] && prin "Music Player" "$player"
info "Local IP" local_ip
info "Public IP" public_ip
# info "Users" users
info "Locale" locale  # This only works on glibc systems.

info cols

}

Verbose log

https://pastebin.com/raw/d1SPJcKm (good for 2 weeks)

  1. Run neofetch -vv 2> neofetchlog
  2. Upload the contents of neofetchlog to pastebin, gist or equivalent.