Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

How to set up VNC connection?
Thank you for your donation

Pages (4): « Previous 1 2 3 4 Next »
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
How to set up VNC connection?
14th Jun, 2016, 12:22 AM
Post: #16
daharn Offline
Registered
Posts: 27
Joined: Mar 2016
Reputation: 0
RE: How to set up VNC connection?
(13th Jun, 2016 04:57 AM)Nachteule Wrote:  Mouse AND keyboard works

Not for me, unfortunately. Does it only work if physical keyboard and mouse are connected to the pi?
Find all posts by this user
Quote this message in a reply
14th Jun, 2016, 12:42 AM
Post: #17
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: How to set up VNC connection?
(14th Jun, 2016 12:22 AM)daharn Wrote:  
(13th Jun, 2016 04:57 AM)Nachteule Wrote:  Mouse AND keyboard works

Not for me, unfortunately. Does it only work if physical keyboard and mouse are connected to the pi?

Do not have any mouse/keyboard connected to RPi

(tested with vncviewer from package tightvnc and krdc, both are working)
Find all posts by this user
Quote this message in a reply
14th Jun, 2016, 10:34 AM
Post: #18
daharn Offline
Registered
Posts: 27
Joined: Mar 2016
Reputation: 0
RE: How to set up VNC connection?
Alright my newest research results:

Mouse support over VNC DOES work, but only if I had a mouse connected to my pi since the last reboot (assuming it is the same for keyboard but I currently have no PS/2 to USB port to test this).

Can this somehow be improved?

As a side note, when setting the vnc-server service to autostart by xbian-config, VNC connections will only result in a black screen. Only when autostart is disabled and vnc-server is started manually, graphical output is shown. I kind of remember having already read about this, but this appears as a bug to me.
Find all posts by this user
Quote this message in a reply
25th Oct, 2016, 03:25 AM
Post: #19
Harald654 Offline
Registered
Posts: 27
Joined: Jun 2016
Reputation: 2
RE: How to set up VNC connection?
I can confirm daharn,
it only works if I disabled vnc-autostart and start the service mauel (the colors does not agree, but this is secondary).
With autostart I get only a black screen (mouse and keyboard inputs works).
Find all posts by this user
Quote this message in a reply
25th Oct, 2016, 10:02 PM
Post: #20
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: How to set up VNC connection?
I suppose vnc service is started too early
Find all posts by this user
Quote this message in a reply
9th Feb, 2017, 05:40 PM
Post: #21
Ale4ko Offline
Newcomer
Posts: 1
Joined: Feb 2017
Reputation: 0
RE: How to set up VNC connection?
I have too a black screen but mouse and keyboard works
Find all posts by this user
Quote this message in a reply
10th Feb, 2017, 06:43 AM
Post: #22
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: How to set up VNC connection?
(9th Feb, 2017 05:40 PM)Ale4ko Wrote:  I have too a black screen but mouse and keyboard works

I still do not know what the reason is for that behavior Sad

But I'm currently investigating vnc-server Smile, maybe I can fix this issue and the wrong color issue as well

Btw, dispmanx_vnc server does not have color issue, but shows exactly same black screen if started before Kodi and you have to reboot Pi to make it work again Huh Sounds like a bug in used vc library, because display snapshot does not work either Angry
Find all posts by this user
Quote this message in a reply
16th Mar, 2017, 04:59 PM
Post: #23
iamjenny Offline
Newcomer
Posts: 2
Joined: Mar 2017
Reputation: 0
RE: How to set up VNC connection?
This can be start manually from the command line rpi-vncserver
Find all posts by this user
Quote this message in a reply
17th Apr, 2017, 07:59 PM
Post: #24
willieaames Offline
Newcomer
Posts: 1
Joined: Apr 2017
Reputation: 0
RE: How to set up VNC connection?
If you want to use VNC I would suggest connecting to it over a tunneling SSH connection.
Find all posts by this user
Quote this message in a reply
2nd May, 2017, 04:17 AM
Post: #25
emel445 Offline
Registered
Posts: 6
Joined: May 2017
Reputation: 0
RE: How to set up VNC connection?
Hi all,

I've got exactly same issue, black screen but able to see mouse cursor. Any ideas?

Thanks,
Find all posts by this user
Quote this message in a reply
2nd May, 2017, 04:29 AM
Post: #26
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: How to set up VNC connection?
@emel445

(2nd May, 2017 04:17 AM)emel445 Wrote:  I've got exactly same issue, black screen but able to see mouse cursor. Any ideas?

The mouse cursor you see is your local mouse cursor.

Reboot Pi and start vnc-server after Kodi is up, this should help. BTW, a fixed version is available in staging repo, but the dispmanx issue described in my previous post still exists
Find all posts by this user
Quote this message in a reply
2nd May, 2017, 10:28 PM
Post: #27
emel445 Offline
Registered
Posts: 6
Joined: May 2017
Reputation: 0
RE: How to set up VNC connection?
Ok, when I'm starting vnc-server after Kodi is up, I'm able to see Kodi via VNC for less than a sec and VNC reconnecting to the srerver. After few seconds of reconnect I'm able again to the Kodi screen for less than second. This is happen constantly.
There is no stable transfer between Xbian VNC server and VNC client. Shall I do anything with memory split?
Find all posts by this user
Quote this message in a reply
3rd May, 2017, 12:18 AM (This post was last modified: 3rd May, 2017 12:31 AM by Nachteule.)
Post: #28
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: How to set up VNC connection?
(2nd May, 2017 10:28 PM)emel445 Wrote:  Ok, when I'm starting vnc-server after Kodi is up, I'm able to see Kodi via VNC for less than a sec and VNC reconnecting to the srerver. After few seconds of reconnect I'm able again to the Kodi screen for less than second. This is happen constantly.
There is no stable transfer between Xbian VNC server and VNC client. Shall I do anything with memory split?

No, don't think so

That's weird, sounds more like a network issue. My connection is stable for hours. Which version of vnc-server do you have installed?

Terminal

root@kmxbilr ~ # dpkg-query -s xbian-package-vnc-server | grep Version
Version: 2.2.4-1489940133

And make sure that AUTOMODE is NOT set to 1 in file /etc/default/vnc-autores

Terminal

root@kmxbilr ~ # cat /etc/default/vnc-autores
### /etc/default/vnc-autores
# Configuration file for /usr/bin/local/vnc-autores
###

# Enable auto mode? ('vnc-autores auto' will be called when starting/stopping vnc-server)
# 0: no
# 1: yes
AUTOMODE=0

# GROUP and MODE for VNC use
# Get all supported modes by calling: tvservice -m DMT && tvservice -m CEA
VNCGROUP=DMT
VNCMODE=2

# DON'T EDIT ANYTHING BELOW HERE!
# (reserved for temporary vars)
TVGROUP=
TVMODE=

Which client are you using. I have best experience with RealVNC client:

Find all posts by this user
Quote this message in a reply
3rd May, 2017, 05:42 AM
Post: #29
emel445 Offline
Registered
Posts: 6
Joined: May 2017
Reputation: 0
RE: How to set up VNC connection?
This is version of my vnc-server version
xbian@xbian ~ $ dpkg-query -s xbian-package-vnc-server | grep Version

Version: 2.0.0fix ------Running different version to yours.

The /etc/default/vnc-autores folder looks exactly the same as your.
Also, I'm using RealVNC Client same you are.

Anyway, the issue more likely located, I've got the older version of vnc-server. Interesting, this morning I installed the latest XBian version from the website.

As per your comments dated on 08/11 ;-) I uninstalled and reinstalled xbian-package-vnc-server
[term]sudo apt-get purge xbian-package-vnc-server; sudo apt-get install xbian-package-vnc-server
but .... it installed fix 2.0
[term]Preparing to unpack .../xbian-package-vnc-server_2.0.0fix_armhf.deb ...[term]

Have you got any direct path to your installed version: 2.2.4-1489940133 ?
Find all posts by this user
Quote this message in a reply
3rd May, 2017, 05:48 AM
Post: #30
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: How to set up VNC connection?
@emel445

The newer version is in our staging repo (images are not built with this repo enabled), to get it you just have to enable Staging Repo in Kodi's xbian-config GUI

Btw, being currently on new version with a workaround for the dispmanx bug. Looks good so far Smile
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Pages (4): « Previous 1 2 3 4 Next »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 05:48 AM Powered By MyBB, © 2002-2025 MyBB Group.