RandomCoderOrg/ubuntu-on-android

Feature Request: How to cast the linux screen to TV?

nitinjs opened this issue · 5 comments

How to miracast the linux screen?

Futuristic:

  1. TV as a remotely connected monitor via miracast
  2. Bluetooth/RF keyboard and mouse connected to the linux
1. android phone with linux as a CPU
2. BT/RF keyboard and mouse
3. TV as a monitor
4. Speakers? TV already has it

every android phone with Samsung dex but wireless, isn't it?
image

Nice Question @nitinjs

Never tested miracast with udroid
But I can say it needs some pretty good effort and hacks to get everything working


Hacks available for now without miracast

  • android phone with Linux as a CPU

it's proot anyway

  • BT/RF keyboard and mouse

can be achievable in vnc apps like ( avnc, NetHunter kex app and etc ), but no direct access from OS

  • TV as a monitor

achievable with vnc arg -localhost no which makes vnc to available to every device in the local network ( which make a smart TV that could run a vnc client one of em )

  • Speakers? TV already has it

Same, need termux with some special commands to transmit audio through the local network so that termux or any pulse audio receiver client installed inside smart tv could receive and play audio


I'll start testing miracast soon

for kb/mouse maybe this can be done

for kb/mouse maybe this can be done

I think usb over IP ( considering sending events directly to Linux ) just makes it more confusing cause there are two receivers ( Android & Linux )

image

VNC usually takes care of this job