Brad_Pieeater
Posts: 5
Joined: Wed Jan 04, 2017 6:31 pm

Raspbian desktop control from Android phone

Wed Jan 04, 2017 6:48 pm

Hi Guys, this is the first post from a PI newbie and complete novice so apologies if I get terminology or detail wrong.

I received a PI3 for Christmas (lucky me) with SD card supplied. The Pi boots straight to Raspian desktop with no promt for password etc.
I've successfully installed and used Mobaxterm, Winscp and Remote desktop on my Windows 10 laptop to communicate with the Pi and so my Pi is now headless.

I've installed Kodi and created a desktop shortcut which (claims to) fix the "black screen on exit" issue.
I've installed Yatse on my Android phone to control Kodi.

All this has been very satisfying and I've had a lot of guidance from this and other forums.

The last thing I wish to do is to be able to launch Kodi from the Raspbian desktop shortcut via my android phone, but I haven't been able to find a way to do this. I tried to install the remote desktop RDP app to my android phone from google play store but when I tried to connect to the pi I get the 0xd06 error and haven't found a resolution, so at the moment I have to turn the Pi on in my living room, then connect and launch Kodi from my laptop (via remote desktop) then control Kodi from my phone. Ideally I just want to turn the Pi on, connect and see the pi desktop on my phone, launch Kodi from there and then use Yatse on my phone to control kodi (i.e. no need to use the laptop).
Any advice or assistance on how to achieve this is much appreciated.

PS I understand I could set up the Pi to auto start Kodi on bootup but for now I want to try to avoid this as I feel I may need android desktop access for other projects at some point.

User avatar
topguy
Posts: 6491
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Raspbian desktop control from Android phone

Thu Jan 05, 2017 12:53 pm

You havent been very specific about which protocol for remote-desktop you have set-up. MobaXterm support multiple ( X , RDP, VNC ) and I usually assumes that people use VNC.

Try a different app for android, there must be a few VNC client apps to choose from today.

Brad_Pieeater
Posts: 5
Joined: Wed Jan 04, 2017 6:31 pm

Re: Raspbian desktop control from Android phone

Thu Jan 05, 2017 1:44 pm

Apologies for not being specific enough, as I said I'm new to all this and have pretty much just followed advised on forums to get this far, without really knowing what I'm doing (although I feel I've learned quite a bit).
I installed xRDP on the pi and use this to connect from Mobaxterm (SSH).
Hope this helps.
Thanks

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Raspbian desktop control from Android phone

Thu Jan 05, 2017 1:50 pm

If you have an updated install of Raspbian with Pixel then RealVNC is installed by default.
You just need to enable VNC with the GUI config tool or sudo raspi-config
(Do NOT attempt to install xRDP or tightvncserver etc.)

Then on Android install the RealVNC app from the Play Store.

For Windows or MAC you need to install RealVNC from here. https://www.realvnc.com/download/vnc/windows/
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Brad_Pieeater
Posts: 5
Joined: Wed Jan 04, 2017 6:31 pm

Re: Raspbian desktop control from Android phone

Thu Jan 05, 2017 8:51 pm

Thanks for the response klricks,
you stated:
Do NOT attempt to install xRDP
but I'd already said in my earlier post that I had installed xRDP.

It appears that I am using Pixel on Raspbian (according to the splash screen on bootup) but VNC was greyed out on the "preferences > Raspberry pi configuration" screen and therefore I could neither enable or disable it.

After a bit of googling I tried

Code: Select all

sudo apt-get update
sudo apt-get upgrade
followed by a reboot, after which a message appeared to say that the pi had been upgraded to the latest version, however VNC enable / disable was still greyed out.

I then tried

Code: Select all

sudo apt-get update
sudo apt-get install realvnc-vnc-server
and then ran vnclicense from the terminal command line which returned VNC details suggesting that all was installed OK and now (hooray) I can enable VNC on the pi configuration screen.

I then installed RealVNC to my android phone from google play store, connected to the Pi and everything works perfectly, I can now launch Kodi via the Raspbian desktop icon from my phone.

Thanks for your assistance.



.

Return to “General discussion”