Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set up VNC connection?
3rd May, 2017, 05:51 AM
Post: #31
RE: How to set up VNC connection?
Thanks, I'm getting exited. will have a look into xbian-config GUI to enable Staging Repo

Ok, I looked through and may be lost or simply getting tired tonight "enable Staging Repo in Kodi's xbian-config GUI" ...
Where is it ? O.o ...
Find all posts by this user
Quote this message in a reply
3rd May, 2017, 11:31 PM (This post was last modified: 3rd May, 2017 11:45 PM by Nachteule.)
Post: #32
RE: How to set up VNC connection?
@emel445

Here the cmdline version for enabling staging repo and updating package:

1) edit /etc/apt/sources.list.d/xbian.list

Terminal

xbian@xbian ~ $ sudo nano /etc/apt/sources.list.d/xbian.list
xbian@xbian ~ $ cat /etc/apt/sources.list.d/xbian.list
deb mirror://apt.xbian.org/mirror.txt stable main rpi2-jessie
deb mirror://apt.xbian.org/mirror.txt staging main rpi2-jessie
### deb mirror://apt.xbian.org/mirror.txt devel main rpi2-jessie

2) refresh package list

Terminal

xbian@xbian ~ $ sudo apt-get update

3) update package xbian-package-vnc-server

Terminal

xbian@xbian ~ $ sudo apt-get install xbian-package-vnc-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
alsa-base libjasper1 libp11-kit-dev
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
xbian-package-vnc-server
1 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
Need to get 17.2 kB of archives.
After this operation, 51.2 kB disk space will be freed.
Get:1 http://apt.xbian.org staging/rpi2-jessie xbian-package-vnc-server armhf 2.2.4-1489940152 [17.2 kB]
Fetched 17.2 kB in 0s (69.5 kB/s)
Create a snapshot of '/run/btrfs-snap/root/@' in '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-05-03-1326'
Delete subvolume (no-commit): '/run/btrfs-snap/root/@last_good_known'
Create a snapshot of '/run/btrfs-snap/root/@btrfs-auto-snap_apt-run-2017-05-03-1326' in '/run/btrfs-snap/root/@last_good_known'
@btrfs-auto-snap_apt-run-2017-05-03-1326, 1 created snapshots, 0 destroyed snapshots, 0 warnings.
(Reading database ... 29059 files and directories currently installed.)
Preparing to unpack .../xbian-package-vnc-server_2.2.4-1489940152_armhf.deb ...
Unpacking xbian-package-vnc-server (2.2.4-1489940152) over (2.0.0fix) ...
Setting up xbian-package-vnc-server (2.2.4-1489940152) ...

And here Kodi's xbian-config GUI version:

Find all posts by this user
Quote this message in a reply
4th May, 2017, 03:00 AM
Post: #33
RE: How to set up VNC connection?
Happy Days!!!! Thanks for your help on this.

VNC Server updated and Viewer is up and running :-D
xbian@xbian ~ $ dpkg-query -s xbian-package-vnc-server | grep Version
Version: 2.2.4-1489940152

Last question, where is vnc config file located so can modify to encryption and listening port

Thanks,
Find all posts by this user
Quote this message in a reply
4th May, 2017, 04:01 AM
Post: #34
RE: How to set up VNC connection?
I do not know if encryption is possible without using a SSH tunnel.

Please look into file /etc/default/vnc-server how to provide options to rpi-vncserver
Find all posts by this user
Quote this message in a reply
4th May, 2017, 04:13 AM
Post: #35
RE: How to set up VNC connection?
I'll have a look.
Thank you so much for your help in resolving this issue :-D
Find all posts by this user
Quote this message in a reply
5th May, 2017, 02:24 AM
Post: #36
RE: How to set up VNC connection?
New version available in stable repository:

Issue of wrong colors fixed

- Hash buffer will be cleared. Sometimes screen was not updated correctly
when establishing new client connection
- DispmanX expects buffer rows to be aligned to a 32 bit boundary

Fixes and enhancements, verup to 2.2.4:

- Fixed: Resolution change on Cubox-i/Hummingboard working properly
Still not possible for RPi
- Commandline options added:
-h rfb : Display options for libvncserver library
-d : enable debug output
-u : polling screen interval in <msec> ms
- Used port is not longer hardcoded and can be modified if needed
- Frambuffer is accessed only if at least one client is connected
This is workaround for RPi devices, they still can not deal with
resolution changes and Kodi startups

Fixes and enhancements, verup to 2.4.1:

- Fixed: Resolution change on RPi working properly now
- Fixed: workaround for dispmanx library issue added. On resolution change,
it does not result in black vnc screen any more
- Commandline options modified:
-d[d] : enable debug output, -dd is more verbose
-h : current values for -u and -c option are displayed now
- Default polling time set to 333ms
- Modification for debug messages
- myNewFramebuffer removed. Original rfbNewFramebuffer function was called
with wrong parameters when resolution change was detected
- Desktop name can now be applied by cmdline option

vnc-server can be used with password now

Password is usually the same as with user xbian and can be modified by standard
xbian-config function, both xbian-config versions are supported.
Password can be enabled/disabled with Kodi's xbian-config GUI, category Extra
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: