Go Back   Android Forums > Android Discussion > Android Applications
Android Applications All the information you could ever want about Android Applications. Learn about apps and get help with them... all here! New apps can be found and announced in the Applications Announcements forum linked below.

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

Like Tree1Likes
  • 1 Post By hstroph

test: Reply
 
LinkBack Thread Tools
Old January 23rd, 2013, 11:08 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default how to use my android tablet to control my macmini

hi

i bought a Xperia sony tablet
i would like to control my macmini with it... (with my wifi)
how can i do that?

thanks

juliette

JujuFr is offline  
Last edited by JujuFr; January 23rd, 2013 at 11:17 AM.
Reply With Quote
sponsored links
Old January 23rd, 2013, 11:20 AM   #2 (permalink)
Senior Member
 
Crashdamage's Avatar
 
Join Date: Feb 2011
Location: Kansas City, Mo.
Posts: 2,309
 
Device(s): Started with the original G1, currently Nexus 4, Nexus 7, Nexus 5
Carrier: T-Mobile USA

Thanks: 1,678
Thanked 523 Times in 439 Posts
Default Re: how to use my android tablet to control my macmini

VNC

Linux user #266351. Android since v1.0
__________________
Registered Linux user #266531 since 2001. Android user since v1.0.
Crashdamage is offline  
Reply With Quote
Old January 23rd, 2013, 11:56 AM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default i tried VNC already

Hi

i tried VNC already :
i used the standard setup from my mac (server)
i have installed android VNC, but think i had some issue with the "port" settings...
(my ip is fine)
error message : VNC connection failed! failed to connect to localhost/192.168.1.67 (port 5800): connect failed: ECONNREFUSED (Connection refused)
JujuFr is offline  
Reply With Quote
Old January 23rd, 2013, 02:07 PM   #4 (permalink)
Senior Member
 
Crashdamage's Avatar
 
Join Date: Feb 2011
Location: Kansas City, Mo.
Posts: 2,309
 
Device(s): Started with the original G1, currently Nexus 4, Nexus 7, Nexus 5
Carrier: T-Mobile USA

Thanks: 1,678
Thanked 523 Times in 439 Posts
Default Re: how to use my android tablet to control my macmini

Check the port forwarding on your router. Make sure the default VNC port 5900 is available.

VNC setup is normally very simple. Check the VNC website for help.

Linux user #266351. Android since v1.0
Crashdamage is offline  
Reply With Quote
Old January 23rd, 2013, 03:18 PM   #5 (permalink)
Senior Member
 
hstroph's Avatar
 
Join Date: Oct 2012
Posts: 580
 
Device(s): Nexus 4, rooted Android 4.4
Carrier: net10 MVNO w/ T-Mobile SIM

Thanks: 20
Thanked 77 Times in 63 Posts
Default

Quote:
Originally Posted by JujuFr View Post
i tried VNC already :
i used the standard setup from my mac (server)
...
Did you verify that VNCserver is running on the mac, and that firewall and router are configured to allow it on the ports it uses?
hstroph is offline  
Reply With Quote
Old January 23rd, 2013, 07:02 PM   #6 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

how can i check that?
JujuFr is offline  
Reply With Quote
Old January 24th, 2013, 02:15 AM   #7 (permalink)
Member
 
Join Date: Nov 2012
Posts: 103
 
Device(s):
Carrier: Samsung Galaxy S3

Thanks: 0
Thanked 9 Times in 9 Posts
Default

Gmote 2.0
lynnwilliam is offline  
Reply With Quote
Old January 24th, 2013, 04:53 AM   #8 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

i think vnc server is running as i can access to the mac mini screen via my macbook (with share screen apple functionality)
JujuFr is offline  
Reply With Quote
Old January 24th, 2013, 09:23 AM   #9 (permalink)
Senior Member
 
Crashdamage's Avatar
 
Join Date: Feb 2011
Location: Kansas City, Mo.
Posts: 2,309
 
Device(s): Started with the original G1, currently Nexus 4, Nexus 7, Nexus 5
Carrier: T-Mobile USA

Thanks: 1,678
Thanked 523 Times in 439 Posts
Default Re: how to use my android tablet to control my macmini

Quote:
Originally Posted by JujuFr View Post
Hmi think vnc server is running as i can access to the mac mini screen via my macbook (with share screen apple functionality)
That's a different program, built into Mac OS.

Just go to the VNC website. There's easy to follow instructions and trouble shooting tips there. For setup of the router see the manual.

Linux user #266351. Android since v1.0
Crashdamage is offline  
Reply With Quote
Old January 24th, 2013, 12:46 PM   #10 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default i spent my whole day on it... still does not work

Hi

i already tried myself by reading and trying everyting i found on internet

it does nor work... i just want to access to my mac mini with my android tablet with my wifi (i do not need to have access from the internet...)

this is what i have done
- updated my rooter by adding the permission for VNC for port 5900, attaching this to my mac mini and/or my android... (i do not know which one need to be on the rooter... the serveur or the client?)
- checking the port on my mac (apparently port 5900 is open)
- trying to use internal ip adresse or external ip adresse of my mac mini (on the vnc client)

it does not work, i still have this message :
when using port 5800 : VNC connection failed! failed to connect to localhost/192.168.1.67 (port 5800): connect failed: ECONNREFUSED (Connection refused)
when using port 5900 : VNC connection failed! Null

any idea?

juliette
JujuFr is offline  
Last edited by JujuFr; January 24th, 2013 at 01:00 PM.
Reply With Quote
sponsored links
Old January 24th, 2013, 01:15 PM   #11 (permalink)
Senior Member
 
Crashdamage's Avatar
 
Join Date: Feb 2011
Location: Kansas City, Mo.
Posts: 2,309
 
Device(s): Started with the original G1, currently Nexus 4, Nexus 7, Nexus 5
Carrier: T-Mobile USA

Thanks: 1,678
Thanked 523 Times in 439 Posts
Default Re: how to use my android tablet to control my macmini

You were correct in adding VNC on port 5900.

The MacMini will be the server. It can be connected to the router by either wire or WiFi. Make sure the VNC server is running on the Mac. It should be running as a service.

You must determine the IP address of the MacMini to connect. For Windows the command is 'ipconfig' for Linux it's 'ifconfig'. I don't know what the command is for a Mac but it should be easy to find. It will be a number something like 192.168.1.101.

On the tablet in VNC, enter the MacMini's address as 192.168.1.101:5900 (or whatever the actual IP is). Be ready with your WiFi password.

Again, the VNC website should be helpful.

Linux user #266351. Android since v1.0
Crashdamage is offline  
Last edited by Crashdamage; January 24th, 2013 at 01:21 PM.
Reply With Quote
Old January 24th, 2013, 01:59 PM   #12 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default agreed , but it is still does not work

Hi

I have done that already :
ipconfig on my mac (that s why i am sure of my ip)

i still have the sae error...
JujuFr is offline  
Reply With Quote
Old January 24th, 2013, 03:53 PM   #13 (permalink)
Senior Member
 
hstroph's Avatar
 
Join Date: Oct 2012
Posts: 580
 
Device(s): Nexus 4, rooted Android 4.4
Carrier: net10 MVNO w/ T-Mobile SIM

Thanks: 20
Thanked 77 Times in 63 Posts
Default

Quote:
Originally Posted by JujuFr View Post
how can i check that?
Can you open a command-line window on the mac?

ps auxw | grep -i vnc

... if indeed the OS is Unix-like as I've heard. There are probably gui-based ways to get the same info, but I'm not familiar with them.
hstroph is offline  
Reply With Quote
Old January 24th, 2013, 04:30 PM   #14 (permalink)
Senior Member
 
hstroph's Avatar
 
Join Date: Oct 2012
Posts: 580
 
Device(s): Nexus 4, rooted Android 4.4
Carrier: net10 MVNO w/ T-Mobile SIM

Thanks: 20
Thanked 77 Times in 63 Posts
Default

Quote:
Originally Posted by JujuFr View Post
... ipconfig on my mac (that s why i am sure of my ip) ...
All right, it sounds like you have a command-line window, so let's start at the most fundamental level of network diagnostics. Please post your results so that we can see what you're seeing. "It doesn't work" won't qualify as an adequate response for being able to provide further help.

You want to know the IP address and netmask of your tablet and the mac. Are they even on the same network segment? If so, then from the mac, "ping" the IP of the tablet. If you have success, then (optionally) "ping" the mac IP from the tablet if you have such rooted tools installed (e.g. Better Terminal Emulator Pro with BusyBox Pro). You may need to "su -" on either end to enable the necessary socket connections and path needed to "ping".

Once you've verified that the machines can "see" and communicate with each other, it's time to see what ports are open on the mac that the tablet can see, so install NetAudit on the tablet and scan ports on the mac, from 1 to 7000 or so. This will provide some very useful information in general (especially if one has the patience to scan from 1 to 65535) but we're looking to see what ports the vnc server is actually listening on, which depends on the way you configured the vnc server.

Once you can see those open vnc server ports, then make sure the client viewer you're using is addressing the correct port.
hstroph is offline  
Last edited by hstroph; January 24th, 2013 at 04:44 PM.
Reply With Quote
The Following User Says Thank You to hstroph For This Useful Post:
Crashdamage (January 24th, 2013)
Old January 24th, 2013, 04:39 PM   #15 (permalink)
Senior Member
 
Crashdamage's Avatar
 
Join Date: Feb 2011
Location: Kansas City, Mo.
Posts: 2,309
 
Device(s): Started with the original G1, currently Nexus 4, Nexus 7, Nexus 5
Carrier: T-Mobile USA

Thanks: 1,678
Thanked 523 Times in 439 Posts
Default Re: how to use my android tablet to control my macmini

VNC uses port 5900 by default and the OP granted VNC permission on that port already. I get the vague idea the OP is not rooted, nor do they need to be for VNC.

I have a feeling either VNC server is not running on the Mac or it's something else in the router setup.

Linux user #266351. Android since v1.0
Crashdamage is offline  
Last edited by Crashdamage; January 24th, 2013 at 04:44 PM.
Reply With Quote
Old January 24th, 2013, 05:00 PM   #16 (permalink)
Senior Member
 
hstroph's Avatar
 
Join Date: Oct 2012
Posts: 580
 
Device(s): Nexus 4, rooted Android 4.4
Carrier: net10 MVNO w/ T-Mobile SIM

Thanks: 20
Thanked 77 Times in 63 Posts
Default

There several different vnc servers, and they don't all use the same default port(s).
hstroph is offline  
Reply With Quote
Old January 24th, 2013, 05:27 PM   #17 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default better ;-)

Hi
AndroidVnc does not work BUT
i installed 2 other clients :
- realvnc
- mocha vnc lite
i can now see the login screen of my mac BUT i do not know why i cannot use my mouse (android) or my keyboard.. the signal does not seem to be sent to the mac mini ;-(

juliette
JujuFr is offline  
Last edited by JujuFr; January 24th, 2013 at 05:31 PM.
Reply With Quote
Old January 24th, 2013, 05:31 PM   #18 (permalink)
Senior Member
 
hstroph's Avatar
 
Join Date: Oct 2012
Posts: 580
 
Device(s): Nexus 4, rooted Android 4.4
Carrier: net10 MVNO w/ T-Mobile SIM

Thanks: 20
Thanked 77 Times in 63 Posts
Default

Quote:
Originally Posted by JujuFr View Post
... i can now see the login screen of my mac BUT i do not know why i cannot use my mouse (android) or my keyboard.. the signal does not seem to be sent to the mac mini ;-(
You need to configure the vnc server to allow client input.
hstroph is offline  
Reply With Quote
Old January 24th, 2013, 07:42 PM   #19 (permalink)
Senior Member
 
Crashdamage's Avatar
 
Join Date: Feb 2011
Location: Kansas City, Mo.
Posts: 2,309
 
Device(s): Started with the original G1, currently Nexus 4, Nexus 7, Nexus 5
Carrier: T-Mobile USA

Thanks: 1,678
Thanked 523 Times in 439 Posts
Default Re: how to use my android tablet to control my macmini

Sorry, I should have been more specific. I always use RealVNC.

Linux user #266351. Android since v1.0
Crashdamage is offline  
Reply With Quote
Old January 25th, 2013, 04:13 AM   #20 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default it is fine now

Hi

i just changed the port as 5900 was used (i suspect Mac's screenshare uses it already)

it is fine!!!

thanks
JujuFr is offline  
Reply With Quote
sponsored links
Old January 25th, 2013, 11:43 AM   #21 (permalink)
Senior Member
 
hstroph's Avatar
 
Join Date: Oct 2012
Posts: 580
 
Device(s): Nexus 4, rooted Android 4.4
Carrier: net10 MVNO w/ T-Mobile SIM

Thanks: 20
Thanked 77 Times in 63 Posts
Default

Quote:
Originally Posted by JujuFr View Post
... it is fine!!!

thanks
Glad to hear it. You would be providing a great service to others with the same issue if you would summarize the steps needed to successfully use VNC client/server and post them in this thread.

Future generations (and many current ones) will thank you!
Crashdamage likes this.
hstroph is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Applications
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:16 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.