X11 Forwarding mobian
#11
This worked fine for me. I followed the directions above to create a new .Xauthority file, then created a function in ~/.bashrc like this:

```
function send() {
GDK_BACKEND=x11 $1
}
```

And restarted bash with `. ~/.bashrc' . Now, I can log into my phone with ssh -X mobian@mobian and if I run, for example, `gedit`, it'll open on my phone. But if I run `send gedit` it'll open on my desktop. Cool!
  Reply
#12
(01-15-2021, 03:08 PM)3x5co Wrote: This worked fine for me. I followed the directions above to create a new .Xauthority file, then created a function in ~/.bashrc like this:

```
function send() {
  GDK_BACKEND=x11 $1
}
```

And restarted bash with `. ~/.bashrc' . Now, I can log into my phone with ssh -X mobian@mobian and if I run, for example, `gedit`, it'll open on my phone. But if I run `send gedit` it'll open on my desktop. Cool!

That is pretty cool, tried it and it works! It does takes forever to come up, but it's not all that much worse than using X forwarding from a regular desktop PC. (The X wire protocol is a real pig.)

What would be really nice is a way to share the Pinephone screen with something like VNC. I've found there is a program called "WayVNC" for Wayland but it doesn't seem to be in the Debian/Mobian repositories yet. It seems to be in a fairly early stage of development, so maybe some time in the future it will be included.

https://www.phoronix.com/scan.php?page=n...3-Released
  Reply
#13
Can I propose a different means to GUI forwarding? :-). (actually 2).

The first one is by using the broadway backend (the following on the phone):

Code:
sudo apt install libgtk-3-bin
broadwayd&
GDK_BACKEND=broadway gedit
And then connect to http://pinephone:8080 with a webbrowser. Tada, gedit runs in your webbrowser on whatever computer your browser runs :-).

The second solution is by using waypipe which forwards a wayland connection and enables a kind of -X11 forwarding experience using wayland. I tried it and it worked for me. https://social.librem.one/interact/105666613468202272 (it runs through a ssh connections)
  Reply
#14
Cool, thank, will have to give those a try! Still looking for a way to share out the entire screen as with x11vnc and similar programs for X11. So far all I've found is wayvnc which as far as I can tell is not currently supported on Debian.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine phone Community Edition Mobian For Sale Luckyslayer 0 125 05-25-2021, 02:09 PM
Last Post: Luckyslayer
  Can't get Mobian on PinePhone to recognise USB-C docking bar duncan_bayne 2 337 05-11-2021, 05:39 AM
Last Post: Avatars
  Cellular Data, Mobian - "No WWAN Adapter Found" justneedsomedatathanks 2 303 05-03-2021, 03:08 PM
Last Post: awaittrot
  ? vpn or tor for mobian rvh 2 301 04-23-2021, 07:25 PM
Last Post: MtnSk8
  copy/past/ firefox/mobian rvh 2 324 04-22-2021, 06:25 AM
Last Post: rvh
  fix camera, mobian rvh 3 565 03-20-2021, 03:51 PM
Last Post: rvh
  Pinephone Mobian CE Convergence for sale UK arseny1991 2 587 03-15-2021, 07:17 AM
Last Post: arseny1991
  Mobian Pinephone already out of stock richieeee 18 3,390 03-11-2021, 03:20 AM
Last Post: arseny1991
  Mobian PIN changed after update! Mwo87 20 2,800 03-04-2021, 08:38 AM
Last Post: mdkierum
  No ability to cancel out of Applications in Both KDE Plasma AND Mobian Basic 10 1,308 03-02-2021, 05:20 AM
Last Post: Basic

Forum Jump:


Users browsing this thread: 1 Guest(s)