• Annoying - "Headless" Linux Box - No HDMI = No Pretending DesktopExists

    From c186282@c186282@nnada.net to comp.os.linux.misc on Fri Nov 27 02:41:59 2026
    From Newsgroup: comp.os.linux.misc

    Linix seem to be becoming TOO 'smart'.

    MX ... now have a headless box. The prob is
    that since it can't detect a HDMI monitor
    it doesn't do all the shit we'd expect.
    No 'desktop' and associated init scripts.

    This means stuff in .bashrc and such does
    not run, that stuff in 'autostart' for XFCE
    doesn't run.

    Amazon does sell a number of HDMI 'emulators',
    plug-in thingies so yer box will THINK there's
    a real monitor connected - and everything will
    run properly. Fortunately they're CHEAP. You
    can buy multi-paks.

    Looks like I need to buy now .....

    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From jayjwa@jayjwa@atr2.ath.cx.invalid to comp.os.linux.misc on Fri Nov 27 10:23:46 2026
    From Newsgroup: comp.os.linux.misc

    c186282 <c186282@nnada.net> writes:

    MX ... now have a headless box. The prob is
    that since it can't detect a HDMI monitor
    it doesn't do all the shit we'd expect.
    No 'desktop' and associated init scripts.

    This means stuff in .bashrc and such does
    not run, that stuff in 'autostart' for XFCE
    doesn't run.

    Shell init should run when the shell runs regardless or are you saying
    you can't even run a shell on it? I have plenty of systems that are
    headless with no graphics devices and their shell inits or equivalents
    run.
    --
    PGP Key ID: 781C A3E2 C6ED 70A6 B356 7AF5 B510 542E D460 5CAE
    "The Internet should always be the Wild West!"
    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From Robert Heller@heller@deepsoft.com to comp.os.linux.misc on Fri Nov 27 15:37:48 2026
    From Newsgroup: comp.os.linux.misc

    At Fri, 27 Nov 2026 10:23:46 -0500 jayjwa <jayjwa@atr2.ath.cx.invalid> wrote:

    c186282 <c186282@nnada.net> writes:

    MX ... now have a headless box. The prob is
    that since it can't detect a HDMI monitor
    it doesn't do all the shit we'd expect.
    No 'desktop' and associated init scripts.

    This means stuff in .bashrc and such does
    not run, that stuff in 'autostart' for XFCE
    doesn't run.

    Shell init should run when the shell runs regardless or are you saying
    you can't even run a shell on it? I have plenty of systems that are
    headless with no graphics devices and their shell inits or equivalents
    run.
    Things can "break" if the OP's .bashrc file does something that expects a desktop. Which would simply be operator error...
    And of course, without a desktop environment, GUI autostart is not going to happen. What did the OP expect? If he wants deamons to start at boot, etc., that is a job for systemd, not a GUI autostart.
    --
    Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
    Deepwoods Software -- Custom Software Services
    http://www.deepsoft.com/ -- Linux Administration Services
    heller@deepsoft.com -- Webhosting Services
    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From The Natural Philosopher@tnp@invalid.invalid to comp.os.linux.misc on Fri Nov 27 18:38:14 2026
    From Newsgroup: comp.os.linux.misc

    On 27/11/2026 15:23, jayjwa wrote:
    c186282 <c186282@nnada.net> writes:

    MX ... now have a headless box. The prob is
    that since it can't detect a HDMI monitor
    it doesn't do all the shit we'd expect.
    No 'desktop' and associated init scripts.

    This means stuff in .bashrc and such does
    not run, that stuff in 'autostart' for XFCE
    doesn't run.

    Shell init should run when the shell runs regardless or are you saying
    you can't even run a shell on it? I have plenty of systems that are
    headless with no graphics devices and their shell inits or equivalents
    run.

    He has set up stuff in his GUI user area but of course with no GUI he
    never logs in.
    So it never runs.

    Should be using systemd services to run daemons and suchlike, or IIRC
    there is a cron entry that runs once on startup? yep. uses the @reboot
    command in crontab
    --
    It is the folly of too many to mistake the echo of a London coffee-house
    for the voice of the kingdom.

    Jonathan Swift


    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From Lawrence =?iso-8859-13?q?D=FFOliveiro?=@ldo@nz.invalid to comp.os.linux.misc on Fri Nov 27 20:47:08 2026
    From Newsgroup: comp.os.linux.misc

    On Fri, 27 Nov 2026 15:37:48 -0000 (UTC), Robert Heller wrote:

    If he wants deamons to start at boot, etc., that is a job for
    systemd, not a GUI autostart.

    Note that systemd is also commonly used for GUI autostart as well.
    It can handle per-user services, not just systemwide ones.
    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.os.linux.misc on Fri Nov 27 22:47:51 2026
    From Newsgroup: comp.os.linux.misc

    On 11/27/26 10:23, jayjwa wrote:
    c186282 <c186282@nnada.net> writes:

    MX ... now have a headless box. The prob is
    that since it can't detect a HDMI monitor
    it doesn't do all the shit we'd expect.
    No 'desktop' and associated init scripts.

    This means stuff in .bashrc and such does
    not run, that stuff in 'autostart' for XFCE
    doesn't run.

    Shell init should run when the shell runs regardless or are you saying
    you can't even run a shell on it? I have plenty of systems that are
    headless with no graphics devices and their shell inits or equivalents
    run.

    This is THE latest update of kernel 6.something.

    (In MX the systemd-enabled/advanced-hardware choice
    uses a 7.something kernel instead)

    The issue MIGHT be fixed on the next batch of
    updates. Wasn't a problem before.

    However apparently this is not an entirely new
    issue - Amazon sells several kinds of 'HDMI
    emulator' dongles to TRICK your PC/device into
    thinking there's a monitor attached.

    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.os.linux.misc on Fri Nov 27 22:59:50 2026
    From Newsgroup: comp.os.linux.misc

    On 11/27/26 10:37, Robert Heller wrote:
    At Fri, 27 Nov 2026 10:23:46 -0500 jayjwa <jayjwa@atr2.ath.cx.invalid> wrote:


    c186282 <c186282@nnada.net> writes:

    MX ... now have a headless box. The prob is
    that since it can't detect a HDMI monitor
    it doesn't do all the shit we'd expect.
    No 'desktop' and associated init scripts.

    This means stuff in .bashrc and such does
    not run, that stuff in 'autostart' for XFCE
    doesn't run.

    Shell init should run when the shell runs regardless or are you saying
    you can't even run a shell on it? I have plenty of systems that are
    headless with no graphics devices and their shell inits or equivalents
    run.

    Things can "break" if the OP's .bashrc file does something that expects a desktop. Which would simply be operator error...

    Yea, but WHAT 'something' ? Looks like an
    ordinary .bashrc to me.

    Anyway, this is the very latest update, might
    get fixed in a few weeks.

    And of course, without a desktop environment, GUI autostart is not going to happen. What did the OP expect? If he wants deamons to start at boot, etc., that is a job for systemd, not a GUI autostart.

    Tried putting some stuff in .bashrc which SHOULD run
    properly on auto-login, DID until now. Oddly I can
    SSH into the unit and THEN that stuff runs properly.

    Found 'HDMI emulators' on Amazon, 3-packs even. Apparently
    this is not a completely novel issue for PCs/devices.

    Something very early in the level-5 startup is checking
    for monitor modes, and, when it can't FIND one ...

    --- Synchronet 3.21e-Linux NewsLink 1.2
  • From c186282@c186282@nnada.net to comp.os.linux.misc on Fri Nov 27 23:03:08 2026
    From Newsgroup: comp.os.linux.misc

    On 11/27/26 15:47, Lawrence D’Oliveiro wrote:
    On Fri, 27 Nov 2026 15:37:48 -0000 (UTC), Robert Heller wrote:

    If he wants deamons to start at boot, etc., that is a job for
    systemd, not a GUI autostart.

    Note that systemd is also commonly used for GUI autostart as well.
    It can handle per-user services, not just systemwide ones.

    Actually want LOCAL "daemons"/apps for this box.

    Issue will probably be fixed on the next updates.

    Meanwhile I'll order a pack of 'hdmi emulators'
    in case of similar future issues.

    Also, what this Beelink is doing NOW, really
    COULD be done with a Pi-5. Do have one stashed
    somewhere .... weekend fun .........

    --- Synchronet 3.21e-Linux NewsLink 1.2