Page 1 of 1

SOLVED How to sudo QSI

Posted: Sun Jan 12, 2025 6:05 pm
by Be OK
I want to get the serial number but that need root/sudo so i dit " sudo quick-system-info-gui " that give " QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
error: XDG_RUNTIME_DIR is invalid or not set in the environment. "

Code: Select all

System:
  Kernel: 6.6.62+rpt-rpi-2712 arch: aarch64 bits: 64 compiler: gcc v: 12.2.0 parameters: reboot=w
    coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe cgroup_disable=memory
    numa_policy=interleave numa=fake=8 system_heap.max_order=0 smsc95xx.macaddr=D8:3A:DD:DD:DA:8D
    vc_mem.mem_base=0x3fc00000 vc_mem.mem_size=0x40000000 console=ttyAMA10,115200 console=tty1
    root=PARTUUID=4f3d088a-02 rootfstype=ext4 fsck.repair=yes splash rootwait quiet
    plymouth.ignore-serial-consoles cfg80211.ieee80211_regdom=NL
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.4_rpi_arm64 Libretto May 19  2024 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: ARM System: Raspberry Pi 5 Model B Rev 1.0 details: N/A rev: d04170 serial: <filter>
CPU:
  Info: model: N/A variant: cortex-a76 bits: 64 type: MCP arch: ARMv8 family: 8 model-id: 4
    stepping: 1
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 512 KiB desc: d-4x64 KiB; i-4x64 KiB
    L2: 2 MiB desc: 4x512 KiB L3: 2 MiB desc: 1x2 MiB
  Speed (MHz): avg: 2400 min/max: 1500/2400 scaling: driver: cpufreq-dt governor: ondemand cores:
    1: 2400 2: 2400 3: 2400 4: 2400 bogomips: 432
  Features: Use -f option to see features
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: __user pointer sanitization
  Type: spectre_v2 mitigation: CSV2, BHB
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: bcm2712-hdmi0 driver: vc4_hdmi v: N/A bus-ID: N/A chip-ID: brcm:107c701400
    class-ID: hdmi
  Device-2: bcm2712-hdmi1 driver: vc4_hdmi v: N/A bus-ID: N/A chip-ID: brcm:107c706400
    class-ID: hdmi
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev dri: vc4
    gpu: vc4-drm,vc4_crtc,vc4_dpi,vc4_dsi,vc4_firmware_kms,vc4_hdmi,vc4_hvs,vc4_txp,vc4_v3d,vc4_vec
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-2 mapped: HDMI-2 model: Samsung C27F390 serial: <filter> built: 2022
    res: 1920x1080 hz: 60 dpi: 82 gamma: 1.2 size: 598x336mm (23.54x13.23") diag: 686mm (27")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 3.1 Mesa 23.2.1-1~bpo12+rpt3 renderer: V3D 7.1 direct-render: Yes
Audio:
  Device-1: bcm2712-hdmi0 driver: vc4_hdmi bus-ID: N/A chip-ID: brcm:107c701400 class-ID: hdmi
  Device-2: bcm2712-hdmi1 driver: vc4_hdmi bus-ID: N/A chip-ID: brcm:107c706400 class-ID: hdmi
  API: ALSA v: k6.6.62+rpt-rpi-2712 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.2.4 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Raspberry Pi RP1 PCIe 2.0 South Bridge driver: rp1 v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 4 port: N/A bus-ID: 01:00.0 chip-ID: 1de4:0001 class-ID: 0200
  IF: wlan0 state: down mac: <filter>
  IF-ID-1: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Bluetooth:
  Device-1: bcm7271-uart driver: bcm7271_uart bus-ID: N/A chip-ID: brcm:107d50c000 class-ID: serial
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0 lmp-v: 5.0
    sub-v: 6119 hci-v: 5.0 rev: 17e
  Info: acl-mtu: 1021:8 sco-mtu: 64:1 link-policy: rswitch sniff link-mode: peripheral accept
    service-classes: rendering, capturing, object transfer, audio, telephony
  Device-2: bcm7271-uart driver: N/A bus-ID: N/A chip-ID: brcm:serial0 class-ID: serial
Drives:
  Local Storage: total: 931.51 GiB used: 95.75 GiB (10.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 type: USB vendor: Samsung model: PSSD T7 size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> scheme: MBR
Partition:
  ID-1: / raw-size: 931.01 GiB size: 916.3 GiB (98.42%) used: 95.68 GiB (10.4%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 200 MiB used: 0 KiB (0.0%) priority: -2 file: /var/swap
Sensors:
  System Temperatures: cpu: 52.6 C mobo: N/A
  Fan Speeds (RPM): cpu: 2564
Repos:
  Packages: pm: dpkg pkgs: 2175 libs: 1099 tools: apt,apt-get,aptitude,nala,synaptic
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
    3: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb [arch=arm64] http://mxrepo.com/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/raspi.list
    1: deb http://archive.raspberrypi.com/debian/ bookworm main
Info:
  Processes: 250 Uptime: 5h 44m Memory: 7.88 GiB used: 1.15 GiB (14.6%) gpu: 8 MiB Init: systemd
  v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)
So how ? I have no idea

Re: How to sudo QSI

Posted: Sun Jan 12, 2025 6:09 pm
by dolphin_oracle
Try.

Code: Select all

sudo quick-system-info-mx

Re: How to sudo QSI

Posted: Sun Jan 12, 2025 6:47 pm
by Be OK
Ok that worked thanks dolphin_oracle.