PINE64
Phosh remote desktop - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=177)
+--- Forum: General Discussion of PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=178)
+--- Thread: Phosh remote desktop (/showthread.php?tid=17272)



Phosh remote desktop - Barugon - 09-02-2022

Anyone know how to get desktop sharing working on Phosh? Currently, I'm using Manjaro but I could easily switch to another distro if it's easier to get it working.

Specifically, I want to create a new session with a full desktop, not share the phone screen.


RE: Phosh remote desktop - uzanto - 09-03-2022

You can try wayvnc, I made it work on Android, with Alpine and Phos

Install wayvnc on the PPP then:

export XDG_RUNTIME_DIR=/tmp

export WLR_BACKENDS=headless

phoc -E '/usr/libexec/phosh -U' &

wayvnc

After this you should connect from another device using a vnc viewer to your PPP

This is more o less how I did it on Android I'm not sure if something should be different on your case.


RE: Phosh remote desktop - Barugon - 09-03-2022

(09-03-2022, 04:14 AM)uzanto Wrote: You can try wayvnc, I made it work on Android, with Alpine and Phos

Install wayvnc on the PPP then:

export XDG_RUNTIME_DIR=/tmp

export WLR_BACKENDS=headless

phoc -E '/usr/libexec/phosh -U' &

wayvnc

After this you should connect from another device using a vnc viewer to your PPP

This is more o less how I did it on Android I'm not sure if something should be different on your case.

Thanks, I'll give it a try.


RE: Phosh remote desktop - Barugon - 09-05-2022

The wayvnc instructions are pretty thin. Is it possible to setup a second screen that's more desktop oriented (landscape, 1x scale) instead of repeating the phone display?


RE: Phosh remote desktop - uzanto - 09-06-2022

(09-05-2022, 02:39 PM)Barugon Wrote: The wayvnc instructions are pretty thin. Is it possible to setup a second screen that's more desktop oriented (landscape, 1x scale) instead of repeating the phone display?

Not sure, in /etc/phosh/phoc.ini you can chande headless mide resolution, give it a go and see what happens.


RE: Phosh remote desktop - Barugon - 09-06-2022

(09-06-2022, 06:29 AM)uzanto Wrote: Not sure, in /etc/phosh/phoc.ini you can chande headless mide resolution, give it a go and see what happens.

The best I could accomplish was a black screen.