From: Mark Knecht <markknecht@gmail.com>
To: Gentoo User <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] Virtual Desktop with a Virtual Monitor?
Date: Sun, 7 Nov 2021 15:31:30 -0700 [thread overview]
Message-ID: <CAK2H+edF7PAv_6WMmVCAGdt7fiO7zZbNcgS14o4=BdMPUXeA5w@mail.gmail.com> (raw)
In-Reply-To: <b7792151-e803-169c-c7fb-25427b8b919e@youngman.org.uk>
On Sun, Nov 7, 2021 at 2:04 PM Wol <antlists@youngman.org.uk> wrote:
>
> On 07/11/2021 20:39, Mark Knecht wrote:
> > Hi,
> > I've been playing with a Raspberry Pi 4 as a utility divice for a
> > couple of purposes - a backup server for here at home as well as an
> > astrophotography manager to run my camera and mount. So far everything
> > is fine when I have a monitor attached. I can ssh in and run X apps,
> > and I can run the VNC client and control the desktop.
> >
> > What I find, however, is that when I boot the RP4 without the
> > monitor attached, which I would be doing most all the time, I lose the
> > desktop functionality through VNC. I can still ssh X apps, and both
> > xdpyinfo and xrandr still say the X resolution is 1920 x 1280, but
> > there doesn't appear to be a real desktop for VNC to latch onto.
> >
> > I get that this must be possible as essentially VirtualBox is able
> > to do this. I wonder if there's a way for mere mortals to do something
> > similar?
> >
> I'm guessing the reason there isn't a virtual desktop is because
> nobody's logged in AT THE PI and started one!
>
> Just start Xorg over ssh, or plasma-wayland, or whatever. Sorry I don't
> (yet) know how to do it, I need to find out because I want to do exactly
> the same :-)
>
> Cheers,
> Wol
>
Wol,
Yeah, you may be right, although it wasn't what I was thinking. If
I start Xorg over ssh then it's running there but visible here. Then I
need to do some sort of disconnect, leaving it running so X apps can
go on working.
If it was like a true 'virtual monitor' then in my mind it's
running there, not getting displayed on a physical screen, and I
connect to it like it was a real monitor but it would just be a VNC
connection and not some sort of way of leaving X11 hanging, or so I
thought.
I did find this which is more or less what you're suggesting:
https://unix.stackexchange.com/questions/327532/how-to-remotely-log-in-with-full-graphical-desktop-over-x11
Turns out the RP4 OS is doing something different than Ubuntu
running on the RP4. In the case of the RP OS VNC connects but tells me
it cannot display the desktop at this time. In the case of Ubuntu
running on the RP4 VNC just doesn't connect.
If I find a solution I'll check back in. Possibly someone else has
some ideas and we'll get a response in the next few days.
Mark
next prev parent reply other threads:[~2021-11-07 22:31 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-07 20:39 [gentoo-user] Virtual Desktop with a Virtual Monitor? Mark Knecht
2021-11-07 21:03 ` Wol
2021-11-07 22:31 ` Mark Knecht [this message]
2021-11-08 16:34 ` Mark Knecht
2021-11-08 19:22 ` Andreas Stiasny
2021-11-08 19:48 ` Mark Knecht
2021-11-08 20:30 ` Laurence Perkins
2021-11-09 14:36 ` Mark Knecht
2021-11-07 22:33 ` Neil Bothwick
2021-11-07 23:06 ` Mark Knecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAK2H+edF7PAv_6WMmVCAGdt7fiO7zZbNcgS14o4=BdMPUXeA5w@mail.gmail.com' \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox