PINE64
Remote desktop, video playback issues - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Remote desktop, video playback issues (/showthread.php?tid=12352)

Pages: 1 2


RE: Remote desktop, video playback issues - moodroid - 05-07-2021

(05-07-2021, 08:41 AM)Zebulon Walton Wrote: I just booted up on a mobian SD card for test purposes and built wayvnc from source using the script from the link I posted above. It works!

A few notes...
Excellent work, thanks. Will be trying this out at the weekend.


RE: Remote desktop, video playback issues - Zebulon Walton - 05-07-2021

(05-07-2021, 11:17 AM)moodroid Wrote: Excellent work, thanks. Will be trying this out at the weekend.

Thanks, though obviously most of the work was done by the person who came up with the installation script! It really does work pretty seamlessly. Since it appears not to make any changes to the system aside from installing a few dependencies I decided to go ahead and build it on my main eMMC Mobian installation. Took less time to build running on the eMMC and works fine. The only issue I ran into at first is I have a firewall and forgot to add permission for incoming port 5900 from my LAN subnet. Once I did that it worked great.

Additionally I added a couple of scripts to make it easy to run and kill wayvnc from the terminal. The command "vnc" starts it in the background with nohup so you can close the terminal window after it starts. The command "kvnc" kills off wayvnc. The scripts are placed in /usr/local/bin. (These could probably be abbreviated to something like "v" and "kv" to make it super-easy to type using the Pinephone screen keyboard. Eventually I'll make screen icons to start and kill off wayvnc.)

vnc:
Code:
#!/bin/sh
# cd to /tmp so nohup.out is written there
cd /tmp
# start wayvnc with nohup, in the background
echo "Starting wayvnc..."
nohup /usr/local/bin/wayvnc 0.0.0.0 5900 &
sleep 1
# tell user to close terminal
echo "You can now close the terminal."

kvnc:
Code:
#!/bin/sh
echo "Killing wayvnc..."
# Send signal for normal exit to wayvnc process
# and rm the nohup file
killall -15 wayvnc
sleep 1
rm /tmp/nohup.out
echo "Done. You can now close the terminal."



RE: Remote desktop, video playback issues - moodroid - 05-08-2021

(05-07-2021, 12:12 PM)Zebulon Walton Wrote:
(05-07-2021, 11:17 AM)moodroid Wrote: Excellent work, thanks. Will be trying this out at the weekend.

Thanks, though obviously most of the work was done by the person who came up with the installation script! It really does work pretty seamlessly. Since it appears not to make any changes to the system aside from installing a few dependencies I decided to go ahead and build it on my main eMMC Mobian installation. Took less time to build running on the eMMC and works fine. The only issue I ran into at first is I have a firewall and forgot to add permission for incoming port 5900 from my LAN subnet. Once I did that it worked great.
Woohoo. Got it working. Many thanks for the scripts and documentation Big Grin


RE: Remote desktop, video playback issues - aus - 06-17-2021

Thanks for documenting this.  I got it working on a OnePlus 6T running Mobian.