Wont load up without a display

Hi,
I have setup SSH for garuda Mate and am using it as a docker/portainer/nextcloud/nginx server.
Probably a very bad choice of operating system for such a use case.
Garuda will not run headless and it simply doesnt come back online and i cant SSH into it without connecting it to my monitor and restarting and unplugging after it boots.

System:
  Kernel: 5.16.1-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=a54cddf2-d553-4562-88e7-0c226284c442
    rw [email protected] quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
    resume=UUID=1b6f368a-116b-497d-946a-76c94ec80a23 loglevel=3
  Console: pty pts/0 DM: LightDM 1.30.0 Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: B350 TOMAHAWK (MS-7A34) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 1.90 date: 09/19/2017
CPU:
  Info: model: AMD Ryzen 5 1600 bits: 64 type: MT MCP arch: Zen family: 0x17 (23) model-id: 1
    stepping: 1 microcode: 0x8001129
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 576 KiB
    desc: d-6x32 KiB; i-6x64 KiB L2: 3 MiB desc: 6x512 KiB L3: 16 MiB desc: 2x8 MiB
  Speed (MHz): avg: 1544 high: 2548 min/max: 1550/3200 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 2199 2: 2548 3: 1377 4: 1358 5: 1358 6: 1446
    7: 1374 8: 1372 9: 1376 10: 1374 11: 1377 12: 1377 bogomips: 76792
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full AMD retpoline, STIBP: disabled, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Gigabyte driver: nouveau v: kernel
    bus-ID: 23:00.0 chip-ID: 10de:1b81 class-ID: 0300
  Display: server: X.org 1.21.1.3 driver: loaded: nouveau unloaded: modesetting
    alternate: fbdev,nv,vesa tty: 187x75
  Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
  Device-1: NVIDIA GP104 High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel
    bus-ID: 23:00.1 chip-ID: 10de:10f0 class-ID: 0403
  Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    bus-ID: 25:00.3 chip-ID: 1022:1457 class-ID: 0403
  Sound Server-1: ALSA v: k5.16.1-zen1-1-zen running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: no
  Sound Server-4: PipeWire v: 0.3.43 running: no
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
    driver: r8169 v: kernel port: f000 bus-ID: 21:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp33s0 state: down mac: <filter>
  Device-2: Broadcom BCM4360 802.11ac Wireless Network Adapter vendor: ASUSTeK driver: wl
    v: kernel modules: bcma bus-ID: 22:00.0 chip-ID: 14e4:43a0 class-ID: 0280
  IF: wlp34s0 state: up mac: <filter>
  IF-ID-1: br-0df435e67c35 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
  IF-ID-2: br-df8d0fe7478e state: up speed: 10000 Mbps duplex: unknown mac: <filter>
  IF-ID-3: docker0 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
  IF-ID-4: veth40e7cb9 state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-5: vetha970cf3 state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-6: vethe8b99ca state: up speed: 10000 Mbps duplex: full mac: <filter>
  IF-ID-7: vethedc1da0 state: up speed: 10000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 6.6 TiB used: 14.97 GiB (0.2%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10EZEX-21WN4A0 size: 931.51 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 7200
    serial: <filter> rev: 1A01 scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST4000VN008-2DR166 size: 3.64 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5980
    serial: <filter> rev: SC60 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD20EZRZ-00Z5HB0 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400
    serial: <filter> rev: 0A80 scheme: GPT
  ID-4: /dev/sdd maj-min: 8:48 vendor: SanDisk model: SD8SN8U-256G-1006 size: 238.47 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter>
    rev: 0006 scheme: GPT
Partition:
  ID-1: / raw-size: 220.97 GiB size: 220.97 GiB (100.00%) used: 14.84 GiB (6.7%) fs: btrfs
    dev: /dev/sdd2 maj-min: 8:50
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 576 KiB (0.2%) fs: vfat
    dev: /dev/sdd1 maj-min: 8:49
  ID-3: /home raw-size: 220.97 GiB size: 220.97 GiB (100.00%) used: 14.84 GiB (6.7%) fs: btrfs
    dev: /dev/sdd2 maj-min: 8:50
  ID-4: /var/log raw-size: 220.97 GiB size: 220.97 GiB (100.00%) used: 14.84 GiB (6.7%)
    fs: btrfs dev: /dev/sdd2 maj-min: 8:50
  ID-5: /var/tmp raw-size: 220.97 GiB size: 220.97 GiB (100.00%) used: 14.84 GiB (6.7%)
    fs: btrfs dev: /dev/sdd2 maj-min: 8:50
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 17.2 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdd3
    maj-min: 8:51
  ID-2: swap-2 type: zram size: 15.64 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: nouveau temp: 40.0 C
  Fan Speeds (RPM): N/A gpu: nouveau fan: 1071
Info:
  Processes: 307 Uptime: 7m wakeups: 0 Memory: 15.64 GiB used: 1.14 GiB (7.3%) Init: systemd
  v: 250 tool: systemctl Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1194 lib: 310
  Shell: fish v: 3.3.1 default: Bash v: 5.1.16 running-in: pty pts/0 (SSH) inxi: 3.3.11

Any idea on how to get it running headless?

Hi there, welcome.
Maybe see if this can help you:
https://wiki.archlinux.org/title/Xorg#Monitor_settings
Anyway, consider that Garuda was not designed to be a headless distribution. It is strongly oriented to the optimization of graphics, gaming, etc...
But maybe someone will be able to help you better, of course.

4 Likes

Any idea on where to start is better then nothing i will look there. Thanks.

1 Like

Consider using bare arch. If you want specific garuda features, you can easily add the chaotic-aur repo and install them. That's the easiest way I can think of starting without a desktop environment.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.