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
#14
Thanks for documenting this.  I got it working on a OnePlus 6T running Mobian.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Hardware VIdeo Acceleration on Mobian biketool 3 456 06-21-2022, 01:01 PM
Last Post: biketool
  Working video players? jojuma 10 486 06-10-2022, 01:13 AM
Last Post: as365n4
  Anyone tried Signal Desktop ragreenburg 20 5,112 05-23-2022, 04:41 AM
Last Post: Anna
  gpsd issues io. 5 653 05-07-2022, 03:31 AM
Last Post: wibble
  Issues with Mobian? Start here. tophneal 0 361 04-21-2022, 11:27 AM
Last Post: tophneal
  Software update missing on desktop MikeMan 1 403 01-27-2022, 06:10 AM
Last Post: bcnaz
  Changing Desktop Environments? Ferriah 14 2,377 01-20-2022, 06:58 AM
Last Post: grump_fiddle_reinstall
  Has anyone got briar-desktop running on mobian? vusra 0 341 01-17-2022, 01:49 AM
Last Post: vusra
  Synchronizing: How do you sync / synchronize Calendar and Contacts with your desktop? Anna 15 7,551 11-04-2021, 03:54 AM
Last Post: Maus
  Anyone find a work around for the brightness issues from kernels 5.13/14? ragreenburg 2 1,109 09-01-2021, 08:49 AM
Last Post: ragreenburg

Forum Jump:


Users browsing this thread: 1 Guest(s)