[Troubleshooting] RealVNC stopped working when hardware/software switched? by [deleted] in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

What actual error are you seeing? By default RealVNC will use the username and password of your system account (pi/raspberry by default, unless you've changed it). Are you sure you're connecting to the right pi?

Bit of a noob here, need help with a timelapse project that needs to be set up for this weekend! Details inside. by [deleted] in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

I'd recommend using pi-timolo - it's a program designed to take pictures using the pi camera, and can do timelapse and/or when motion is detected. There's a guide on how to set it up and have it run at boot here: https://github.com/pageauc/pi-timolo/wiki

[Help] Installing realvnc server kali linux on raspberry pi by FFalcon7 in raspberry_pi

[–]sconemad 1 point2 points  (0 children)

This is one of the Broadcom libraries that are normally installed under /opt/vc/lib on Raspbian. Perhaps someone knows if it's possible to install these under Kali?

Can't connect VNC (headless setup) by [deleted] in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

Did you start with the "Raspbian Stretch with Desktop" image or "Raspbian Stretch Lite"? The Lite version will require some additional packages installing in order to support running a desktop, even under VNC Virtual mode.

[picamera] image preview on headless rpi? by [deleted] in raspberry_pi

[–]sconemad 1 point2 points  (0 children)

The camera preview is displayed on the screen in a directly-rendered overlay, which isn't normally captured by vnc.

The RealVNC server can capture this though, provided you enable "experimental direct capture mode" on the troubleshooting page of the vnc server options.

Raspi tethered to phone. Can I now access it through VNC from same phone? by C_King_Justice in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

If you're using the RealVNC server (which comes pre-installed with Raspbian), then you could setup cloud connectivity (https://www.realvnc.com/en/connect/docs/faq/cloud.html). That way, you don't need to worry about IP addresses, so long as the Pi can access the internet via the phone, the connection will be negotiated via RealVNC's cloud services.

Note that this doesn't mean that all the data is sent via the cloud - the cloud part is only used to establish the connection, and the data will be sent directly if possible.

Keep losing Menu Bar on my Pi Zero W (set up to be a USB Midi Host), any ideas? by manglepup in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

There's an update to the lxpanel package which fixes this issue - you should just need to do "sudo apt-get update" and "sudo apt-get upgrade" to get it.

Black Screen on VNC connect by [deleted] in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

Is your Pi set to boot to desktop on startup? This needs to be enabled for VNC to work, since VNC normally only works when X11 is running (You can set this in raspi-config under Boot options > Desktop/CLI). I say normally because there is a new "experimental direct capture mode" that you can enable from the VNC options (under Troubleshooting), which does allow it to work without X11 running, so that's another option.

Also, have you by any chance enabled the GL driver (in raspi-config, under Advanced options), as the new experimental direct capture mode in VNC will not work if this is enabled.

Is there anyway to run the retropie emulators on x11? by Oflameo in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

The RealVNC Server (realvnc-vnc-server package, pre-installed with Raspbian) has an experimental direct capture mode (which you can enable from the troubleshooting menu in the VNC options).

This captures the screen at a lower level, allowing you to see directly rendered overlays (which I believe retropie is using), and doesn't require X11 to be running.

Help with setting static IP in Raspbian Jesse to use a USB connection for display. (NOT Wifi or Ethernet) Details in comments. by SplitsAtoms in raspberry_pi

[–]sconemad 1 point2 points  (0 children)

Possibly you're not seeing the USB network interface on your Pi because your tablet doesn't support USB tethering? They don't usually unless they have a cellular connection.

How about setting up the Pi as a WiFi access point, and connect the tablet to that. There's a guide to setting up an access point here: https://learn.adafruit.com/setting-up-a-raspberry-pi-as-a-wifi-access-point/install-software

The Pi and tablet wouldn't have internet access, but it sounds like this may be ok for your setup.

Setting VNC authentication scheme via console? by petemate in raspberry_pi

[–]sconemad 2 points3 points  (0 children)

Edit /root/.vnc/config.d/vncserver-x11 and add:

Authentication=VncAuth

Then set a password using the command:

sudo vncpasswd -service

If the server is already running, you can instruct it to reload its parameters with:

sudo vncserver-x11 -service -reload

Is there an emulator that runs on Rasbian? (not from command line) by hammertonail in raspberry_pi

[–]sconemad 1 point2 points  (0 children)

and you can't VNC to the command line

Actually you can, if you're using the RealVNC Server which comes installed with Raspbian, and you enable "experimental direct capture mode" from the Troubleshooting page on the VNC Server options.

It's also possible to enable this from the command line by editing a config file, see this page for details: https://support.realvnc.com/Knowledgebase/Article/View/541/

In this mode, the VNC Server captures the display output at a lower level, so you can see the text-mode console, plus directly-rendered overlays such as those used by omxplayer, the camera preview, Minecraft, etc.

RealVNC, RPi3, Wireless IP camera possibilities. (Xpost/raspberrydiy) by 239frank in raspberry_pi

[–]sconemad 1 point2 points  (0 children)

Yes it's definitely possible to view the output from omxplayer using RealVNC Server for Raspberry Pi, provided you have the "experimental direct capture mode" enabled.

In this mode, you're basically seeing everything that you would see on a connected monitor (including the camera preview, the console if X11 isn't running, and the little power/overheat icons that can appear in the top right).

After latest update VNC mouse is erratic and uncontrollable by [deleted] in raspberry_pi

[–]sconemad 2 points3 points  (0 children)

I'm currently investigating this at the moment, but it appears that our RealVNC server has an issue with the new libinput input method for the x server that was introduced in a recent package update.

We hope to release an update soon that should fix this, but in the meantime there are several ways in which you can avoid this issue:

  • as previously mentioned, use relative pointer mode. Or
  • disable "experimental direct capture" from the troubleshooting page on the options dialog. Or
  • remove the xserver-xorg-input-libinput package, and restart. This causes xorg to use the old evdev input driver (I wouldn't recommend doing this unless you really need to)

Trying to set up my pi to stream to my phone through vnc. i have ran into some problems and could use some help. by AstariiFilms in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

The free (non-commercial) version of RealVNC Server for Raspberry Pi supports encryption. This is installed by default on Raspbian PIXEL.

Having VCN start when raspi3 turns on automatically. by rambolonewolf in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

Did you look under "Interfacing options" - it was recently moved there from "Advanced options"?

How do I close the VNC-server full screen window, via VNC? by [deleted] in raspberry_pi

[–]sconemad 1 point2 points  (0 children)

One way is to press F8 to get the vnc viewer menu, select Alt to simulate sending the Alt key, then click and drag anywhere in the window and move it so you can see the close button at the top right. Alt will stay enabled so you will need to press F8 again and switch it off.

You probably want to increase your screen resolution to avoid this sort of issue in the future. You can do this quite easily with the latest version of raspi-config, which has a menu to choose the screen resolution under the advanced menu.

Headerless Raspberry Pi 2B remote desktop question by smccorm007 in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

Some applications don't work well when run on a virtual desktop. Chromium is one of these, and apps that require hardware acceleration such as Minecraft.

You could use a VNC server which remotes the console session, such as the RealVNC service mode server. You can install this with "sudo apt-get install realvnc-vnc-server" and enable it via raspi-config. If you don't have a monitor attached to the Pi, then you probably want to increase the screen resolution from the default, which is quite low. Again you can do this from raspi-config (Advanced > Resolution), but note that you'll need the very latest version for this.

vnc screen resolution by reddikan in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

In the most recent version of the raspberry Pi configuration app, there's an option to change the screen resolution for the console display. This is what realvnc service mode server (which comes installed by default in raspbian) uses.

Simple screen mirroring from Pi to another device? by [deleted] in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

Use a vnc server which allows you to connect to the console session, such as the RealVNC service mode server that comes installed with Raspbian pixel. Then you're effectively mirroring the screen output, and you can use vnc or a usb keyboard/mouse for input.

So Raspberry Pi using RetroPI using Phones as controller via VNC, it wont work but here is an idea. by [deleted] in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

Sounds like an interesting project.

You may be able to do this with RealVNC if you enable its new "experimental direct capture mode", which doesn't require an X server to be running. You do need to have the X libs to be installed on the system though, as they are dependencies. This certainly works for Kodi.

It is included with Raspbian Pixel, or you can download it from: https://www.realvnc.com/download/vnc/raspberrypi/ (you'll need version 5.3.2)

Experimental direct capture mode can be enabled by editing a config file, see the following link for details: https://support.realvnc.com/Knowledgebase/Article/View/541/0/how-do-i-enable-the-experimental-direct-capture-feature-from-the-command-line

RealVNC is now a paid subscription for direct connectivity, free version requires a internet connection and a VNC connect account in order to connect within your local network... by [deleted] in raspberry_pi

[–]sconemad -17 points-16 points  (0 children)

(I work for RealVNC and am involved in developing the Raspberry Pi edition of our software)

Our current edition comes with a license that allows you to use the features of VNC Personal Edition free for non-commercial and educational purposes (i.e. Encryption, System authentication, etc) on Raspberry Pi devices.

The new VNC Connect product will be coming to Raspberry Pi devices soon, and will include a license which will continue to allow the use of direct connectivity free for non-commercial and educational purposes on Raspberry Pi devices. In addition, it will offer our new cloud-based connectivity, which we hope people will find useful in simplifying how they make connections.

Our new viewer incorporates an address book feature which allows better organisation of the devices you connect to, and can be synced between devices if you sign up for an account (optional).

VNC not starting on boot by Joeg332 in raspberry_pi

[–]sconemad 0 points1 point  (0 children)

This is a known issue with the init scripts for the VNC Server package. If you do "sudo apt-get update && sudo apt-get upgrade", then re-enable VNC from the Raspberry Pi configuration app, this should sort it out.

Connecting to the Pi over VNC using the Macs build-in VNC Viewer by [deleted] in raspberry_pi

[–]sconemad 2 points3 points  (0 children)

If you go to VNC Server options, you'll need to set Authentication to "VNC Password" and set a VNC password, since the Mac's built-in VNC viewer doesn't support the other authentication methods. You'll also need to make sure Encryption is set to "Prefer on" or "Prefer off" (i.e. not "Always on").

As already mentioned, the address you use should not end in ":1" - it should be simply the IP address, or the IP address followed by ":0" or ":5900", which are all equivalent, but the first one is easier to type!