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

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

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
How to set up VNC connection?
24th Jun, 2017, 08:39 PM
Post: #40
Nachteule Offline
Administrator
******
Posts: 2,406
Joined: Dec 2014
Reputation: 122
RE: How to set up VNC connection?
(24th Jun, 2017 07:50 AM)spleencheese Wrote:  I changed the AUTOMODE FROM 1 to 0. It was set to 1 when I looked at the file for the first time.

Hmmm, hard to believe Huh This variable is set to 0 as default in package xbian-package-vnc-server

Quote:By client, if you mean what VNC viewer I'm using, it's RealVNC 6.0.1 on windows.

You already mentioned that, same version I'm using. But I wanted to know which software you are using on your iphone, but anyway, vnc-server is using standard libvncserver library, maybe this lib can not deal with mobile vnc clients, or vice versa Undecided

Quote:Would it be worth me trying to get some log details? I'm not sure how I'd go about getting them, so step by step instructions would be good, but I'd be happy to post some if it would help.

It's a bit tricky, because vnc-server does not write any log files and all console (debug-)outputs are written to /dev/null as default. And if you restart vnc-server manually later to get debug messages, everything is ok you already told.

So, you have to do 2 things getting log plus some debug output:
1) Modify file /etc/init/vnc-server.conf (remove or comment out line console none). All output of vnc-server are written to file /var/log/upstart/vnc-server
2) add -d option to OPTIONS variable in file /etc/default/vnc-server

After restarting vnc-server service, you will get output like this

Terminal

root@kmxbilr /var/log/upstart # cat vnc-server.log
rpi-vncserver version 2.4.2

Initializing framebuffer device: - (dispmanx)
init_fb(): xres=1920, yres=1080, bpp=16
open /dev/uinput returned 4.
First write returned 1116.
ioctl UI_DEV_CREATE returned 0.
Initializing server: 1920x1080x2
24/06/2017 12:31:31 Listening for VNC connections on TCP port 5900
24/06/2017 12:31:31 rfbListenOnTCP6Port: error in bind IPv6 socket: Address family not supported by protocol

Framebuffer VNC server initialized:
width: 1920
height: 1080
bpp: 16
bytespp: 2
pixelperint: 2
port: 5900

hash lines: 4

offsets:
R: 11
G: 6
B: 0

successfully started
24/06/2017 12:31:54 Got connection from client 192.168.1.75
24/06/2017 12:31:54 other clients:
24/06/2017 12:31:54 Normal socket connection
key event 002a down
key event 002a down
24/06/2017 12:31:54 Client Protocol Version 3.8
24/06/2017 12:31:54 Protocol version sent 3.8, using 3.8
24/06/2017 12:31:54 rfbProcessClientSecurityType: executing handler for type 1
24/06/2017 12:31:54 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
24/06/2017 12:31:54 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
24/06/2017 12:31:54 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
24/06/2017 12:31:54 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
24/06/2017 12:31:54 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
24/06/2017 12:31:54 Enabling full-color cursor updates for client 192.168.1.75
24/06/2017 12:31:54 Enabling NewFBSize protocol extension for client 192.168.1.75
24/06/2017 12:31:54 Using ZRLE encoding for client 192.168.1.75
24/06/2017 12:31:54 Pixel format for client 192.168.1.75:
24/06/2017 12:31:54 8 bpp, depth 8
24/06/2017 12:31:54 uses a colour map (not true colour).
24/06/2017 12:31:55 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
24/06/2017 12:31:55 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
24/06/2017 12:31:55 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
24/06/2017 12:31:55 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
24/06/2017 12:31:55 Enabling full-color cursor updates for client 192.168.1.75
24/06/2017 12:31:55 Enabling NewFBSize protocol extension for client 192.168.1.75
24/06/2017 12:31:55 Switching from ZRLE to hextile Encoding for client 192.168.1.75
24/06/2017 12:31:55 Pixel format for client 192.168.1.75:
24/06/2017 12:31:55 16 bpp, depth 15, little endian
24/06/2017 12:31:55 true colour: max r 31 g 31 b 31, shift r 0 g 5 b 10

Quote:As for testing ios/android, I'm not too fussed about that for now. I mentioned it because post #27 of this thread mentioned a similar symptom; It connecting and disconnecting every second or so.

Ok
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
How to set up VNC connection? - Harm Lammers - 31st Dec, 2015, 10:40 PM
RE: How to set up VNC connection? - CurlyMo - 2nd Jan, 2016, 02:49 AM
RE: How to set up VNC connection? - daharn - 10th Jun, 2016, 09:42 PM
RE: How to set up VNC connection? - Nachteule - 10th Jun, 2016, 10:32 PM
RE: How to set up VNC connection? - Skywatch - 11th Jun, 2016, 07:02 AM
RE: How to set up VNC connection? - daharn - 11th Jun, 2016, 08:01 AM
RE: How to set up VNC connection? - Nachteule - 11th Jun, 2016, 09:33 AM
RE: How to set up VNC connection? - Skywatch - 11th Jun, 2016, 08:38 PM
RE: How to set up VNC connection? - Nachteule - 11th Jun, 2016, 09:49 PM
RE: How to set up VNC connection? - Skywatch - 12th Jun, 2016, 09:04 PM
RE: How to set up VNC connection? - Nachteule - 12th Jun, 2016, 09:25 PM
RE: How to set up VNC connection? - IriDium - 13th Jun, 2016, 03:01 AM
RE: How to set up VNC connection? - daharn - 13th Jun, 2016, 03:38 AM
RE: How to set up VNC connection? - IriDium - 13th Jun, 2016, 03:52 AM
RE: How to set up VNC connection? - Nachteule - 13th Jun, 2016, 04:57 AM
RE: How to set up VNC connection? - daharn - 14th Jun, 2016, 12:22 AM
RE: How to set up VNC connection? - Nachteule - 14th Jun, 2016, 12:42 AM
RE: How to set up VNC connection? - daharn - 14th Jun, 2016, 10:34 AM
RE: How to set up VNC connection? - Harald654 - 25th Oct, 2016, 03:25 AM
RE: How to set up VNC connection? - Nachteule - 25th Oct, 2016, 10:02 PM
RE: How to set up VNC connection? - Ale4ko - 9th Feb, 2017, 05:40 PM
RE: How to set up VNC connection? - Nachteule - 10th Feb, 2017, 06:43 AM
RE: How to set up VNC connection? - iamjenny - 16th Mar, 2017, 04:59 PM
RE: How to set up VNC connection? - willieaames - 17th Apr, 2017, 07:59 PM
RE: How to set up VNC connection? - emel445 - 2nd May, 2017, 04:17 AM
RE: How to set up VNC connection? - Nachteule - 2nd May, 2017, 04:29 AM
RE: How to set up VNC connection? - emel445 - 2nd May, 2017, 10:28 PM
RE: How to set up VNC connection? - Nachteule - 3rd May, 2017, 12:18 AM
RE: How to set up VNC connection? - emel445 - 3rd May, 2017, 05:42 AM
RE: How to set up VNC connection? - Nachteule - 3rd May, 2017, 05:48 AM
RE: How to set up VNC connection? - emel445 - 3rd May, 2017, 05:51 AM
RE: How to set up VNC connection? - Nachteule - 3rd May, 2017, 11:31 PM
RE: How to set up VNC connection? - emel445 - 4th May, 2017, 03:00 AM
RE: How to set up VNC connection? - Nachteule - 4th May, 2017, 04:01 AM
RE: How to set up VNC connection? - emel445 - 4th May, 2017, 04:13 AM
RE: How to set up VNC connection? - Nachteule - 5th May, 2017, 02:24 AM
RE: How to set up VNC connection? - spleencheese - 24th Jun, 2017, 01:20 AM
RE: How to set up VNC connection? - Nachteule - 24th Jun, 2017, 06:37 AM
RE: How to set up VNC connection? - spleencheese - 24th Jun, 2017, 07:50 AM
RE: How to set up VNC connection? - Nachteule - 24th Jun, 2017 08:39 PM
RE: How to set up VNC connection? - spleencheese - 24th Jun, 2017, 09:43 PM
RE: How to set up VNC connection? - Nachteule - 25th Jun, 2017, 03:06 AM
RE: How to set up VNC connection? - spleencheese - 25th Jun, 2017, 09:04 PM
RE: How to set up VNC connection? - spleencheese - 25th Jun, 2017, 11:37 PM
RE: How to set up VNC connection? - Nachteule - 26th Jun, 2017, 03:18 AM
RE: How to set up VNC connection? - spleencheese - 26th Jun, 2017, 04:04 AM
RE: How to set up VNC connection? - Nachteule - 26th Jun, 2017, 06:20 AM
RE: How to set up VNC connection? - spleencheese - 26th Jun, 2017, 06:29 AM
RE: How to set up VNC connection? - Nachteule - 26th Jun, 2017, 07:00 AM
RE: How to set up VNC connection? - spleencheese - 29th Jun, 2017, 03:38 AM
RE: How to set up VNC connection? - Nachteule - 29th Jun, 2017, 07:24 PM
RE: How to set up VNC connection? - Nachteule - 29th Jun, 2017, 10:11 PM
RE: How to set up VNC connection? - Nachteule - 29th Jun, 2017, 08:03 PM
RE: How to set up VNC connection? - spleencheese - 30th Jun, 2017, 12:08 AM

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

Current time: 13th Jun, 2025, 04:27 AM Powered By MyBB, © 2002-2025 MyBB Group.