Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Junior Member
    Join Date
    Feb 2019
    Posts
    14

    VNC for piCoreplayer?

    I'm putting together a piCoreplayer system on a RPi 3B+ with the Pi 7 inch screen for my parents who live 500 miles away.

    I've got them set-up with VNC for remote support and this will let me use a browser for piCoreplayer and LMS control, but is there any way to see what's on the piCoreplayer screen? VNC or any other way to share the RPi screen?

    This would be great for when they pressed something and don't understand what happened.

    Frank

  2. #2
    Senior Member
    Join Date
    Sep 2005
    Posts
    2,831
    Afaik vnc and its derivates needs X-server and picore doesnt have a X Server.

  3. #3
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,134
    There are a couple framebuffer vncserver implementations based from https://github.com/ponty/framebuffer-vncserver which in turn is derived from the example file https://github.com/LibVNC/libvncserv...oidvncserver.c

    I have a working POC that allows navigating a picoreplay jivelite instance via the ipad vncviewer app, the keyboard interface still needs some changes to be able to use vnc at the linux console.....stay tuned.

    Name:  vnc.jpg
Views: 252
Size:  33.7 KB
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  4. #4
    Junior Member
    Join Date
    Feb 2019
    Posts
    14

    RE: VNC for piCorePlayer?

    Quote Originally Posted by ralphy View Post
    There are a couple framebuffer vncserver implementations based from https://github.com/ponty/framebuffer-vncserver which in turn is derived from the example file https://github.com/LibVNC/libvncserv...oidvncserver.c

    I have a working POC that allows navigating a picoreplay jivelite instance via the ipad vncviewer app, the keyboard interface still needs some changes to be able to use vnc at the linux console.....stay tuned.

    Name:  vnc.jpg
Views: 252
Size:  33.7 KB
    Ralphy,

    Wondering if you've made any progress with this? I could make use of seeing what's on the RPi monitor using VNCviewer and using mouse clicks if needed. Configuration work and input would be done via the web interface.

    Thanks.

    Frank

  5. #5
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,134
    The keyboard support still doesn't work very well but the touch and mouse inputs have been fine, however the mouse wheel can't be used with jivelite.

    On a wireless rpi3, not the 3+, the vncserver daemon uses only 10% cpu while displaying active VU meters on the iPad vncviewer client.

    Here are the client settings I use.

    Name:  set.jpg
Views: 151
Size:  36.8 KB

    Here is my current picoreplayer build you can try.

    SSH into pcp, download and install the extension.
    Code:
    ceo
    
    wget http://ralph-irving.users.sourceforge.net/pico/pcp-vncserver.tcz.md5.txt
    wget http://ralph-irving.users.sourceforge.net/pico/pcp-vncserver.tcz
    
    md5sum -c pcp-vncserver.tcz.md5.txt # verify the download was ok
    pcp-vncserver.tcz: OK
    
    tce-load -i pcp-vncserver # load the extension now
    pcp-vncserver.tcz: OK
    Enable loading the extension at boot.

    Code:
    ce
    
    echo "pcp-vncserver.tcz" >> onboot.lst
    Add to the User commands on the web gui tweaks page to start vncserver at boot.

    Code:
    /usr/local/sbin/framebuffer-vncserver.sh
    To start vncserver now, without a reboot

    Code:
    sudo -E -b /usr/local/sbin/framebuffer-vncserver.sh
    and the log file is located at /var/log/vncserver.log

    The source code is available on github.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  6. #6
    Junior Member
    Join Date
    Feb 2019
    Posts
    14

    RE: VNC for piCorePlayer?

    Here is my current picoreplayer build you can try.

    Ralphy,

    Fantastic, works like a charm! Provides enough visualization and control for some remote hand-holding for my parents.

    Many thanks.

    Frank

  7. #7
    This sounds like a neat thing: to have a remote for piCoreplayer out of the box. Any chance of making it easy to install in the next version of piCoreplayer (i.e. via the webui)?

  8. #8
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    Location
    London, England
    Posts
    1,316
    Quote Originally Posted by ralphy View Post
    The keyboard support still doesn't work very well but the touch and mouse inputs have been fine, however the mouse wheel can't be used with jivelite.

    On a wireless rpi3, not the 3+, the vncserver daemon uses only 10% cpu while displaying active VU meters on the iPad vncviewer client.

    Here are the client settings I use.

    Name:  set.jpg
Views: 151
Size:  36.8 KB

    Here is my current picoreplayer build you can try.

    SSH into pcp, download and install the extension.
    Code:
    ceo
    
    wget http://ralph-irving.users.sourceforge.net/pico/pcp-vncserver.tcz.md5.txt
    wget http://ralph-irving.users.sourceforge.net/pico/pcp-vncserver.tcz
    
    md5sum -c pcp-vncserver.tcz.md5.txt # verify the download was ok
    pcp-vncserver.tcz: OK
    
    tce-load -i pcp-vncserver # load the extension now
    pcp-vncserver.tcz: OK
    Enable loading the extension at boot.

    Code:
    ce
    
    echo "pcp-vncserver.tcz" >> onboot.lst
    Add to the User commands on the web gui tweaks page to start vncserver at boot.

    Code:
    /usr/local/sbin/framebuffer-vncserver.sh
    To start vncserver now, without a reboot

    Code:
    sudo -E -b /usr/local/sbin/framebuffer-vncserver.sh
    and the log file is located at /var/log/vncserver.log

    The source code is available on github.

    Thanks Ralphy works great !

    One feature request though, If no touchscreen is found allow navigation by keyboard ?

    Thanks again

    Jeff
    Players: SliMP3,Squeezebox3 x3,Receiver,SqueezeLite-X,PiCorePlayer x3
    Server: LMS Version: Latest Nightly on Centos 7.5 VM on ESXi 6.5.0U2 on Dell T320
    Plugins: AutoRescan/BBCiPlayer/PowerSave/PowerSwitchIII/Squeezecloud/Spotty/Player Groups
    Remotes: iPeng9/Orangesqueeze/PC/Jivelite/SqueezeLite-X
    Music: 522GB,1660 albums with 23087 songs by 5204 artists mostly FLACs

    Want a webapp ? See http://forums.slimdevices.com/showth...Webapp-for-LMS

  9. #9
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,134
    Quote Originally Posted by Jeff07971 View Post
    Thanks Ralphy works great !

    One feature request though, If no touchscreen is found allow navigation by keyboard ?

    Thanks again

    Jeff
    It's a command line option to enable but the startup script only checks for the official 7" screen so far.

    Navigation by keyboard does not work yet and you have to have a keyboard connected to pcp.

    ./framebuffer-vncserver [-f device] [-p port] [-t touchscreen] [-h]
    -p port: VNC port, default is 5900
    -f device: framebuffer device node, default is /dev/fb0
    -k device: keyboard device node, (example: /dev/input/event0)
    -t device: touchscreen device node (example:/dev/input/event2)
    -h : print this help
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

  10. #10
    Senior Member ralphy's Avatar
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    2,134
    Quote Originally Posted by rkrug View Post
    This sounds like a neat thing: to have a remote for piCoreplayer out of the box. Any chance of making it easy to install in the next version of piCoreplayer (i.e. via the webui)?
    If/when I get the keyboard interface working it will likely be added to the pcp extensions repository.
    Ralphy

    1-Touch, 5-Classics, 3-Booms, 1-UE Radio
    Squeezebox client builds donations always appreciated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •