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
  desktop and lockscreen biketool 1 207 10-04-2024, 04:17 AM
Last Post: vusra
  Has anyone got briar-desktop running on mobian? vusra 5 3,850 06-19-2023, 03:02 PM
Last Post: vusra
  Modem Firmware Upgrade - Modem Busy - USB Issues biketool 10 6,262 09-23-2022, 05:15 AM
Last Post: biketool
  Sending Pinephone SMS from Desktop biketool 5 3,891 09-13-2022, 01:46 PM
Last Post: anonymous
  Lot of issues after flashing mobian to emmc with tow-boot benedikt55 5 3,531 08-30-2022, 01:14 PM
Last Post: benedikt55
  Telegram not as desktop app user641 0 1,008 08-05-2022, 08:45 AM
Last Post: user641
  Hardware VIdeo Acceleration on Mobian biketool 3 3,079 06-21-2022, 01:01 PM
Last Post: biketool
  Working video players? jojuma 10 5,842 06-10-2022, 01:13 AM
Last Post: as365n4
  Anyone tried Signal Desktop ragreenburg 20 17,394 05-23-2022, 04:41 AM
Last Post: Anna
  gpsd issues io. 5 3,709 05-07-2022, 03:31 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 1 Guest(s)