How to set up VNC connection?
|
24th Jun, 2017, 08:39 PM
Post: #40
|
|||
|
|||
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 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 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 |
|||
« Next Oldest | Next Newest »
|