skalman
Posts: 1
Joined: Mon Apr 01, 2013 10:28 am

VNC server with local keyboard and mouse

Mon Apr 01, 2013 11:04 am

I'm up and running with VNC on my ipad and it works fine BUT:

Is there a way to use the ipad only as a "screen" via VNC with the mouse pointer and text entry "driven" by the keyborad and mouse connected directly to the raspberry ?

When i'm programming it drives me mad to use the ipad bluetooth keyboard for {} et al and using the mouse via the touch screen is ridiculous.

Thanks for any advice
Skalman

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: VNC server with local keyboard and mouse

Mon Apr 01, 2013 2:24 pm

Yes...VNC doesn't restrict input to the remote keyboard and mouse unless it is directed to. So you should still be able to use the local keyboard and mouse.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: VNC server with local keyboard and mouse

Mon Apr 01, 2013 2:49 pm

SirLagz wrote:Yes...VNC doesn't restrict input to the remote keyboard and mouse unless it is directed to. So you should still be able to use the local keyboard and mouse.
But there is an interesting quirk here. There's several threads at the moment about this - about using x11vnc (not "tight" anything) to be able to see and interact with the "main" X desktop.

But, presumably, the goal here is to be able to boot up without the main HDMI screen connected (and the main keyboard/mouse). But if you do that, I believe the Pi will notice that there is no HDMI screen connected and will not activate it - falling back, I believe, to the RCA output. So, then, when you access it via vnc (from another computer or device), you might be stuck with a low resolution. Or nothing at all. I'm not sure...
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: VNC server with local keyboard and mouse

Mon Apr 01, 2013 2:52 pm

By default, it would be set to the lower resolution.
I'm sure you could still change that on the fly though...however I have not tried this so I can't comment on whether it will work or not lol.
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

cleverca22
Posts: 581
Joined: Sat Aug 18, 2012 2:33 pm

Re: VNC server with local keyboard and mouse

Mon Apr 01, 2013 7:08 pm

linux has 2 main types of vnc server, the one from the 'vncserver' script spawns an entirely isolated screen, no local inputs
what you want, is x0vncserver, which will re-use an existing X server (with its current inputs)

and for resolution, you can edit config.txt to force hdmi mode, and force a certain resolution, so things will fit right on the tablet

Return to “Beginners”