Код: Выделить всё
x11vnc -display :0 -forever -nopw -listen 0.0.0.0 -xkbКод: Выделить всё
24/09/2024 15:42:00 Got connection from client 112.134.157.141
24/09/2024 15:42:00 0 other clients
24/09/2024 15:42:00 Normal socket connection
24/09/2024 15:42:00 Disabled X server key autorepeat.
24/09/2024 15:42:00 to force back on run: 'xset r on' (3 times)
24/09/2024 15:42:00 incr accepted_client=2 for 112.134.157.141:48624 sock=10
24/09/2024 15:42:01 Client Protocol Version 3.8
24/09/2024 15:42:01 Protocol version sent 3.8, using 3.8
24/09/2024 15:42:01 rfbProcessClientSecurityType: executing handler for type 1
24/09/2024 15:42:01 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
24/09/2024 15:42:01 created xdamage object: 0xc00026
24/09/2024 15:42:03 client_set_net: 112.134.157.141 0.0016
24/09/2024 15:42:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000018)
24/09/2024 15:42:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
24/09/2024 15:42:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
24/09/2024 15:42:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
24/09/2024 15:42:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
24/09/2024 15:42:03 Enabling full-color cursor updates for client 112.134.157.141
24/09/2024 15:42:03 Enabling NewFBSize protocol extension for client 112.134.157.141
24/09/2024 15:42:03 Using ZRLE encoding for client 112.134.157.141
24/09/2024 15:42:03 Pixel format for client 112.134.157.141:
24/09/2024 15:42:03 8 bpp, depth 6
24/09/2024 15:42:03 true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
Это результат x11vnc при попытке подключения с помощью реакции-vnc зависает на «созданный объект xdamage: 0xc00027» на около 4 минут.
Код: Выделить всё
24/09/2024 15:42:43 Got connection from client 112.134.157.141
24/09/2024 15:42:43 0 other clients
24/09/2024 15:42:43 Got 'ws' WebSockets handshake
24/09/2024 15:42:43 - webSocketsHandshake: using binary/raw encoding
24/09/2024 15:42:43 - WebSockets client version hybi-13
24/09/2024 15:42:43 Disabled X server key autorepeat.
24/09/2024 15:42:43 to force back on run: 'xset r on' (3 times)
24/09/2024 15:42:43 incr accepted_client=3 for 112.134.157.141:47494 sock=10
24/09/2024 15:42:43 created xdamage object: 0xc00027
24/09/2024 15:46:42 hybiReadHeader: read; Connection reset by peer
24/09/2024 15:46:42 rfbProcessClientProtocolVersion: read: Connection reset by peer
24/09/2024 15:46:42 client_count: 0
24/09/2024 15:46:42 Restored X server key autorepeat to: 1
24/09/2024 15:46:42 Client 112.134.157.141 gone
24/09/2024 15:46:42 Statistics events Transmit/ RawEquiv ( saved)
24/09/2024 15:46:42 TOTALS : 0 | 0/ 0 ( 0.0%)
24/09/2024 15:46:42 Statistics events Received/ RawEquiv ( saved)
24/09/2024 15:46:42 TOTALS : 0 | 0/ 0 ( 0.0%)
24/09/2024 15:46:45 destroyed xdamage object: 0xc00027
Код: Выделить всё
"use client";
import React, { useRef } from 'react';
import { VncScreen } from 'react-vnc';
function App() {
const ref = useRef();
return (
);
}
export default App;
Код: Выделить всё
"index.es.js:9621 WebSocket connection to 'ws://:5900/' failed: WebSocket is closed before the connection is established.
close @ index.es.js:9621
"
Подробнее здесь: https://stackoverflow.com/questions/790 ... ide-docker
Мобильная версия