11-19-2020, 06:54 AM
(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 !
Code:ssh -R 6000:localhost:6001 <ip of phone>[/font][/size][/color]
export DISPLAY=localhost:1.0
firefox.exe
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/
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
====
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
owo notices your distro.