diff --git a/rdpy/protocol/rfb/rfb.py b/rdpy/protocol/rfb/rfb.py index b43cfa0..aed1812 100644 --- a/rdpy/protocol/rfb/rfb.py +++ b/rdpy/protocol/rfb/rfb.py @@ -303,7 +303,10 @@ def recvSecurityList(self, data): if self._securityLevel.value == SecurityType.VNC: self.expect(16, self.recvVNCChallenge) else: - self.expect(4, self.recvSecurityResult) + if self._securityLevel.value == SecurityType.NONE and self._version.value == ProtocolVersion.RFB003007: + self.sendClientInit() + else: + self.expect(4, self.recvSecurityResult) def recvVNCChallenge(self, data): """