VNC Server on Debian Buster 10

New to Debian (Or Linux in general)? Ask your questions here!

VNC Server on Debian Buster 10

Postby vvarrior » 2019-09-07 02:01

I'm struggling connecting to my new Linux box that I just got done installing with VNC Viewer on my windows laptop.
I am able to SSH in but the connection is refused with VNC. I feel like there is a permission issue or something small and simple I'm missing. Here is the VNC config log:

Fri Sep 6 19:47:30 2019
vncext: VNC extension running!
vncext: Listening for VNC connections on local interface(s), port 5901
vncext: created VNC server for screen 0

Thank you
vvarrior
 
Posts: 2
Joined: 2019-09-07 01:37

Re: VNC Server on Debian Buster 10

Postby andre@home » 2019-09-07 18:00

This may help?
https://phoenixnap.com/kb/ssh-to-connec ... or-windows

If you do not get it work:
Instead of VNC I mostly run Teamviewer for Linux & Windows 10.
Sometimes the installation under Linux needs extra attention.
Works great.
andre@home
 
Posts: 313
Joined: 2011-10-02 08:00

Re: VNC Server on Debian Buster 10

Postby vvarrior » 2019-09-08 02:57

VNC works great on Raspbian so I figured it would work just as good on Debian. I've attempted to setup a tunnel on SSH 5901->127.0.0.1:5901 then trying to connect to 127.0.0.1 but the result is the same. I'm not sure how to test if the VNC server is actually running, but its in ps -aux and the log file shows it is listening on 5901.
vvarrior
 
Posts: 2
Joined: 2019-09-07 01:37

Re: VNC Server on Debian Buster 10

Postby pylkko » 2019-09-08 11:52

Are you running a firewall on it?
User avatar
pylkko
 
Posts: 1567
Joined: 2014-11-06 19:02

Re: VNC Server on Debian Buster 10

Postby trinidad » 2019-09-08 11:52

Sorry but I'm not sure which way you are trying to go here. Is Debian the client machine or is Windows? If Debian is the client use Remmina and an SSH tunnel with RDP. If Windows is the client use SSH X11 forwarding and a nested Xserver (Xming) on the Windows machine. That is if you want a GUI desktop of the remote machine.

TC
You can't believe your eyes if your imagination is out of focus.
trinidad
 
Posts: 57
Joined: 2016-08-04 14:58

Re: VNC Server on Debian Buster 10

Postby andre@home » 2019-09-08 13:25

vvarrior wrote:VNC works great on Raspbian so I figured it would work just as good on Debian
Ok... but RPi, I have it too... you must enable something...:

Setup screen: see picture below.
5 Interfacing Options
<enter>
Go to P3 VNC Enable/Disable graphical remote
<enter>,
choose Enable
<enter>
and then
<ok>

So you have to dig out in what file setting this needs to happen in your Debian system.
https://www.google.nl/search?client=ope ... 8&oe=UTF-8

Image
andre@home
 
Posts: 313
Joined: 2011-10-02 08:00


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable