From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3428F158086 for ; Tue, 9 Nov 2021 14:36:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3689C2BC0E3; Tue, 9 Nov 2021 14:36:35 +0000 (UTC) Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 05E112BC0DC for ; Tue, 9 Nov 2021 14:36:33 +0000 (UTC) Received: by mail-io1-xd2b.google.com with SMTP id w22so8744286ioa.1 for ; Tue, 09 Nov 2021 06:36:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=w/3G5FuA9Kqzbx7uSFCwK01sT4todxDjdAg1fzcfuZI=; b=es03/6ZL/yGvgRNjbiQoiojcbfRtEfeaelTf38J1aPZcaYZVApt/GR8a3ZKrM1j/2O paprTaRe0h/UyztB01/iVvTbK/4LLMEnhV8JM0zYpV4CJvVMHg4yKf11DEfUATkQ1xRr oujyMPAp3cJxaVO9UuEO6fgoD6s21D9ucLHejD/upTmvWziDO2OCtWuTYZpH0VCf8+bo g6LBnFQW/AD9lqnZBMDalquhiVfmsuA5HdYEuoe92DQ4YdQkff3oeMTju4i5GEF0EWq6 CqzZcDuP+1bnAVXPDwMAtU7VVg/qMNQ4LbRTxP252QOnZ28qUXunQulMRQc1mLeU9Wcj V9zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=w/3G5FuA9Kqzbx7uSFCwK01sT4todxDjdAg1fzcfuZI=; b=yrIEgAlCq12TX4U/SMgd7KOhDyx6ApLiFxNUkLBhW2l5WgwvononOOQ24w3HidnalQ /4Pq8gnFFhlKziWS0SF5g0YB5tKSiIOmQJ4+VZHh4XHS1hhHrNc+fkpRXWpHbh9JpcCL MJ0zG3bqPbDx6gAvslxwffci/IV+brN4EiNs4nSIIiHseeGePIgmhRVaY0G3tH5jEC+a WzA00Lxi2hkCgt/2RCgP9guS+JPFSpRzqqGuN7zTR34+0fLHGfqbHrA1cNosQjPRP7N0 tx6ECQ7j57ht1EFA5bAHEDZ6v1LhpD6UNDrEGPOEn7VwrBBjtp7PS6ZIQ4FvBGp4tgtn 9DMA== X-Gm-Message-State: AOAM5301qh+WtfRELSEzCmpyWXhRB+4+rnH8wZykkXk4+3JpDJZETly8 XfynhRtXjo9PiUYnVEicLdtGSVqpla4XI02KjTja344RB5tsXQ== X-Google-Smtp-Source: ABdhPJyv42iPWLlINCrNR2LVwHKKbTSbjony5/cB0yHk9+T968qVRlCEwL2ZEcDrffJtZJt1/6y+LrQSlfQf2ZmODYA= X-Received: by 2002:a5d:9ecc:: with SMTP id a12mr901837ioe.102.1636468592389; Tue, 09 Nov 2021 06:36:32 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: Mark Knecht Date: Tue, 9 Nov 2021 07:36:21 -0700 Message-ID: Subject: Re: [gentoo-user] Virtual Desktop with a Virtual Monitor? To: Gentoo User Content-Type: text/plain; charset="UTF-8" X-Archives-Salt: 682d4896-346e-4620-8115-7acc6b43df71 X-Archives-Hash: af748046831e88ff04a21c4a965c0397 On Mon, Nov 8, 2021 at 1:31 PM Laurence Perkins wrote: > > > > > -----Original Message----- > > From: Mark Knecht > > Sent: Monday, November 8, 2021 11:48 AM > > To: Gentoo User > > Subject: Re: [gentoo-user] Virtual Desktop with a Virtual Monitor? > > > > On Mon, Nov 8, 2021 at 12:23 PM Andreas Stiasny wrote: > > > > > > On 08.11.21 17:34, Mark Knecht wrote: > > > > In the case where the monitor is detached at boot two modules are > > > > not loaded - fuse & nvmem_rmem. Other than that the module list > > > > appears identical. > > > > > > > > > > At the moment I can't help you to solve this in software but there may > > > be a hardware solution. There are fake monitor plugs. This is just a > > > plug without a cable that makes the device think that there is a > > > monitor attached even if there isn't. Search for "HDMI dummy plug" or similar. > > > > > > > > > Andreas > > > > > > > Actually, if it works and I have little doubt it does, that's a great solution for my needs. I see Amazon has 1920x1080 plugs but also has virtual 4K plugs. All under $10. > > > > Thanks! > > > > Mark > > > > So, I don't use the PI variants with GUI or even with a monitor very often, but as I recall if the HDMI port isn't attached at boot it then disables it to save the video memory. > > If you then try to use one of the VNC servers that's designed to share the running X session, you'll find that there isn't a running X session. > > But what you should still be able to do is install the "vncserver" command to fire up an X server that isn't attached to the physical output, only the VNC. > You may need to configure it to also start your preferred display manager, etc depending on whether or not the distro you're running does that automatically for you. > > If you want to be able to plug in a monitor later though you'll probably need one of the dummy plugs to prevent the output from being switched off and ignored. > > LMP So I don't yet know how they do it but I purchased a copy of a product called StellarMate OS yesterday. https://stellarmate.com/ It's a Pi variant that is set up to control astrophotography equipment. It's able to run headless and has a web server that I can access from Chrome on my main Linux box. https://drive.google.com/file/d/1I6QYXay6rTy_-CDFQpsQBaSaiyOjNFDJ/view?usp=sharing Screen resolution drops from 1920x1080 with the monitor attached to 1600x900 headless, but other than that it appears to work fine. Interestingly the taskbar across the top isn't accessible, at least yet, but I can run anything I have an icon on the desktop. I'll be studying how they do this (although I think the headless monitor plug is probably the easiest solution) so if someone (Wol?) wants to work offline, get in touch. Cheers, Mark