KittyKatt / screenFetch

Fetches system/theme information in terminal for Linux desktop screenshots.
GNU General Public License v3.0
3.86k stars 455 forks source link

realpath: /proc/xxxx/exec: permission denied #790

Open OrchidLuna opened 4 months ago

OrchidLuna commented 4 months ago

I'm submitting a ... (check one with "x")

[X] bug report
[ ] new distro request

Bug report When running screenfetch directly from SSH (with ssh user@instance "screenfetch -n"), shell line is empty as expected but I got realpath: /proc/8271/exe: Permission denied above the screenfetch output. => search Github for a similar issue or PR before submitting => download the latest revision from Github and check if the bug is still present -> https://github.com/KittyKatt/screenFetch/raw/master/screenfetch-dev

=> Show us the output of: screenfetch -v
:: Finding distro...found as 'Debian 12'
:: Finding hostname and user...found as 'admin@ip-172-31-11-20'
:: Finding kernel version...found as 'x86_64 Linux 6.1.0-21-cloud-amd64'
:: Finding current uptime...found as '1d 23h 21m'
:: Finding current package count...found as '355'
:: Finding current shell...found as 'bash 5.2.15'
:: Finding current resolution(s)...found as 'No X Server'
:: Finding desktop environment...found as 'Not Present'
:: Finding window manager...found as 'Not Found'
:: Finding window manager theme...found as 'Not Found'
:: Finding GTK2 theme...found as 'Not Found'
:: Finding GTK3 theme...found as 'Not Found'
:: Finding icon theme...found as 'Not Found'
:: Finding user font...found as 'Not Found'
:: Finding current CPU...found as 'Intel Xeon Platinum 8259CL @ 2x 2.5GHz'
:: Finding current disk usage...found as '1.3G / 8.3G (16%%)'
:: Finding current GPU...found as 'Not Found'
:: Finding current RAM usage...found as '258MiB / 949MiB'
         _,met$$$$$gg.           admin@ip-172-31-11-20
      ,g$$$$$$$$$$$$$$$P.        OS: Debian 12 bookworm
    ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 6.1.0-21-cloud-amd64
   ,$$P'              `$$$.      Uptime: 1d 23h 21m
  ',$$P       ,ggs.     `$$b:    Packages: 355
  `d$$'     ,$P"'   .    $$$     Shell: bash 5.2.15
   $$P      d$'     ,    $$P     Disk: 1.3G / 8.3G (16%)
   $$:      $$.   -    ,d$$'     CPU: Intel Xeon Platinum 8259CL @ 2x 2.5GHz
   $$\;      Y$b._   _,d$P'      RAM: 258MiB / 949MiB
   Y$$.    `.`"Y$$$$P"'
   `$$b      "-.__
    `Y$$
     `Y$$.
       `$$b.
         `Y$$b.
            `"Y$b._
                `""""

Show us the output of

 => lsb_release -sirc
No LSB modules are available.
Debian
12
bookworm
 => cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
 => ls -1 /etc/*-release
/etc/cloud-release
/etc/os-release