Hi,
I've been having a go with this today using vncserver and xfce as suggested.
When I tried it initially just with my gnome desktop I got connected but only a
checkered unusable sort of display once connected.
So I tried using xfce, but rather unsuccessfully, got all a bit messed up, so
start again....
This time I installed Ubuntu server (rather than desktop and didn't join it to
the domain), so a basic setup.
Installed all the bits and bobs to run vncserver with xfce from Robert's link.
However, from my pc I can't connect yet, I get the message "The connection was
refused by the computer".
I checked the firewall is off.
vncserver is running and listening on port 5901.
One thing I wasn't sure of was whether it was listening on the network
interface or just localhost. Most of the instructions seem aimed at localhost
and using SSH to forward the ports, but I don't want that additional layer as
it is being run on a trusted network. Not sure if there are better commands on
Linux, I tried these next ones, showing applicable output:
$ ss -ltn
State Recv-Q Send-Q Local Address:Port
Peer Address:Port
LISTEN 0 5 127.0.0.1:5901
0.0.0.0:*
LISTEN 0 5 [::]:5901
[::]:*
$ netstat -ea | grep 5901
tcp 0 0 localhost.localdom:5901 0.0.0.0:* LISTEN
user 25415
tcp 0 0 localhost6.localdo:5901 [::]:*
LISTEN user 25416
Does this mean my vncserver on port 5901 is only listening on localhost?
If so, how do I make it listen on everything, or at least the LAN?
Regards,
Bryce.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Chris Hellyar
Sent: Friday, 21 September 2018 3:46 PM
To: CLUG List <[email protected]>
Subject: Re: [Linux-users] Headless Ubuntu 18.04.1 - connect to desktop from
Windows?
Install xfce + vncserver rather than the VNC screen share?
Use that method every day of the week for 18.04 and 16.04 stuff and AWS and
Linode...
Gnome over vncviewer is a bit sucky performance wise, hence xfce, but probably
fine if you're doing this on a LAN not over the interwebs.
Cheers, Me.
On 21/09/18 14:12, Bryce Stenberg wrote:
> Hi,
>
> I've got a new Ubuntu machine that will be run without an attached monitor or
> keyboard/mouse in our comms cupboard for call logging from the PABX system.
>
> I'm trying to set up a method that will allow a remote desktop connection,
> but finding many conflicting ideas abound.
>
> So far, I can setup 'screen sharing' from the settings and connect to the
> desktop remotely using VNC on windows.
> However, if the machine is rebooted without a monitor attached then VNC can't
> connect, It needs there to be a monitor present.
> If a monitor is present it still needs the user to have logged on first
> before it works. So I need some way to start it in this situation or
> something different.
>
> I know I could use SSH and use command line to do everything, but other
> non-linux users need to be able to connect and look at stuff from time to
> time, a gui would help them a lot.
>
> So, I was hoping someone on this list may have done this already and be able
> to give me a good pointer?
>
> Regards,
> Bryce Stenberg.
>
> _______________________________________________
> Linux-users mailing list
> [email protected]
> http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
_______________________________________________
Linux-users mailing list
[email protected]
http://lists.canterbury.ac.nz/mailman/listinfo/linux-users