Fght
Posts: 319
Joined: Thu Feb 05, 2015 10:26 pm

vnc connection error

Sat Oct 08, 2016 8:37 pm

Very often when trying to connect to the pi with the vnc viewer i get this error.
if i reboot the pi it is solved.
what may cause this?

https://s22.postimg.org/gewjaoz69/Capture.png

User avatar
HermannSW
Posts: 1658
Joined: Fri Jul 22, 2016 9:09 pm
Location: Eberbach, Germany
Contact: Website Twitter YouTube

Re: vnc connection error

Sat Oct 08, 2016 9:11 pm

What does Pi VNC server log show when you cannot connect?
⇨https://stamm-wilbrandt.de/en/Raspberry_camera.html

https://github.com/Hermann-SW/Raspberry_v1_camera_global_external_shutter
https://stamm-wilbrandt.de/github_repo_i420toh264
https://github.com/Hermann-SW/fork-raspiraw
https://twitter.com/HermannSW

User avatar
DougieLawson
Posts: 36578
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: vnc connection error

Sat Oct 08, 2016 10:44 pm

"Connection refused" usually means you've reached a machine on your network that's alive, but port 5901 isn't open on that machine.

Have you got the right machine and right port number?
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Fght
Posts: 319
Joined: Thu Feb 05, 2015 10:26 pm

Re: vnc connection error

Sun Oct 09, 2016 8:21 pm

DougieLawson wrote:"Connection refused" usually means you've reached a machine on your network that's alive, but port 5901 isn't open on that machine.

Have you got the right machine and right port number?
OK
so first of all, when i reboot the pi this is often getting fixed.

i'm always connecting to the same ip with the same settings...

i don't know how to check what you have said very well tho.

i'm using Fing to check the ip and it is always the same...

when connecting with putty there is no problem whatsoever
Last edited by Fght on Mon Oct 10, 2016 9:37 pm, edited 1 time in total.

User avatar
DougieLawson
Posts: 36578
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: vnc connection error

Sun Oct 09, 2016 8:39 pm

ifconfig will show you the IP address

You can easily check which ports are open with
sudo netstat -tlnpu | less
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Fght
Posts: 319
Joined: Thu Feb 05, 2015 10:26 pm

Re: vnc connection error

Mon Oct 10, 2016 9:42 pm

https://postimg.org/image/vrxbp3pht/

seems it is port 123?

what now?

User avatar
DougieLawson
Posts: 36578
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: vnc connection error

Tue Oct 11, 2016 7:18 am

Look at the top lines in your screen shot. VNC is running on port 5900.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

User avatar
sconemad
Posts: 231
Joined: Thu Apr 28, 2016 1:47 pm
Location: Cambridge, UK
Contact: Website

Re: vnc connection error

Tue Oct 11, 2016 9:26 am

Hi,

Looks like you are using the RealVNC Server. The fact that you're getting connection refused probably indicates that the server is no longer running for some reason.

There is an option to enable debug logging, which might show what is happening - to enable this from the desktop, right click the VNC icon in the system tray, go to Options > Troubleshooting page and select "Create a debug log file", and OK.

Then carry on running the server as normal. If it gets to the point where you can't connect to it again, take a look in /var/log/vncserver-x11.log (or post the file here).

Fght
Posts: 319
Joined: Thu Feb 05, 2015 10:26 pm

Re: vnc connection error

Wed Oct 12, 2016 8:29 pm

OK
Let's see..

Can't open or copy the file...

ok now this is the content..

Code: Select all

VNC(R) Server 5.3.2 (RasPi) (r22164) ARMv6 (Sep 21 2016 14:08:37)
Copyright (C) 2002-2016 RealVNC Ltd.
RealVNC and VNC are trademarks of RealVNC Ltd and are protected by trademark
registrations and/or pending trademark applications in the European Union,
United States of America and other jurisdictions.
Protected by UK patent 2481870; US patent 8760366.
See http://www.realvnc.com for information on VNC.
For third party acknowledgements see:
http://www.realvnc.com/products/vnc/documentation/5.3/acknowledgements.txt
<13> 2016-10-12T20:34:35.184Z raspberrypi vncserver-x11[606]: ServerManager: Server started
<14> 2016-10-12T20:34:35.213Z raspberrypi vncserver-x11[606]: LicenseKeyAllocatorFile: Allow 10 desktops
<14> 2016-10-12T20:34:35.214Z raspberrypi vncserver-x11[606]: FeaturesState: Setting Personal edition
<14> 2016-10-12T20:34:35.214Z raspberrypi vncserver-x11[606]: SFeatureRaspberryPi: Raspberry Pi license detected
<14> 2016-10-12T20:34:35.215Z raspberrypi vncserver-x11[606]: SFeatureRaspberryPi: Device: Raspberry Pi 2 Model B Rev 1.1 (0xa01041)
<14> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: Log=*:file:100 (Preference)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: AcceptCutText=1 (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: AcceptKeyEvents=1 (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: AcceptPointerEvents=1 (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: AdminPassword=<binary> (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: AllowChangeDefaultPrinter=1 (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: AllowConnTransferRfb=1 (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: AllowHttp=1 (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: AllowTcpListenRfb=1 (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: AlterShiftWithMods=1 (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: AlwaysShared=0 (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: Authentication=SystemAuth (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: AuthTimeout=120 (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: BasicNameSearch=0 (Default)
<15> 2016-10-12T20:34:35.216Z raspberrypi vncserver-x11[606]: Configuration: BlacklistThreshold=5 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: BlacklistTimeout=10 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: CaptureMethod=0 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: CaptureTech= (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: CompactLog=0 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: CompareFB=1 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: ConnNotifyAlways=0 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: ConnNotifyTimeout=4 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: ConnTimeout=0 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: Desktop=$HOSTNAME$DPY (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: DisableAddNewClient=0 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: DisableClose=0 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: DisableOptions=0 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: DisableTrayIcon=0 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: DisconnectClients=1 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: display= (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: EnableAutoUpdateChecks=1 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: EnableChat=1 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: EnableGuestLogin=0 (Default)
<15> 2016-10-12T20:34:35.217Z raspberrypi vncserver-x11[606]: Configuration: EnableManualUpdateChecks=1 (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: EnableRemotePrinting=1 (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: Encryption=PreferOn (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: ExperimentalRaspiCapture=0 (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: FileTransferBufferSize=262144 (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: FileTransferLWM=-1 (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: FtCompress=1 (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: GuestAccess= (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: GuestPassword=<binary> (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: GuestUserName=guest (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: Hosts=+ (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: httpd=<inline> (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: HttpPort=5800 (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: IdleTimeout=3600 (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: InputOnlyPassword=<binary> (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: JpegQuality=50 (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: JrleDebugBlocks=0 (Default)
<15> 2016-10-12T20:34:35.218Z raspberrypi vncserver-x11[606]: Configuration: JrleReducedFormat=rgb666 (Default)
<15> 2016-10-12T20:34:35.226Z raspberrypi vncserver-x11[606]: Configuration: KerberosPrincipalName=HOST/$HOSTNAME (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: LazyFlushTimeout=300 (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: Locale= (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: localhost=0 (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: LocalInputPriorityTime=0 (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: LogDir=/var/log (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: LogFile=vncserver-x11.log (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: MaxCutText=262144 (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: MaxHttpConns=50 (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: MaxOutBufferSize=4194304 (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: MiniUpdates=0 (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: MiniUpdateSize=16384 (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: NeverShared=0 (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: NonDesktopUsers=xdm,gdm,kdm,lightdm,Debian-gdm,mdm (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: owncmap=0 (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: PamAccountCheck=1 (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: PamApplicationName=vncserver (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: Password=<binary> (Default)
<15> 2016-10-12T20:34:35.227Z raspberrypi vncserver-x11[606]: Configuration: Permissions=%admin:f,%sudo:f,:f (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: PollCursorTime=100 (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: PollInterval=50 (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: PrioritiseFileTransfer=0 (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: ProtocolVersion= (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: QueryConnect=0 (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: QueryConnectTimeout=10 (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: QueryOnlyIfLoggedOn=0 (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: QueryTimeoutRights= (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: QuitOnCloseStatusDialog=0 (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: RemapKeys= (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: ReverseAuthentication=None (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: ReverseSecurityTypes=<auto> (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: RfbPort=5900 (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: RootSecurity=0 (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: RsaModulusBits=2048 (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: RsaPrivateKeyFile=$HOME/.vnc/private.key (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: SecurityTypes=<auto> (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: SendCutText=1 (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: ServerPreferredEncoding=Viewer (Default)
<15> 2016-10-12T20:34:35.228Z raspberrypi vncserver-x11[606]: Configuration: ServiceDiscoveryEnabled=1 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: ShareFiles=1 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: SimpleRegions=0 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: SyslogFacility=user (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: TcpListenAddresses= (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: TicketAuthority=<binary> (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: UpdateBatchDelay=10 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: UpdateCheckFrequencyDays=1 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: UpdatePeriod=40 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: UseXFixes=1 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: Utf8CutTextAlways=0 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: Utf8WireAlways=1 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: ViewOnlyPassword=<binary> (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: xsync=0 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: ZlibLevel=-1 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: Configuration: ZrleMaxLen=524288 (Default)
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: FeatureMgr: Enabled features:
<15> 2016-10-12T20:34:35.229Z raspberrypi vncserver-x11[606]: FeatureMgr:  Licensing
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  RaspberryPi
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  RaspiJpeg
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  UiProcess
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  AgentParams
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  ImportOldConfig
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  ServiceMode
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  ConfigFile
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  CtrlComms
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  QueryConnect
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  CmdLineConfigFile
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  ShowStatus
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  InstanceControl
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  TcpListen
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  DefaultClosedSystemServer
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  DefaultClosedSystemViewer
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  OtherRfb3Viewer
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  LicensedRfb4Viewer
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  UnlicensedRfb4Viewer
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  AddClient
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  DisconnClient
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  UserPasswdVerifier
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  RsaKeyFile
<15> 2016-10-12T20:34:35.230Z raspberrypi vncserver-x11[606]: FeatureMgr:  SecurityNone
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  SecurityVncAuth
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  SecurityNoneCiphers
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  StopServerFromMenu
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  HttpListen
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  ConfigureUiServer
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  UpdateNotification
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  SecurityRA2
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  SecurityRA4
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  SystemAuth
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  ExtendedVncAuth
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  GuestLogin
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  HttpServer
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  Chat
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  FileTransfer
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  Printing
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  Zeroconf
<15> 2016-10-12T20:34:35.231Z raspberrypi vncserver-x11[606]: FeatureMgr:  BindToAddress
<15> 2016-10-12T20:34:35.233Z raspberrypi vncserver-x11[606]: SServerST: creating server raspberrypi
<14> 2016-10-12T20:34:35.256Z raspberrypi vncserver-x11[606]: HostUuid: Using value 'd96e9ade-44de-480c-7641-be799f00454b'
<15> 2016-10-12T20:34:35.317Z raspberrypi vncserver-x11[606]: SPrintConnMgr: desktopUserSet -1
<14> 2016-10-12T20:34:35.317Z raspberrypi vncserver-x11[606]: SModulePrint: set printer (none) as default
<15> 2016-10-12T20:34:35.317Z raspberrypi vncserver-x11[606]: SPrintConnMgr: desktopUserSet -1
<14> 2016-10-12T20:34:35.317Z raspberrypi vncserver-x11[606]: SModulePrint: set printer (none) as default
<14> 2016-10-12T20:34:35.320Z raspberrypi vncserver-x11[606]: TcpListenerManager: listening on [::]::5900
<14> 2016-10-12T20:34:35.320Z raspberrypi vncserver-x11[606]: TcpListenerManager: listening on 0.0.0.0::5900
<15> 2016-10-12T20:34:35.321Z raspberrypi vncserver-x11[606]: SModuleUpdateNotification: Schedule next check in 1 day
<14> 2016-10-12T20:34:35.321Z raspberrypi vncserver-x11[606]: TcpListenerManager: listening on [::]::5800
<14> 2016-10-12T20:34:35.321Z raspberrypi vncserver-x11[606]: TcpListenerManager: listening on 0.0.0.0::5800
<14> 2016-10-12T20:34:35.350Z raspberrypi vncserver-x11[606]: FeaturesState: Setting Personal edition
<15> 2016-10-12T20:34:35.351Z raspberrypi vncserver-x11[606]: Localize: setting locale en_US
<14> 2016-10-12T20:34:35.352Z raspberrypi vncserver-x11[606]: Localize: No OS support for locale "en_US"
<15> 2016-10-12T20:34:35.353Z raspberrypi vncserver-x11[606]: Localize: Updating thread TransMap with locales:
<15> 2016-10-12T20:34:35.353Z raspberrypi vncserver-x11[606]: Localize:  en_US
<15> 2016-10-12T20:34:35.353Z raspberrypi vncserver-x11[606]: Localize:  en
<15> 2016-10-12T20:34:35.381Z raspberrypi vncserver-x11[606]: Localize: restoring locale
<15> 2016-10-12T20:34:35.416Z raspberrypi vncserver-x11[606]: LaunchProcess: child 656 (/etc/vnc/get_primary_ip4) exited with status 1
<14> 2016-10-12T20:34:35.417Z raspberrypi vncserver-x11[606]: getPrimaryAddress: (running /etc/vnc/get_primary_ip4) command<pid=656> failed
<15> 2016-10-12T20:34:35.438Z raspberrypi vncserver-x11[606]: LaunchProcess: child 660 (/etc/vnc/get_primary_ip4) exited with status 1
<14> 2016-10-12T20:34:35.439Z raspberrypi vncserver-x11[606]: getPrimaryAddress: (running /etc/vnc/get_primary_ip4) command<pid=660> failed
<14> 2016-10-12T20:34:35.452Z raspberrypi vncserver-x11[606]: FeatureRsaKey: Using new key: 8e-ba-0f-5c-3a-92-02-3f (catchphrase "Oscar gong politic. Price gate linear.")
<15> 2016-10-12T20:34:35.452Z raspberrypi vncserver-x11[606]: SModuleUpdateNotification: updateStatus
<15> 2016-10-12T20:34:35.473Z raspberrypi vncserver-x11[606]: LaunchProcess: child 665 (/etc/vnc/get_primary_ip4) exited with status 1
<14> 2016-10-12T20:34:35.473Z raspberrypi vncserver-x11[606]: getPrimaryAddress: (running /etc/vnc/get_primary_ip4) command<pid=665> failed
<15> 2016-10-12T20:34:35.488Z raspberrypi vncserver-x11[606]: Avahi: Avahi daemon is re-registering its hostname.
<14> 2016-10-12T20:34:35.501Z raspberrypi vncserver-x11[606]: SModuleCtrlComms: listening on /tmp/.vnc-vncservice/vncserver-x11.CtrlComms
<13> 2016-10-12T20:34:35.503Z raspberrypi vncserver-x11[606]: ConsoleDisplay: Cannot find a running X server on vt1
<14> 2016-10-12T20:34:35.503Z raspberrypi vncserver-x11[606]: AgentMgrService: consoleDisplayChanged 0
<14> 2016-10-12T20:34:35.503Z raspberrypi vncserver-x11[606]: AgentLauncher: Restarting agent in 0ms
<15> 2016-10-12T20:34:35.503Z raspberrypi vncserver-x11[606]: AgentLauncher: Starting agent
<15> 2016-10-12T20:34:35.503Z raspberrypi vncserver-x11[606]: AgentMgrService: Using capture tech: x11
<15> 2016-10-12T20:34:35.588Z raspberrypi vncserver-x11[606]: Ipc: AgentInitCheck: End of stream
<15> 2016-10-12T20:34:35.588Z raspberrypi vncserver-x11[606]: FdIo: shutdown 0xb73f10 (fd=17), flush false (tellHandler true)
<15> 2016-10-12T20:34:35.589Z raspberrypi vncserver-x11[606]: FdIo: shutdown complete 0xb73f10 (fd=17)
<11> 2016-10-12T20:34:35.589Z raspberrypi vncserver-x11[606]: AgentInitCheck: agent comms failure
<14> 2016-10-12T20:34:35.589Z raspberrypi vncserver-x11[606]: AgentLauncher: Restarting agent in 5000ms
<14> 2016-10-12T20:34:35.700Z raspberrypi vncserver-x11[606]: ConsoleDisplay: Active VT changed to vt7
<13> 2016-10-12T20:34:35.701Z raspberrypi vncserver-x11[606]: ConsoleDisplay: Found running X server (pid=653)
<14> 2016-10-12T20:34:35.701Z raspberrypi vncserver-x11[606]: AgentMgrService: consoleDisplayChanged 1
<14> 2016-10-12T20:34:35.701Z raspberrypi vncserver-x11[606]: AgentLauncher: Restarting agent in 0ms
<15> 2016-10-12T20:34:35.701Z raspberrypi vncserver-x11[606]: AgentLauncher: Starting agent
<15> 2016-10-12T20:34:35.701Z raspberrypi vncserver-x11[606]: AgentMgrService: Using capture tech: x11
<14> 2016-10-12T20:34:36.923Z raspberrypi vncserver-x11[606]: Avahi: Registered service "raspberrypi (VNC Server)._rfb._tcp.local." (initially at raspberrypi:5900)
<14> 2016-10-12T20:34:37.348Z raspberrypi vncserver-x11[606]: SDesktopAgent: agent connected
<14> 2016-10-12T20:34:37.350Z raspberrypi vncserver-x11[606]: UiProcess: Restart in 500ms
<15> 2016-10-12T20:34:37.350Z raspberrypi vncserver-x11[606]: SPrintConnMgr: desktopUserSet -1
<14> 2016-10-12T20:34:37.350Z raspberrypi vncserver-x11[606]: SModulePrint: set printer (none) as default
<15> 2016-10-12T20:34:37.367Z raspberrypi vncserver-x11[606]: Agent: SDesktopX11: XTest extension present - version 2.2
<14> 2016-10-12T20:34:37.368Z raspberrypi vncserver-x11[606]: Agent: SDesktopX11: XFixes extension present - version 5.0
<14> 2016-10-12T20:34:37.368Z raspberrypi vncserver-x11[606]: Agent: SDesktopX11: XDamage extension present - version 1.1
<14> 2016-10-12T20:34:37.368Z raspberrypi vncserver-x11[606]: Agent: DesktopUidMonitor: Starting desktop uid monitor
<14> 2016-10-12T20:34:39.381Z raspberrypi vncserver-x11[606]: UiProcess: Restart in 500ms
<15> 2016-10-12T20:34:39.381Z raspberrypi vncserver-x11[606]: SPrintConnMgr: desktopUserSet 1000
<14> 2016-10-12T20:34:39.381Z raspberrypi vncserver-x11[606]: SModulePrint: set printer (none) as default
<14> 2016-10-12T20:34:39.382Z raspberrypi vncserver-x11[606]: Agent: DesktopUidMonitor: Desktop user changed from -1 to 1000
<15> 2016-10-12T20:34:39.883Z raspberrypi vncserver-x11[606]: UiProcess: Starting UI process
<15> 2016-10-12T20:34:39.884Z raspberrypi vncserver-x11[606]: UserHelperUnix: Launching process: /usr/bin/vncserver-x11-core -setuidhelper -env:PATH=/bin -env:LANG=en_GB.UTF-8 -env:PATH=/bin:/usr/bin -env:DISPLAY=:0 -env:XAUTHORITY=/home/pi/.Xauthority 1000 /usr/bin/vncserverui service 19
<14> 2016-10-12T20:34:39.887Z raspberrypi vncserver-x11[606]: UiProcess: UI process started
<14> 2016-10-12T20:34:39.888Z raspberrypi vncserver-x11[606]: SModulePrint: set printer (none) as default
<14> 2016-10-12T20:34:39.925Z raspberrypi vncserver-x11[606]: FeaturesState: Setting Personal edition
<15> 2016-10-12T20:34:39.928Z raspberrypi vncserver-x11[606]: Localize: setting locale en_US
<14> 2016-10-12T20:34:39.928Z raspberrypi vncserver-x11[606]: Localize: No OS support for locale "en_US"
<15> 2016-10-12T20:34:39.929Z raspberrypi vncserver-x11[606]: Localize: Updating thread TransMap with locales:
<15> 2016-10-12T20:34:39.929Z raspberrypi vncserver-x11[606]: Localize:  en_US
<15> 2016-10-12T20:34:39.929Z raspberrypi vncserver-x11[606]: Localize:  en
<15> 2016-10-12T20:34:39.954Z raspberrypi vncserver-x11[606]: Localize: restoring locale
<15> 2016-10-12T20:34:39.986Z raspberrypi vncserver-x11[606]: LaunchProcess: child 779 (/etc/vnc/get_primary_ip4) exited with status 1
<14> 2016-10-12T20:34:39.986Z raspberrypi vncserver-x11[606]: getPrimaryAddress: (running /etc/vnc/get_primary_ip4) command<pid=779> failed
<15> 2016-10-12T20:34:40.014Z raspberrypi vncserver-x11[606]: LaunchProcess: child 784 (/etc/vnc/get_primary_ip4) exited with status 1
<14> 2016-10-12T20:34:40.014Z raspberrypi vncserver-x11[606]: getPrimaryAddress: (running /etc/vnc/get_primary_ip4) command<pid=784> failed
<15> 2016-10-12T20:34:40.027Z raspberrypi vncserver-x11[606]: SModuleUpdateNotification: updateStatus
<15> 2016-10-12T20:34:40.048Z raspberrypi vncserver-x11[606]: LaunchProcess: child 791 (/etc/vnc/get_primary_ip4) exited with status 1
<14> 2016-10-12T20:34:40.048Z raspberrypi vncserver-x11[606]: getPrimaryAddress: (running /etc/vnc/get_primary_ip4) command<pid=791> failed
<15> 2016-10-12T20:34:40.601Z raspberrypi vncserver-x11[606]: UiComms: Received message from UI: uiLocale
<15> 2016-10-12T20:34:40.601Z raspberrypi vncserver-x11[606]: UiComms: Got UI locale 'en_GB:en_US'
<15> 2016-10-12T20:34:40.601Z raspberrypi vncserver-x11[606]: Localize: setting locale en_GB:en_US
<15> 2016-10-12T20:34:40.602Z raspberrypi vncserver-x11[606]: Localize: Updating thread TransMap with locales:
<15> 2016-10-12T20:34:40.602Z raspberrypi vncserver-x11[606]: Localize:  en_GB
<15> 2016-10-12T20:34:40.602Z raspberrypi vncserver-x11[606]: Localize:  en
<15> 2016-10-12T20:34:40.604Z raspberrypi vncserver-x11[606]: Localize:  en_US
<15> 2016-10-12T20:34:40.605Z raspberrypi vncserver-x11[606]: Localize: restoring locale
<15> 2016-10-12T20:34:40.786Z raspberrypi vncserver-x11[606]: TcpConnector: connect to 127.0.0.1:42312
<15> 2016-10-12T20:34:40.787Z raspberrypi vncserver-x11[606]: IpResolver: Resolved 127.0.0.1::42312
<15> 2016-10-12T20:34:40.787Z raspberrypi vncserver-x11[606]: TcpAddrConnector: Trying 127.0.0.1::42312
<14> 2016-10-12T20:34:52.323Z raspberrypi vncserver-x11[606]: FeaturesState: Setting Personal edition
<15> 2016-10-12T20:34:52.324Z raspberrypi vncserver-x11[606]: Localize: setting locale en_GB:en_US
<15> 2016-10-12T20:34:52.324Z raspberrypi vncserver-x11[606]: Localize: Updating thread TransMap with locales:
<15> 2016-10-12T20:34:52.324Z raspberrypi vncserver-x11[606]: Localize:  en_GB
<15> 2016-10-12T20:34:52.324Z raspberrypi vncserver-x11[606]: Localize:  en
<15> 2016-10-12T20:34:52.326Z raspberrypi vncserver-x11[606]: Localize:  en_US
<15> 2016-10-12T20:34:52.327Z raspberrypi vncserver-x11[606]: Localize: restoring locale
<15> 2016-10-12T20:34:52.327Z raspberrypi vncserver-x11[606]: Localize: setting locale en_GB:en_US
<15> 2016-10-12T20:34:52.327Z raspberrypi vncserver-x11[606]: Localize: Updating thread TransMap with locales:
<15> 2016-10-12T20:34:52.327Z raspberrypi vncserver-x11[606]: Localize:  en_GB
<15> 2016-10-12T20:34:52.327Z raspberrypi vncserver-x11[606]: Localize:  en
<15> 2016-10-12T20:34:52.330Z raspberrypi vncserver-x11[606]: Localize:  en_US
<15> 2016-10-12T20:34:52.330Z raspberrypi vncserver-x11[606]: Localize: setting locale en_US
<14> 2016-10-12T20:34:52.330Z raspberrypi vncserver-x11[606]: Localize: No OS support for locale "en_US"
<15> 2016-10-12T20:34:52.330Z raspberrypi vncserver-x11[606]: Localize: Updating thread TransMap with locales:
<15> 2016-10-12T20:34:52.330Z raspberrypi vncserver-x11[606]: Localize:  en_US
<15> 2016-10-12T20:34:52.330Z raspberrypi vncserver-x11[606]: Localize:  en
<15> 2016-10-12T20:34:52.365Z raspberrypi vncserver-x11[606]: Localize: restoring locale
<15> 2016-10-12T20:34:52.365Z raspberrypi vncserver-x11[606]: Localize: restoring locale
<13> 2016-10-12T20:34:52.366Z raspberrypi vncserver-x11[606]: Connections: connected: 192.168.1.132::53649
<15> 2016-10-12T20:34:52.377Z raspberrypi vncserver-x11[606]: SConnection: reading protocol version
<14> 2016-10-12T20:34:52.378Z raspberrypi vncserver-x11[606]: SConnection: Client needs protocol version 5.0
<14> 2016-10-12T20:34:52.378Z raspberrypi vncserver-x11[606]: SProtoV5: Client supports cipher suite RA4_128 [0x0202]
<14> 2016-10-12T20:34:52.378Z raspberrypi vncserver-x11[606]: SProtoV5: Client supports cipher suite RA4_256 [0x0303]
<14> 2016-10-12T20:34:52.378Z raspberrypi vncserver-x11[606]: SProtoV5: Client supports cipher suite RA4ne_128 [0x0204]
<14> 2016-10-12T20:34:52.378Z raspberrypi vncserver-x11[606]: SProtoV5: Choosing cipher suite RA4_128 [0x0202] (algorithms: ECDHE-Curve25519-RSA / AES-GCM-128)
<14> 2016-10-12T20:34:52.422Z raspberrypi vncserver-x11[606]: CipherRA4: Local private key has 2048 bits
<14> 2016-10-12T20:34:52.566Z raspberrypi vncserver-x11[606]: CipherRA4: Remote public key has 2048 bits
<14> 2016-10-12T20:34:52.662Z raspberrypi vncserver-x11[606]: CipherCore: Established unauthenticated shared secret, session id = 88ee3bbe9f5596d11a8d290e157ce814e9d33062e371c9d5d69fa6ec2310400d
<15> 2016-10-12T20:34:52.663Z raspberrypi vncserver-x11[606]: CipherCore: Sending key establishment notification - changing outgoing encryption (algorithm: AES-GCM-128)
<15> 2016-10-12T20:34:52.663Z raspberrypi vncserver-x11[606]: CipherCore: Received key establishment notification - changing incoming encryption (algorithm: AES-GCM-128)
<14> 2016-10-12T20:34:52.663Z raspberrypi vncserver-x11[606]: CipherCore: Established authentication for shared secret, peer id = 80-b9-9f-f9-c3-8c-a6-b5
<14> 2016-10-12T20:34:52.663Z raspberrypi vncserver-x11[606]: SProtoV5: Offering auth method UserPasswd(1) [required=1]
<14> 2016-10-12T20:34:52.717Z raspberrypi vncserver-x11[606]: SProtoV5: Client chose auth method UserPasswd(1)
<15> 2016-10-12T20:35:07.311Z raspberrypi vncserver-x11[606]: UpcUnix: trying PAM authentication
<15> 2016-10-12T20:35:07.530Z raspberrypi vncserver-x11[606]: NameLookupUnix: Initialising for pi
<15> 2016-10-12T20:35:07.530Z raspberrypi vncserver-x11[606]: NameLookupUnix: Failed to find group admin
<15> 2016-10-12T20:35:07.531Z raspberrypi vncserver-x11[606]: getUserPermissions:   Matched group "sudo" with permissions [f] => [f]
<14> 2016-10-12T20:35:07.531Z raspberrypi vncserver-x11[606]: getUserPermissions: Permissions for pi are [f]
<15> 2016-10-12T20:35:07.533Z raspberrypi vncserver-x11[606]: SConnection: Security completed - querying
<14> 2016-10-12T20:35:07.533Z raspberrypi vncserver-x11[606]: SConnection: Authentication successful
<14> 2016-10-12T20:35:07.533Z raspberrypi vncserver-x11[606]: SProtoV5: Offering empty auth list (auth completed)
<13> 2016-10-12T20:35:07.533Z raspberrypi vncserver-x11[606]: Connections: authenticated: 192.168.1.132::53649, as pi (f permissions)
<15> 2016-10-12T20:35:07.533Z raspberrypi vncserver-x11[606]: SServerST: starting desktop
<15> 2016-10-12T20:35:07.534Z raspberrypi vncserver-x11[606]: SConn: pixel buffer changed - re-initialising image getter
<15> 2016-10-12T20:35:07.534Z raspberrypi vncserver-x11[606]: Localize: setting locale en_GB:en_US
<15> 2016-10-12T20:35:07.536Z raspberrypi vncserver-x11[606]: Localize: Updating thread TransMap with locales:
<15> 2016-10-12T20:35:07.536Z raspberrypi vncserver-x11[606]: Localize:  en_GB
<15> 2016-10-12T20:35:07.536Z raspberrypi vncserver-x11[606]: Localize:  en
<15> 2016-10-12T20:35:07.538Z raspberrypi vncserver-x11[606]: Localize:  en_US
<14> 2016-10-12T20:35:07.562Z raspberrypi vncserver-x11[606]: FeaturesState: Setting Personal edition
<15> 2016-10-12T20:35:07.565Z raspberrypi vncserver-x11[606]: Localize: setting locale en_GB:en_US
<15> 2016-10-12T20:35:07.565Z raspberrypi vncserver-x11[606]: Localize: Updating thread TransMap with locales:
<15> 2016-10-12T20:35:07.565Z raspberrypi vncserver-x11[606]: Localize:  en_GB
<15> 2016-10-12T20:35:07.565Z raspberrypi vncserver-x11[606]: Localize:  en
<15> 2016-10-12T20:35:07.569Z raspberrypi vncserver-x11[606]: Localize:  en_US
<15> 2016-10-12T20:35:07.569Z raspberrypi vncserver-x11[606]: Localize: restoring locale
<15> 2016-10-12T20:35:07.569Z raspberrypi vncserver-x11[606]: Localize: setting locale en_GB:en_US
<15> 2016-10-12T20:35:07.569Z raspberrypi vncserver-x11[606]: Localize: Updating thread TransMap with locales:
<15> 2016-10-12T20:35:07.569Z raspberrypi vncserver-x11[606]: Localize:  en_GB
<15> 2016-10-12T20:35:07.570Z raspberrypi vncserver-x11[606]: Localize:  en
<15> 2016-10-12T20:35:07.571Z raspberrypi vncserver-x11[606]: Localize:  en_US
<15> 2016-10-12T20:35:07.571Z raspberrypi vncserver-x11[606]: Localize: setting locale en_US
<14> 2016-10-12T20:35:07.571Z raspberrypi vncserver-x11[606]: Localize: No OS support for locale "en_US"
<15> 2016-10-12T20:35:07.571Z raspberrypi vncserver-x11[606]: Localize: Updating thread TransMap with locales:
<15> 2016-10-12T20:35:07.571Z raspberrypi vncserver-x11[606]: Localize:  en_US
<15> 2016-10-12T20:35:07.571Z raspberrypi vncserver-x11[606]: Localize:  en
<15> 2016-10-12T20:35:07.595Z raspberrypi vncserver-x11[606]: Localize: restoring locale
<15> 2016-10-12T20:35:07.595Z raspberrypi vncserver-x11[606]: Localize: restoring locale
<15> 2016-10-12T20:35:07.683Z raspberrypi vncserver-x11[606]: SModuleUpdateNotification: updateStatus
<15> 2016-10-12T20:35:07.683Z raspberrypi vncserver-x11[606]: Localize: setting locale en_GB:en_US
<15> 2016-10-12T20:35:07.683Z raspberrypi vncserver-x11[606]: Localize: Updating thread TransMap with locales:
<15> 2016-10-12T20:35:07.683Z raspberrypi vncserver-x11[606]: Localize:  en_GB
<15> 2016-10-12T20:35:07.683Z raspberrypi vncserver-x11[606]: Localize:  en
<15> 2016-10-12T20:35:07.685Z raspberrypi vncserver-x11[606]: Localize:  en_US
<15> 2016-10-12T20:35:07.685Z raspberrypi vncserver-x11[606]: Localize: restoring locale
<15> 2016-10-12T20:35:07.722Z raspberrypi vncserver-x11[606]: Localize: restoring locale
<14> 2016-10-12T20:35:07.723Z raspberrypi vncserver-x11[606]: SConn: Server default pixel format depth 24 (32 bpp) little-endian rgb888
<15> 2016-10-12T20:35:07.723Z raspberrypi vncserver-x11[606]: RfbConnection: Peer extension 'DesktopName' enabled 1
<15> 2016-10-12T20:35:07.723Z raspberrypi vncserver-x11[606]: RfbConnection: Peer extension 'EncodingList' enabled 1
<15> 2016-10-12T20:35:07.723Z raspberrypi vncserver-x11[606]: RfbConnection: Peer extension 'RelPtrCtrl' enabled 1
<15> 2016-10-12T20:35:07.725Z raspberrypi vncserver-x11[606]: RfbConnection: Peer extension 'Printing' enabled 1
<15> 2016-10-12T20:35:07.727Z raspberrypi vncserver-x11[606]: RfbConnection: Peer extension 'FileTransfer' enabled 1
<15> 2016-10-12T20:35:07.728Z raspberrypi vncserver-x11[606]: RfbConnection: Peer extension 'MStorage' enabled 1
<15> 2016-10-12T20:35:07.728Z raspberrypi vncserver-x11[606]: RfbConnection: Peer extension 'Chat' enabled 1
<15> 2016-10-12T20:35:07.728Z raspberrypi vncserver-x11[606]: RfbConnection: Enabling extension 'RelPtr' 1
<15> 2016-10-12T20:35:07.728Z raspberrypi vncserver-x11[606]: RfbConnection: Enabling extension 'EncoderConfig' 1
<15> 2016-10-12T20:35:07.728Z raspberrypi vncserver-x11[606]: RfbConnection: Enabling extension 'EncodingList' 1
<15> 2016-10-12T20:35:07.728Z raspberrypi vncserver-x11[606]: RfbConnection: Enabling extension 'Printing' 1
<15> 2016-10-12T20:35:07.729Z raspberrypi vncserver-x11[606]: RfbConnection: Enabling extension 'Chat' 1
<15> 2016-10-12T20:35:07.729Z raspberrypi vncserver-x11[606]: RfbConnection: Enabling extension 'FileTransfer' 1
<15> 2016-10-12T20:35:07.729Z raspberrypi vncserver-x11[606]: SConnection: Initialisation done
<15> 2016-10-12T20:35:07.730Z raspberrypi vncserver-x11[606]: SDesktopAgent: Got PB info: pf:depth 24 (32 bpp) little-endian rgb888 (1024x768) s:1024
<15> 2016-10-12T20:35:07.732Z raspberrypi vncserver-x11[606]: SConn: pixel buffer changed - re-initialising image getter
<14> 2016-10-12T20:35:07.780Z raspberrypi vncserver-x11[606]: Agent: SServerAgent: Starting desktop
<14> 2016-10-12T20:35:07.780Z raspberrypi vncserver-x11[606]: Agent: PixelBufferX11: XShm extension present - version 1.2 (with pixmaps)
<15> 2016-10-12T20:35:07.780Z raspberrypi vncserver-x11[606]: Agent: PixelBufferX11: Using shared memory Pixmap
<15> 2016-10-12T20:35:07.781Z raspberrypi vncserver-x11[606]: Agent: PixelBufferX11: Using shared memory XImage
<14> 2016-10-12T20:35:07.781Z raspberrypi vncserver-x11[606]: Agent: SServerAgent: setPixelBuffer: 1024 x 768
<15> 2016-10-12T20:35:07.781Z raspberrypi vncserver-x11[606]: Agent: SDesktopX11: Using damage extension
<14> 2016-10-12T20:35:07.929Z raspberrypi vncserver-x11[606]: ftExtension: Received advertisement for share 1237053378
<15> 2016-10-12T20:35:07.929Z raspberrypi vncserver-x11[606]: DownloadManager: new share seq(1237053378) flags(0x80)
<14> 2016-10-12T20:35:07.929Z raspberrypi vncserver-x11[606]: FTMsgWriter: Requesting '' of share 1237053378 to depth 0
<14> 2016-10-12T20:35:07.930Z raspberrypi vncserver-x11[606]: SConn: Encodings JRLE(22) CopyRect(1) ZRLE(16) JPEG(21) TRLE(15) Zlib(6) Hextile(5) RRE(2) Raw(0) CursorWithAlpha(-314) CursorWithAlphaOld(-311) Cursor(-239) DesktopSize(-223)
<14> 2016-10-12T20:35:07.930Z raspberrypi vncserver-x11[606]: SConn: Current encoding JRLE
<14> 2016-10-12T20:35:07.930Z raspberrypi vncserver-x11[606]: SConn: Client pixel format depth 24 (32 bpp) little-endian rgb888
<15> 2016-10-12T20:35:08.213Z raspberrypi vncserver-x11[606]: ftExtension:   file Canon iP7200 series via VNC from DESKTOP-O180BI5, size=139
<14> 2016-10-12T20:35:08.214Z raspberrypi vncserver-x11[606]: ftExtension: Received share EOF
<15> 2016-10-12T20:35:08.214Z raspberrypi vncserver-x11[606]: DownloadManager: end share seq(1237053378)
<15> 2016-10-12T20:35:08.219Z raspberrypi vncserver-x11[606]: DownloadManager: New Share 1237053378 Added - about to start downloading
<15> 2016-10-12T20:35:08.219Z raspberrypi vncserver-x11[606]: DownloadManager: startDownloading()
<15> 2016-10-12T20:35:08.219Z raspberrypi vncserver-x11[606]: PrintStream:  create (0xbe7690) d_mgr=0xbf1f38
<15> 2016-10-12T20:35:08.219Z raspberrypi vncserver-x11[606]: DownloadManager: queueDownload() - new stream 0xbe7690
<14> 2016-10-12T20:35:08.220Z raspberrypi vncserver-x11[606]: DownloadManager: Requested Canon iP7200 series via VNC from DESKTOP-O180BI5
<15> 2016-10-12T20:35:08.220Z raspberrypi vncserver-x11[606]: DownloadManager: id=(1237053378, 0), start=0, end=139, window=18446744073709551615
<15> 2016-10-12T20:35:08.237Z raspberrypi vncserver-x11[606]: DownloadManager: Completed 139/139
<14> 2016-10-12T20:35:08.238Z raspberrypi vncserver-x11[606]: DownloadManager: Download complete.
<15> 2016-10-12T20:35:08.238Z raspberrypi vncserver-x11[606]: DownloadManager: 139 bytes transferred in 18ms. 7722 bytes/second
<15> 2016-10-12T20:35:08.238Z raspberrypi vncserver-x11[606]: PrintStream: close(0xbe7690)
<15> 2016-10-12T20:35:08.238Z raspberrypi vncserver-x11[606]: DownloadManager: Completed stream 0xbe7690
<15> 2016-10-12T20:35:08.238Z raspberrypi vncserver-x11[606]: DownloadManager: downloadNext()
<15> 2016-10-12T20:35:08.239Z raspberrypi vncserver-x11[606]: DownloadManager: downloaded() - completed download of share 1237053378
<15> 2016-10-12T20:35:08.239Z raspberrypi vncserver-x11[606]: SPrintConnMgrBase: share(0xb9225c) downloaded seq(1237053378)
<15> 2016-10-12T20:35:08.239Z raspberrypi vncserver-x11[606]: SPrintConnMgrBase: adding printer Canon iP7200 series via VNC from DESKTOP-O180BI5
<15> 2016-10-12T20:35:08.239Z raspberrypi vncserver-x11[606]: SPrintConnMgr: Chosen format: ZRLE
<15> 2016-10-12T20:35:08.242Z raspberrypi vncserver-x11[606]: SPrintConnMgr: adding printer (Canon_iP7200_series_via_VNC_from_DESKTOP-O180BI5)
<14> 2016-10-12T20:35:08.242Z raspberrypi vncserver-x11[606]: CupsApi: Adding printer Canon_iP7200_series_via_VNC_from_DESKTOP-O180BI5
<11> 2016-10-12T20:35:08.243Z raspberrypi vncserver-x11[606]: SPrintConnMgr: Failed to add printer: server-error-service-unavailable
<15> 2016-10-12T20:35:08.246Z raspberrypi vncserver-x11[606]: DownloadManager: removeFinishedPrintShare() - removing share 1237053378
<15> 2016-10-12T20:35:08.246Z raspberrypi vncserver-x11[606]: FTMsgWriter: Local releasing 1237053378
<15> 2016-10-12T20:35:08.246Z raspberrypi vncserver-x11[606]: DownloadManager: startDownloading()
<15> 2016-10-12T20:35:08.246Z raspberrypi vncserver-x11[606]: DownloadManager: startDownloading() - nothing to download
<15> 2016-10-12T20:35:08.246Z raspberrypi vncserver-x11[606]: PrintStream: destroy (0xbe7690)
<15> 2016-10-12T20:35:08.247Z raspberrypi vncserver-x11[606]: DownloadManager: Deleted stream 0xbe7690
<15> 2016-10-12T20:35:12.821Z raspberrypi vncserver-x11[606]: Agent: SDesktopX11: Damage test: any 1 full 1
<14> 2016-10-12T20:35:28.668Z raspberrypi vncserver-x11[606]: SConn: Encodings TRLE(15) CopyRect(1) Hextile(5) JRLE(22) JPEG(21) ZRLE(16) Zlib(6) RRE(2) Raw(0) CursorWithAlpha(-314) CursorWithAlphaOld(-311) Cursor(-239) DesktopSize(-223)
<14> 2016-10-12T20:35:28.668Z raspberrypi vncserver-x11[606]: SConn: Current encoding TRLE
<15> 2016-10-12T20:35:59.659Z raspberrypi vncserver-x11[606]: RfbConnection: Sending keep-alive sync
<15> 2016-10-12T20:36:59.687Z raspberrypi vncserver-x11[606]: RfbConnection: Sending keep-alive sync
<15> 2016-10-12T20:37:59.659Z raspberrypi vncserver-x11[606]: RfbConnection: Sending keep-alive sync
<15> 2016-10-12T20:38:59.659Z raspberrypi vncserver-x11[606]: RfbConnection: Sending keep-alive sync
<15> 2016-10-12T20:39:20.302Z raspberrypi vncserver-x11[606]: UiComms: Got client cut text: '~^J'
<15> 2016-10-12T20:39:24.218Z raspberrypi vncserver-x11[606]: UiComms: Received message from UI: serverCutText
<15> 2016-10-12T20:39:24.218Z raspberrypi vncserver-x11[606]: VncServerCore: sending server cut text: 'vncserve...'
<15> 2016-10-12T20:39:25.776Z raspberrypi vncserver-x11[606]: UiComms: Received message from UI: serverCutText
<15> 2016-10-12T20:39:25.780Z raspberrypi vncserver-x11[606]: VncServerCore: sending server cut text: 'vncserve...'
<15> 2016-10-12T20:39:30.109Z raspberrypi vncserver-x11[606]: UiComms: Received message from UI: serverCutText
<15> 2016-10-12T20:39:30.110Z raspberrypi vncserver-x11[606]: VncServerCore: sending server cut text: 'vncserve...'
<15> 2016-10-12T20:39:31.464Z raspberrypi vncserver-x11[606]: UiComms: Received message from UI: serverCutText
<15> 2016-10-12T20:39:31.464Z raspberrypi vncserver-x11[606]: VncServerCore: sending server cut text: 'vncserve...'
<15> 2016-10-12T20:39:59.659Z raspberrypi vncserver-x11[606]: RfbConnection: Sending keep-alive sync
<15> 2016-10-12T20:40:59.659Z raspberrypi vncserver-x11[606]: RfbConnection: Sending keep-alive sync
<15> 2016-10-12T20:41:59.659Z raspberrypi vncserver-x11[606]: RfbConnection: Sending keep-alive sync
<15> 2016-10-12T20:42:59.659Z raspberrypi vncserver-x11[606]: RfbConnection: Sending keep-alive sync
Last edited by Fght on Wed Oct 12, 2016 8:54 pm, edited 1 time in total.

User avatar
davidcoton
Posts: 4259
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: vnc connection error

Wed Oct 12, 2016 8:53 pm

Fght wrote:OK
Let's see..

Can't open or copy the file...

Code: Select all

sudo nano /var/log/vncserver-x11.log
Signature retired

Fght
Posts: 319
Joined: Thu Feb 05, 2015 10:26 pm

Re: vnc connection error

Wed Oct 12, 2016 8:56 pm

davidcoton wrote:

Code: Select all

sudo nano /var/log/vncserver-x11.log
Tried that but then what?
at the end i found a way... i don't know if it is what you meant,
i saved a new file in nano...

it took some experiment and research to figure out how but it succeeded...

was that what you meant me to do?

User avatar
davidcoton
Posts: 4259
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK

Re: vnc connection error

Wed Oct 12, 2016 9:04 pm

Well, you said "Can't open..." I didn't notice that you then did! (Oh I see -- you edited while I posted...)

Hope someone can make sense of it.
Signature retired

Fght
Posts: 319
Joined: Thu Feb 05, 2015 10:26 pm

Re: vnc connection error

Thu Oct 13, 2016 11:27 am

Thank you

User avatar
sconemad
Posts: 231
Joined: Thu Apr 28, 2016 1:47 pm
Location: Cambridge, UK
Contact: Website

Re: vnc connection error

Thu Oct 13, 2016 1:26 pm

I can't see anything unusual in the log you posted which would tell us why the server isn't accepting connections.

Another thing to try when the problem happens, is to run "systemctl status vncserver-x11-serviced.service" in a terminal. This should tell us if the server is still actually running, and if not, why it stopped.

If you prefer, you can go to http://www.realvnc.com and submit a support ticket (mentioning this forum thread), and they should be able to help you directly.

Fght
Posts: 319
Joined: Thu Feb 05, 2015 10:26 pm

Re: vnc connection error

Thu Oct 13, 2016 3:44 pm

OK
Maybe later

EllieOwen
Posts: 4
Joined: Sun Oct 16, 2016 1:55 pm

Re: vnc connection error

Mon Oct 17, 2016 12:55 am

Was this connection refused when the RaspberryPi was booted without a monitor plugged in? I had the same problems and more trying to get connected to my headless Pi.

First I did an update and upgrade to Raspbian Jessie. Then I made a couple commands to make sure that RealVNC started at boot. This was from this post: viewtopic.php?f=66&t=162607&p=1052008&h ... t#p1052008

After I was able to connect without the monitor plugged into the pi I found the remote window didn't have a very friendly resolution so I found these instructions: http://raspberrypi.stackexchange.com/a/41987

Once that was taken care of I found that I couldn't connect if the RaspPi had been setting idle for a while. So I changed a line in the /etc/lightdm/lightdm.conf file. http://chamaras.blogspot.com/2013/03/ho ... ep-in.html I also notice my red led was blinking indicating low voltage so I switched to a different power supply.

I think it's working now.

Return to “General discussion”