Remote desktop, video playback issues
#11
(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.
  Reply
#12
(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."
  Reply
#13
(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
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Synchronizing: How do you sync / synchronize Calendar and Contacts with your desktop? Anna 12 825 04-22-2021, 02:42 AM
Last Post: Anna
  Issues with Mobian 20210314 (data and updates) IMSAI8080 5 1,223 03-20-2021, 04:14 AM
Last Post: IMSAI8080
  Desktop Entry icon not appearing: how to diagnose? Saliency 6 794 03-15-2021, 05:49 AM
Last Post: kqlnut
  File transfer from Linux Desktop and PinePhone livanti21 18 11,212 03-09-2021, 08:15 PM
Last Post: MtnSk8
  Mobian Issues Csanderson0313 13 1,697 03-02-2021, 04:57 AM
Last Post: Gribouille
  DKPG name for Video mmd604 2 346 02-11-2021, 08:34 AM
Last Post: mmd604
  Mobian other Desktop Environments rico 39 15,903 11-12-2020, 08:34 PM
Last Post: Lousy Fisherman
Lightbulb Video Tut: Set Up SSH Access To Your Own Pinephone .onion (security enhancement) RTP 0 628 10-24-2020, 01:10 AM
Last Post: RTP
  Telegram Desktop background canaac 0 539 10-01-2020, 04:15 PM
Last Post: canaac
  Video output scale after update 14/07/2020 antiX-Dave 3 1,435 07-16-2020, 04:32 AM
Last Post: a-wai

Forum Jump:


Users browsing this thread: 1 Guest(s)