Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set up VNC connection?
31st Dec, 2015, 10:40 PM
Post: #1
How to set up VNC connection?
Hi All,

I'm new to XBian - I just installed it two days ago on a Raspberry Pi B+. Over HDMI everything works well (a bit slow, but I am considering to get myself a Raspberry Pi 2...) and I also got my HifiBerry DAC+ working. Now the next thing I would like to do is to make a VNC link from Windows, so I can access Kodi without having to turn the projector on to which the Raspberry Pi is connected. The problem is that I can't find any information on how to get such VNC link to work. According to the "What is XBian?" page on XBian.org VNC Server should be running out of the box, but when I try to connect (using UltraVNC viewer 1.2.0.9) I get a "Failed to connect to server" message. I have tried screen 0, screen 1 and port 1, all without success. So my question is: what should I do to get the VNC connection working?

Thanks,

Harm
Find all posts by this user
Quote this message in a reply
2nd Jan, 2016, 02:49 AM
Post: #2
RE: How to set up VNC connection?
You first need to manually start rpi-vncserver from the command line.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
10th Jun, 2016, 09:42 PM
Post: #3
RE: How to set up VNC connection?
I would like to step in here and ask which client do you use to access the VNC server on the Windows (or Ubuntu Desktop) side?

I tried directvnc under Ubuntu but only got a distorted Kodi environment with wrong colormap and wrong resolution and couldn't find a way to fix this so far.
Find all posts by this user
Quote this message in a reply
10th Jun, 2016, 10:32 PM
Post: #4
RE: How to set up VNC connection?
(10th Jun, 2016 09:42 PM)daharn Wrote:  I would like to step in here and ask which client do you use to access the VNC server on the Windows (or Ubuntu Desktop) side?

I tried directvnc under Ubuntu but only got a distorted Kodi environment with wrong colormap and wrong resolution and couldn't find a way to fix this so far.

I tried it once with an RPi and had same colormap issue (see here) but resulution and Kodi desktop was ok (AFAIR).
Find all posts by this user
Quote this message in a reply
11th Jun, 2016, 07:02 AM
Post: #5
RE: How to set up VNC connection?
TightVNC works (but still has the colour issues) - but it is just about useable though if you need it.
Not something you'd want to use every day though, there is a delay that is really noticeable).
Find all posts by this user
Quote this message in a reply
11th Jun, 2016, 08:01 AM
Post: #6
RE: How to set up VNC connection?
OK, I had tried tightvnc before but only got a black screen. Do you remember the exact commands?
Find all posts by this user
Quote this message in a reply
11th Jun, 2016, 09:33 AM
Post: #7
RE: How to set up VNC connection?
Hmmm, seems that things has been changed

I tested it 9 months ago and it worked. Now same client (openSUSE 13.1, krdc) and same RPi shows black screen. I suppose that firmware changes is the culprit
Find all posts by this user
Quote this message in a reply
11th Jun, 2016, 08:38 PM
Post: #8
RE: How to set up VNC connection?
Seems to be working on Pi2 but not on Pi1. On Pi1 it connects, but the black background is there and nothing responds to the mouse input. The menu options are visible as is the kodi logo top left.
Find all posts by this user
Quote this message in a reply
11th Jun, 2016, 09:49 PM (This post was last modified: 11th Jun, 2016 10:04 PM by Nachteule.)
Post: #9
RE: How to set up VNC connection?
@Skywatch
Yeah, you're right. Works on Rpi3, not really fast and wrong colors, but works



Using client vncviewer and krdc, both worked

@daharn
Called vncviewer from package tightvnc, simply used vncviewer rpiaddress
Find all posts by this user
Quote this message in a reply
12th Jun, 2016, 09:04 PM
Post: #10
RE: How to set up VNC connection?
Seems to be fixed with todays updates! Smile
Find all posts by this user
Quote this message in a reply
12th Jun, 2016, 09:25 PM
Post: #11
RE: How to set up VNC connection?
Ähhhmmm, no. That green background should be blue Tongue

(btw, it's not only at RPi, Cubox-i and Humminboard has same color issuse)
Find all posts by this user
Quote this message in a reply
13th Jun, 2016, 03:01 AM
Post: #12
RE: How to set up VNC connection?
I'm using vncviewer on Ubuntu 14.04 to RPi2 and it's the same. I can improve it slightly by changing KODI background to black, and setting the vncviewer colours from network speed to maximum. Still looks bad but a lot better. Usable just doesn't look nice.

The same vncviewer to Win10 looks fine, so it's something on the RPi.

What was in the upgrade that could had have make a difference?

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
13th Jun, 2016, 03:38 AM
Post: #13
RE: How to set up VNC connection?
Thanks guys, it es working for me now insofar as to connect via tightvnc viewer (colors of course being wrong). did you also manage to control the menu remotely or did you connect a keyboard or mouse for that?
Find all posts by this user
Quote this message in a reply
13th Jun, 2016, 03:52 AM
Post: #14
RE: How to set up VNC connection?
For me, all the mouse functions worked remotely. Didn't try a KB but I guess it should work.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
13th Jun, 2016, 04:57 AM
Post: #15
RE: How to set up VNC connection?
Mouse AND keyboard works
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: