![]() |
Screen share vnc/rdp/x11 ? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120) +--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127) +--- Thread: Screen share vnc/rdp/x11 ? (/showthread.php?tid=12195) |
Screen share vnc/rdp/x11 ? - mingodad - 11-17-2020 For development would be nice if we could have a screen share setup for the PinePhone. I've got a mine with Manjaro and I'm struggling to find a way to share the PinePhone screen/imput to my linux desktop, I've tried to find vnc/xrdp through the package manager but no luck. Does someone managed to have a good setup for screen/input sharing ? RE: Screen share vnc/rdp/x11 ? - dallytaur - 11-18-2020 Hmm not got my phone yet but I've got something you could try not the best at the command line tho Code: ssh -R 6000:localhost:6001 <ip of phone>[/font][/size][/color] Then if you run firefox or any X program it should show up locally I should warn this code is untested and not sure if should use -L or -R If you host is windows you need to install https://sourceforge.net/projects/xming/ RE: Screen share vnc/rdp/x11 ? - mingodad - 11-19-2020 (11-18-2020, 04:14 AM)dallytaur Wrote: Hmm not got my phone yet but I've got something you could try not the best at the command line thoThank you for reply but no luck with this ! After search for a while I found that the xauth was missing but even after install it and initialize .Xauthority I can not connect: ==== ssh -v -X manjaro@10.42.0.223 ... Welcome to Manjaro-ARM ~~Website: https://manjaro.org ~~Forum: https://forum.manjaro.org/c/arm ~~Matrix: #manjaro-arm-public:matrix.org Last login: Thu Nov 19 12:15:05 2020 from 10.42.0.1 debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384 debug1: client_request_x11: request from ::1 55516 debug1: channel 1: new [x11] debug1: confirm x11 debug1: channel 1: FORCE input drain debug1: channel 1: free: x11, nchannels 2 Connection failure: Connection refused pa_context_connect() failed: Connection refused debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384 debug1: client_request_x11: request from ::1 55518 debug1: channel 1: new [x11] debug1: confirm x11 debug1: channel 1: FORCE input drain debug1: channel 1: free: x11, nchannels 2 Connection failure: Connection refused pa_context_connect() failed: Connection refused ==== RE: Screen share vnc/rdp/x11 ? - dallytaur - 11-19-2020 (11-19-2020, 06:28 AM)mingodad Wrote:(11-18-2020, 04:14 AM)dallytaur Wrote: Hmm not got my phone yet but I've got something you could try not the best at the command line thoThank you for reply but no luck with this ! this way above what i know but you don't need to mess xserver as the Xserver is running on your PC and your just telling firefox on the phone to connect to the server on your PC and not the one on your phone RE: Screen share vnc/rdp/x11 ? - mingodad - 11-20-2020 I tested again with only "ssh -X manjaro@xx.xx.x.xxx" and I can run fltk test programs (I compiled fltk-1.4) but any other preinstalled programs like "firefox" open on the phone screen instead on my desktop. I also installed tigervnc and can connect but only got a black screen so far. RE: Screen share vnc/rdp/x11 ? - wibble - 11-20-2020 It's using Wayland not X, so forwarding X only works with applications that are using X by default. For the ones that can start with either display you may be able to coerce them into using X by setting an environment variable or two, but what you set depends on the toolkit the application is using, for example: GDK_BACKEND=x11 firefox I think for Qt it would be QT_QPA_PLATFORM=xcb but there may be something else too. I've not looked into it for other toolkits. For desktop sharing you probably need something like gnome-remote-desktop - assuming it's compatible with phosh. |