I'm usually away from my laptop (which is on network) and would be downstairs at a different workstation, and I'd like to remote/VNC to my Deb 9 like this [url]userhttps://askubuntu.com/questions/3934/is-it-possible-to-use-remote-desktop-from-windows-7-to-ubuntu[/url].
So far, I've installed the vncserver :
Code: Select all
sudo apt install vnc4server
Code: Select all
$ touch ~/.vnc/xstartup
$ sudo gedit ~/.vnc/xstartup
#!/bin/sh
xterm &
Code: Select all
$ vncserver -localhost no -geometry 800x600 -depth 24
Code: Select all
$ vncserver -list
TigerVNC server sessions:
X DISPLAY # PROCESS ID
:1 2776
Code: Select all
$ ss -ltp | grep vnc
LISTEN 0 5 *:5901 *:* users:(("Xtigervnc",pid=2776,fd=7))
LISTEN 0 5 :::5901 :::* users:(("Xtigervnc",pid=2776,fd=8))
Code: Select all
C:\>nmap warmachine -O
Starting Nmap 7.60 ( https://nmap.org ) at 2018-02-08 19:17 Pacific Standard Time
Nmap scan report for warmachine (10.62.108.109)
Host is up (0.00s latency).
rDNS record for 10.62.108.109: warmachine.xxxxxxxxx.com
Not shown: 999 closed ports
PORT STATE SERVICE
5900/tcp open vnc
Device type: general purpose
Running: Linux 3.X|4.X
OS CPE: cpe:/o:linux:linux_kernel:3 cpe:/o:linux:linux_kernel:4
OS details: Linux 3.2 - 4.8
Network Distance: 4 hops
OS detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 2.84 seconds
Now, I fire up VNC and try to connect to my Deb 9, and I get an error message :
Any idea why I get this error, and how may I VNC to my Deb 9 ? This would be a tremendous help to me."Unable to connect to VNC Server using your chosen security setting. Either upgrade VNC Server to a more recent version from RealVNC, or select a weaker level of encryption."
Edit: For our corporate use, we have an Enterprise version of RealVNC server and viewer for use from RealVNC (4.6.3). And it by default asks/takes our corporate logins (which it checks to make sure are valid corporate logins, though can also be configured to use other passwords as well). Here, in my case, I don't know that's matters, is required.