How to solve the problem of blank screen in RealVNC viewer when connecting with remote Desktop of Ubuntu 17.10 (Artful Aardvark)

To get the details of installing RealVNC server on the computer Please Refer this site

The default desktop of Ubuntu 17.10 can not be viewed remotely using  RealVNC viewer as it gives a blank screen.

Screenshot from 2017-10-22 18-51-59

Desktop view of the Ubuntu 17.10 PC with RealVNC server

 

Screenshot_2017-10-22-18-52-48

Blank screen of the mobile phone with RealVNC viewer when trying to connect with the Ubuntu 171.10 PC

 

To view the remote desktop I have successfully adopted the following simple procedure.

The default desktop of Ubuntu 17.10 ,has to be changed from Ubuntu to Ubuntu on Xorg

Start computer and make changes (select Ubuntu on Xorg) in the Ubuntu login screen as follows

IMG_20171022_174754

Ubuntu login screen

Then enter the password of the computer and start

Now the problem is solved

Screenshot from 2017-10-22 18-05-09

Desktop screen of the Ubuntu 17.10 PC (wih RealVNC server)

 

Screenshot_2017-10-22-18-05-25

Remote view of the Ubuntu 17.10 PC on a mobile phone ( with RealVNC viewer)

How to install Zoneminder 1.30.4 on Ubuntu 17.10(Artful Aardvark)

First  remove  zoneminder completely using synaptic package manager or some other method .Then  clean the remaining items using  the janitor of  Ubuntu Tweak .

Open the Ubuntu terminal

You will have to refer iconnor  for adding Adding Zoneminder  PPA to your system.

Open the Ubuntu terminal

sudo su

add-apt-repository ppa:iconnor/zoneminder
 apt-get update
 apt-get upgrade
 apt-get dist-upgrade
Install Zoneminder

 

Install Zoneminder 1.30.4 using the Synaptic package manager

(Ubuntu Software Center in Ubuntu 17.10 does not have Zoneminder)

rm /etc/mysql/my.cnf

cp /etc/mysql/mysql.conf.d/mysqld.cnf /etc/mysql/my.cnf

gedit /etc/mysql/my.cnf

add the following line at 32

sql_mode = NO_ENGINE_SUBSTITUTION

Screenshot from 2016-04-23 21-38-28

Then save my.cnf

systemctl restart mysql

Create Zoneminder database in MySQL (Note: this also creates the default Zoneminder user and permissions in MySQL)

mysql -uroot -p < /usr/share/zoneminder/db/zm_create.sql
mysql -uroot -p -e "grant all on zm.* to 
'zmuser'@localhost identified by 'zmpass';"

mysqladmin -uroot -p reload

chmod 740 /etc/zm/zm.conf

chown root:www-data /etc/zm/zm.conf

adduser www-data video

a2enmod cgi

a2enconf zoneminder

a2enmod rewrite

chown -R www-data:www-data /usr/share/zoneminder/

systemctl enable zoneminder

service zoneminder start

Add timezone to PHP

gedit /etc/php/7.1/apache2/php.ini

edit line 939 with your timezone

Screenshot from 2017-10-20 14-36-56

Then save the file php.ini

Your time zone can be get from here 

service apache2 reload

Open Zoneminder http://localhost/zm/
 Screenshot from 2017-10-20 14-42-57
Referance Zoneminder Wiki