Accessig Raspberry with Domotics by xtightvncviewer

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
User avatar
cpighin
Posts: 68
Joined: Friday 03 July 2015 10:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Assisi, Italy
Contact:

Accessig Raspberry with Domotics by xtightvncviewer

Post by cpighin »

Hi,

With my Ubuntu PC I can assess fine my RPI2 by SSH, but I cannot by xtightvncviewer.

I know this is possible for a RPI with Raspbian and I know also that Domoticz is a Rasbian modified. On this article https://www.raspberrypi.org/documentati ... ccess/vnc/
we can read the procedure to configure correctly the system (on server side).

I followed section ENABLING VNC SERVER AT THE COMMAND LINE and entered the configuration panel, but I did not found item VNC in Advaced Options.

How could I solve the issue?

Claudio :)
User avatar
cpighin
Posts: 68
Joined: Friday 03 July 2015 10:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Assisi, Italy
Contact:

Re: Accessig Raspberry with Domotics by xtightvncviewer

Post by cpighin »

I found more information on the system:

a) I foud a .vnc folder in Home and its contents is:

Code: Select all

pi@raspberrypi ~/.vnc $ ls -a
. passwd raspberrypi:0.pid raspberrypi:1.pid
.. raspberrypi:0.log raspberrypi:1.log xstartup
b) Output of few commands on the board:

Code: Select all

pi@raspberrypi ~ $ tightvncconnect
usage: tightvncconnect [-display Xvnc-display] host[:port]
Tells Xvnc to connect to a listening VNC viewer on the given host and port

Code: Select all

pi@raspberrypi ~ $ tightvncserver
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "it_IT.UTF-8",
LC_ADDRESS = "it_IT.UTF-8",
LC_MONETARY = "it_IT.UTF-8",
LC_NUMERIC = "it_IT.UTF-8",
LC_TELEPHONE = "it_IT.UTF-8",
LC_IDENTIFICATION = "it_IT.UTF-8",
LC_MEASUREMENT = "it_IT.UTF-8",
LC_TIME = "it_IT.UTF-8",
LC_NAME = "it_IT.UTF-8",
LANG = "en_GB.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
New 'X' desktop is raspberrypi:1
Starting applications specified in /home/pi/.vnc/xstartup
Log file is /home/pi/.vnc/raspberrypi:1.log

Code: Select all

pi@raspberrypi ~ $ vncpasswd
Using password file /home/pi/.vnc/passwd
Password:
I am still looking for a way to check/modify the VNC server configuration!

Claudio :)
User avatar
cpighin
Posts: 68
Joined: Friday 03 July 2015 10:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Assisi, Italy
Contact:

Re: Accessig Raspberry with Domotics by xtightvncviewer

Post by cpighin »

Hi,

I solved the issue :)

As far as I understood, Domiticz is not designed to be managed graphically by its desktop, but only by commands on its terminal. This information may be obvious for many people but is essential for those who do not know it!

I wrote that it could be an oblivious information since Domoticz is designed to be managed only by the web application!

For those interested, may be useful to know that it is possible to access remotely to the Domoticz desktop by a VNC Client if a VNC Server is installed on the Domoticz SD card (I installed vnc4server by command "sudo apt install vnc4server").

Claudio :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest