Gentoo Archives: gentoo-user

From: Laurence Perkins <lperkins@×××××××.net>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: RE: [gentoo-user] Virtual Desktop with a Virtual Monitor?
Date: Mon, 08 Nov 2021 20:31:08
Message-Id: MW2PR07MB405871482103EFBB85C06BF4D2919@MW2PR07MB4058.namprd07.prod.outlook.com
In Reply to: Re: [gentoo-user] Virtual Desktop with a Virtual Monitor? by Mark Knecht
1 > -----Original Message-----
2 > From: Mark Knecht <markknecht@×××××.com>
3 > Sent: Monday, November 8, 2021 11:48 AM
4 > To: Gentoo User <gentoo-user@l.g.o>
5 > Subject: Re: [gentoo-user] Virtual Desktop with a Virtual Monitor?
6 >
7 > On Mon, Nov 8, 2021 at 12:23 PM Andreas Stiasny <gentoo@××××××××××××××××××.at> wrote:
8 > >
9 > > On 08.11.21 17:34, Mark Knecht wrote:
10 > > > In the case where the monitor is detached at boot two modules are
11 > > > not loaded - fuse & nvmem_rmem. Other than that the module list
12 > > > appears identical.
13 > > >
14 > >
15 > > At the moment I can't help you to solve this in software but there may
16 > > be a hardware solution. There are fake monitor plugs. This is just a
17 > > plug without a cable that makes the device think that there is a
18 > > monitor attached even if there isn't. Search for "HDMI dummy plug" or similar.
19 > >
20 > >
21 > > Andreas
22 > >
23 >
24 > 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.
25 >
26 > Thanks!
27 >
28 > Mark
29 >
30
31 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.
32
33 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.
34
35 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.
36 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.
37
38 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.
39
40 LMP

Replies

Subject Author
Re: [gentoo-user] Virtual Desktop with a Virtual Monitor? Mark Knecht <markknecht@×××××.com>