1 |
On Sun, Nov 7, 2021 at 2:04 PM Wol <antlists@××××××××××××.uk> wrote: |
2 |
> |
3 |
> On 07/11/2021 20:39, Mark Knecht wrote: |
4 |
> > Hi, |
5 |
> > I've been playing with a Raspberry Pi 4 as a utility divice for a |
6 |
> > couple of purposes - a backup server for here at home as well as an |
7 |
> > astrophotography manager to run my camera and mount. So far everything |
8 |
> > is fine when I have a monitor attached. I can ssh in and run X apps, |
9 |
> > and I can run the VNC client and control the desktop. |
10 |
> > |
11 |
> > What I find, however, is that when I boot the RP4 without the |
12 |
> > monitor attached, which I would be doing most all the time, I lose the |
13 |
> > desktop functionality through VNC. I can still ssh X apps, and both |
14 |
> > xdpyinfo and xrandr still say the X resolution is 1920 x 1280, but |
15 |
> > there doesn't appear to be a real desktop for VNC to latch onto. |
16 |
> > |
17 |
> > I get that this must be possible as essentially VirtualBox is able |
18 |
> > to do this. I wonder if there's a way for mere mortals to do something |
19 |
> > similar? |
20 |
> > |
21 |
> I'm guessing the reason there isn't a virtual desktop is because |
22 |
> nobody's logged in AT THE PI and started one! |
23 |
> |
24 |
> Just start Xorg over ssh, or plasma-wayland, or whatever. Sorry I don't |
25 |
> (yet) know how to do it, I need to find out because I want to do exactly |
26 |
> the same :-) |
27 |
> |
28 |
> Cheers, |
29 |
> Wol |
30 |
> |
31 |
|
32 |
Wol, |
33 |
Yeah, you may be right, although it wasn't what I was thinking. If |
34 |
I start Xorg over ssh then it's running there but visible here. Then I |
35 |
need to do some sort of disconnect, leaving it running so X apps can |
36 |
go on working. |
37 |
|
38 |
If it was like a true 'virtual monitor' then in my mind it's |
39 |
running there, not getting displayed on a physical screen, and I |
40 |
connect to it like it was a real monitor but it would just be a VNC |
41 |
connection and not some sort of way of leaving X11 hanging, or so I |
42 |
thought. |
43 |
|
44 |
I did find this which is more or less what you're suggesting: |
45 |
|
46 |
https://unix.stackexchange.com/questions/327532/how-to-remotely-log-in-with-full-graphical-desktop-over-x11 |
47 |
|
48 |
Turns out the RP4 OS is doing something different than Ubuntu |
49 |
running on the RP4. In the case of the RP OS VNC connects but tells me |
50 |
it cannot display the desktop at this time. In the case of Ubuntu |
51 |
running on the RP4 VNC just doesn't connect. |
52 |
|
53 |
If I find a solution I'll check back in. Possibly someone else has |
54 |
some ideas and we'll get a response in the next few days. |
55 |
|
56 |
Mark |