Linux

what are the services listening on this server:

netstat -anpt | grep LISTEN

=-=-=-=-=-=–=-=-=-=-=-=-=-=-=-

postgres

Is postgres running?

sudo service postgresql status

=-=-=-=-=-=-=-

postgres config files:

postgresql.conf: listen_addresses controls what network interfaces PostgreSQL can accept connections on

pg_hba.conf: configuration file for host-based authentication

pg_ident.conf: user name mapping

hba_file (string):Specifies the configuration file for host-based authentication (customarily called ). This parameter can only be set at server start.

-=-=-=-=-=-

Enable postgres remote admin:

“postgresql.conf” file listen_addresses controls what network interfaces PostgreSQL can accept connections on, not what clients can connect to PostgreSQL.

listen_addresses = ‘*’

……

pg_hba.conf is about the remote (client) address

“pg_hba.conf” file

host all all 0.0.0.0/0 md5

You have to check if the port 5432 is open: http://www.yougetsignal.com/tools/open-ports/

If it’s not then add a rule to your iptables:
iptables -A INPUT -s 0/0 -p tcp –dport 5432 -j ACCEPT

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

 

 

 

 

 

 

 

 

 

 

 

Open Terminal and type in the following command:

sudo apt-get install dconf-editor

Once the package has been installed, click on the Linux Mint menu, then All Applications and scroll down till you see dconf Editor.

Open the editor and then navigate to orggnomedesktop remote-access.

 

=-=-=-=-=-=-=-=-=-=-=-=-

TigerVNC is really fast:https://www.tecmint.com/best-remote-linux-desktop-sharing-software/

=-=-=-=-=-=-=-=-=-=-=-=-=-

Containers may be better than VMs: https://linuxcontainers.org/

https://en.wikipedia.org/wiki/Docker_(software)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-