![]() ![]() Nmap done: 1 IP address (1 host up) scanned in 12.85 seconds Nmap scan report for numbersix (192.168.1.6) sudo nmap numbersix from the Ubuntu laptop gives: Starting Nmap 7.01 ( ) at 12:50 GMT Also couldn't connect from Ubuntu laptop. Ping works on both Windows hosts with IP or hostname. Telnet localhost 5901 seems to connect OK: Trying ::1.Īnd sudo netstat -nlpt | grep :59 gives: tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 3937/Xtightvncīut, telnet numbersix 5901 and telnet 192.168.1.6 (from Windows) fail with: Could not open connection to the host, on port 5901: Connect failedĪnd neither RealVNC nor TightVNC will connect (using hostname or IP). Nov 09 21:38:13 numbersix systemd: Started Start TightVNC server at startup. Nov 09 21:38:12 numbersix systemd: pam_unix(login:session): session opened for user adam by (uid=0) Nov 09 21:38:12 numbersix systemd: Starting Start TightVNC server at startup. Process: 3916 ExecStartPre=/usr/bin/vncserver -kill :1 > /dev/null 2>&1 (code=exited, status=2)ĬGroup: 3937 Xtightvnc :1 -desktop X -auth /home/adam/.Xauthority -geometryġ280x800 -depth 24 -rfbwait 120000 -rfbauth /h Process: 3924 ExecStart=/usr/bin/vncserver -depth 24 -geometry 1280x800 :1 (code=exited, status=0/SUCCESS) Loaded: loaded enabled vendor preset: enabled)Īctive: active (running) since Thu 21:38:13 GMT 6s ago $ sudo systemctl enable sudo systemctl start seems to work. Then started the service with $ sudo systemctl daemon-reload I set the server as a systemd service - created with this content: ĭescription=Start TightVNC server at startupĮxecStartPre=-/usr/bin/vncserver -kill :%i > /dev/null 2>&1ĮxecStart=/usr/bin/vncserver -depth 24 -geometry 1280x800 :%i Other addresses for localhost (not scanned): ::1 Nmap scan report for localhost (127.0.0.1) Nmap localhost gives: Starting Nmap 7.40 ( ) at 21:05 GMT Log file is /home/adam/.vnc/numbersix:1.log Starting applications specified in /home/adam/.vnc/xstartup ![]() If I start the server using tightvncserver I get: New 'X' desktop is numbersix:1 I've changed the xstartup file to: #!/bin/bash I've set up TightVNC server on my Ubuntu machine, mostly following the instructions at, intending to run Xfce as a desktop: $ sudo apt install xfce4 xfce4-goodies tightvncserver I'm using two clients - both Windows 10, one using RealVNC, one using TightVNC. I have a headless 17.04 server to which I'd like to connect using VNC, but I'm struggling at the moment. Tl dr - Ubuntu server seems to have several ports open none can be seen by the outside (LAN) world - WTF is going on? Hoping your collective brain power can assist me. ![]()
0 Comments
Leave a Reply. |