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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 71621158086 for ; Sun, 7 Nov 2021 22:31:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B1CD2BC070; Sun, 7 Nov 2021 22:31:44 +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 1EEB1E094F for ; Sun, 7 Nov 2021 22:31:43 +0000 (UTC) Received: by mail-io1-xd2b.google.com with SMTP id c3so3493539iob.6 for ; Sun, 07 Nov 2021 14:31:42 -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=jRizpuAyPBEgjYAZRUxLjMPiRIkIyo7vnYl0JSUv720=; b=BsbceUor/wrqHuirqK7a1F1a/P7Gl2M1KRSvVEcKRIwUVvdENBEwvPBmpupjKJe/pK viQRCviVAMl8/9RPiH8Y0GXUNfJGzoog6Ez7nzvo2jP19jfZYVcjTp3B3UnSS1hRhTz/ 1zXm/5SV29rcF8qZla2D4mx+i4Sp1QeApqD5Y0i+68mVPlDe+nB/SGVkACQPlN4kw9cH Cg8PPlQT4+6mAbDlKH41yHd6FpRk7lmEM4DVudB2miE4ZR7UoCV+NlDqmsmRP0jrDr01 jQRZJIbMnxg8MYFl8oOXxjMTLNuLqaknKQT3+OvX4/7Cly5Y2KLMiQ4+UtTUKKSNS+5e EoBQ== 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=jRizpuAyPBEgjYAZRUxLjMPiRIkIyo7vnYl0JSUv720=; b=i77W6EdrUGq2oSQgrYPiCPE7k9bMRl3S+8rwvWfUSXmZDpio1VB8AUmkziJaCGIDw+ 4eNCGKgEswbraEFF1FHF04Yo8DeH6FsP5/UAcS0pwNxqSTDgGJqRTx4bnZ61ZFaqmlwP 2tFL3XqMQPoIMNBMera6pCvJX4jANvKAT9PI5yzsCWU7IcrINvFxKBcZpuIYEk/jTDuJ dVLyl87KdvzPKh2BKRh+nfZK1X8h2vE/eaFE4KofIKuHGQublxHDga+kgEQ/rYQsNBzw a1Gs+rOT9z4pxyst8+bPExPOArNWQzcZnjiaD/sZkH1RN8IY40zcpk/XTur1dcyT8UJh KPkQ== X-Gm-Message-State: AOAM530/j8tK8uQvq6/Z4ZWRLywmque2QnhixX2wbENX/LxibnWkGtYR A+VRiahMxHq+0aancflQYVnCPC+66B/UfxpbPgz8ge7zYEc= X-Google-Smtp-Source: ABdhPJx07+3IxlNL2eE/bLUCVWbhVf2fwoHhm06xJri5XQvlvIBeIVgYzADKfphVyVLHbBO4LilfvOtbz+1Ai9frXFk= X-Received: by 2002:a6b:f706:: with SMTP id k6mr9442622iog.155.1636324301766; Sun, 07 Nov 2021 14:31:41 -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: Sun, 7 Nov 2021 15:31:30 -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: 9b57c04b-aacc-49ee-828d-d9602a486f72 X-Archives-Hash: ec150833cf4d8a91b6be520b02d87766 On Sun, Nov 7, 2021 at 2:04 PM Wol 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