I just bought a pi and followed this tuotria to setup a x11vnchttp://captainbodgit.blogspot.com/2014/ ... i.html?m=1
What I am trying to achieve is this: Using smartphone as a monitor for a raspberry pi connected with a usb mouse and keyboard. the pi is running raspbian latest version. I want to the vnc to be able to autostart on boot and then i will use smartphone as a display.
I am able to see the pi's desktop, but the local cursor is not visible, it is working though when you left cick the mouse and the menu gets opened up.
local cursor is not visible on x11vnc
Last edited by PiDerman on Wed Sep 26, 2018 8:23 am, edited 1 time in total.
-
- Posts: 2247
- Joined: Thu Feb 05, 2015 11:25 pm
Re: local cursor is not visible on x11vnc
You've followed a really old piece of information
If you've just started with a pi - I'd recommend wiping and starting over again
The just run sudo raspi-config in a terminal window , click on interfaces and go down to VNC and select and enable it
If you've just started with a pi - I'd recommend wiping and starting over again
The just run sudo raspi-config in a terminal window , click on interfaces and go down to VNC and select and enable it
Re: local cursor is not visible on x11vnc
I have done that but i want a vnc on reboot and it should work with local keyboard and mouse. the thing you mentioned does not works with reboot.mattmiller wrote: ↑Wed Sep 26, 2018 8:00 amYou've followed a really old piece of information
If you've just started with a pi - I'd recommend wiping and starting over again
The just run sudo raspi-config in a terminal window , click on interfaces and go down to VNC and select and enable it
Re: local cursor is not visible on x11vnc
What I am trying to achieve is this: Using smartphone as a monitor for a raspberry pi connected with a usb mouse and keyboard. the pi is running raspbian latest version. I want to the vnc to be able to autostart on boot and then i will use smartphone as a display.
-
- Posts: 2247
- Joined: Thu Feb 05, 2015 11:25 pm
Re: local cursor is not visible on x11vnc
I assure you it does start on rebootthe thing you mentioned does not works with reboot.

I have 9 Pi in my house all using it
-
- Posts: 2247
- Joined: Thu Feb 05, 2015 11:25 pm
Re: local cursor is not visible on x11vnc
This is the bit I don't know about - it might be that the standard VNC server does not show the "real" desktopand it should work with local keyboard and mouse.
If that is true, then I can see your need for X11VNC
Re: local cursor is not visible on x11vnc
I second this! All of my RPi with raspbian stretch with Desktop have the RealVNC autostart every time during boot-up and reboot.mattmiller wrote: ↑Wed Sep 26, 2018 9:04 amI assure you it does start on rebootthe thing you mentioned does not works with reboot.
I have 9 Pi in my house all using it
and connects automatically during reboot.
keyboard local to the RPi or local to the smartphone?and it should work with local keyboard and mouse.
use this android app to connect to realVNC server on RPi
https://play.google.com/store/apps/deta ... er.android
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"
Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"
Come to me with 'problems' and I'll help you find solutions"
Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"
-
- Posts: 7435
- Joined: Sat Jan 12, 2013 3:01 am
- Location: Grants Pass, OR, USA
- Contact: Website
Re: local cursor is not visible on x11vnc
As mentioned already...PiDerman wrote: ↑Wed Sep 26, 2018 8:23 amWhat I am trying to achieve is this: Using smartphone as a monitor for a raspberry pi connected with a usb mouse and keyboard. the pi is running raspbian latest version. I want to the vnc to be able to autostart on boot and then i will use smartphone as a display.
RealVNC is already installed by default in Raspbian Desktop so no need to install anything else. You only need to enable VNC using the GUI config tool or sudo raspi-config. Once enabled, RealVNC will autostart at boot AND will show the local console by default.
Uninstall x11vnc and undo whatever else from the tutorial or reinstall Raspbian with Desktop.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.
Re: local cursor is not visible on x11vnc
Yes and another thing to watch out for is setting the resolution using raspi-config to (say) 800x600 or else the vncviewer on the phone will only show part of the pi desktop.
Re: local cursor is not visible on x11vnc
Thanks everyone! It worked!
But my Ip address gets changed sometimes and then I have to change the IP on my vnc viewer to connect to pi, same is with my ssh client as well. does someone knows why my Pi's IP is changing?
But my Ip address gets changed sometimes and then I have to change the IP on my vnc viewer to connect to pi, same is with my ssh client as well. does someone knows why my Pi's IP is changing?
Re: local cursor is not visible on x11vnc
Probably because your router is assigning addresses using DHCP.
To avoid this, I login to my router admin page and configure it to always use the same address for my pi (called Address reservation)
To avoid this, I login to my router admin page and configure it to always use the same address for my pi (called Address reservation)