Giter Site home page Giter Site logo

Comments (9)

Ashish080213 avatar Ashish080213 commented on August 12, 2024 1

@KarthiAru try login id: tortoisebot password: raspberry

from tortoisebot.

KarthiAru avatar KarthiAru commented on August 12, 2024

I updated the sshd_config file to enable public-key authentication instead of password authentication. I also installed tightvnc on raspberry to connect from the laptop.

from tortoisebot.

Ashish080213 avatar Ashish080213 commented on August 12, 2024

@KarthiAru Did you try RealVNC Viewer?

from tortoisebot.

KarthiAru avatar KarthiAru commented on August 12, 2024

@KarthiAru Did you try RealVNC Viewer?

Yes, I used the realvnc client from the laptop

from tortoisebot.

Ashish080213 avatar Ashish080213 commented on August 12, 2024

@KarthiAru Did you try that without using any HDMI cable? if yes then are you able to use realvnc without any error? I have an issue that its showing "Cannot currently show the display".
But if I connect the raspi to the monitor using HDMI cable and if I connect realvnc using my laptop its working fine.

from tortoisebot.

Ashish080213 avatar Ashish080213 commented on August 12, 2024

what OS are you using in raspi?

from tortoisebot.

KarthiAru avatar KarthiAru commented on August 12, 2024

what OS are you using in raspi?

Ubuntu 20.04

from tortoisebot.

KarthiAru avatar KarthiAru commented on August 12, 2024

@KarthiAru Did you try that without using any HDMI cable? if yes then are you able to use realvnc without any error? I have an issue that its showing "Cannot currently show the display". But if I connect the raspi to the monitor using HDMI cable and if I connect realvnc using my laptop its working fine.

Yes, I'm able to view the raspi desktop without issues. I didn't use any HDMI cables.

These are the steps I followed to set it up.

  1. Update VNC server settings
tortoisebot@ubuntu:~/.vnc$ pwd
/home/tortoisebot/.vnc
tortoisebot@ubuntu:~/.vnc$ sudo nano xstartup
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &

  1. Start VNC server
tortoisebot@ubuntu:~$ tightvncserver
New 'X' desktop is ubuntu:2
Starting applications specified in /home/tortoisebot/.vnc/xstartup
Log file is /home/tortoisebot/.vnc/ubuntu:2.log
  1. SSH connection with port forwarding in a new terminal
    ssh -L 5902:localhost:5902 -vNC [email protected]

If New 'X' desktop is ubuntu:1, then port is 5901
If New 'X' desktop is ubuntu:2, then port is 5902 and so on

  1. Open the VNC client and connect to server using
    localhost:5902

from tortoisebot.

Ashish080213 avatar Ashish080213 commented on August 12, 2024

@KarthiAru followed all the steps but its showing blank screen
Screenshot from 2024-04-20 17-55-35

from tortoisebot.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.