x11vnc/real-vnc-viewer: Closes After 15 Seconds Idle The 2019 Stack Overflow Developer Survey...

It's possible to achieve negative score?

Is "plugging out" electronic devices an American expression?

Is there a name of the flying bionic bird?

Access elements in std::string where positon of string is greater than its size

is usb on wall sockets live all the time with out switches off

Feasability of miniature nuclear reactors for humanoid cyborgs

Does it makes sense to buy a new cycle to learn riding?

How can I fix this gap between bookcases I made?

Falsification in Math vs Science

Should I use my personal or workplace e-mail when registering to external websites for work purpose?

Why isn't airport relocation done gradually?

Springs with some finite mass

Why is Grand Jury testimony secret?

Why can Shazam do this?

Output the Arecibo Message

Manuscript was "unsubmitted" because the manuscript was deposited in Arxiv Preprints

Is bread bad for ducks?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

Pristine Bit Checking

Any good smartcontract for "business calendar" oracles?

Unbreakable Formation vs. Cry of the Carnarium

If a poisoned arrow's piercing damage is reduced to 0, do you still get poisoned?

Where does the "burst of radiance" from Holy Weapon originate?

What tool would a Roman-age civilization have to grind silver and other metals into dust?



x11vnc/real-vnc-viewer: Closes After 15 Seconds Idle



The 2019 Stack Overflow Developer Survey Results Are InHow do I pass parameters from xrdp to the vnc viewer such as viewonly?VNC - simple test with vnc (x11vnc and ssvnc)vncviewer error:could not connect to session bus :failed to connect to socket/tmp/dbus-XXXXXXXX connection refused





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I'm usign Manjaro with XFCE on both machines and the client or server closes automatically if nothing happens for 15 seconds.



Client:



<15> 2019-04-08T15:39:53.768Z runlikehell vncviewer[3031]: LaunchProcess: Launching '/usr/bin/vncviewer' '-child' 'nas:0' '0'
<15> 2019-04-08T15:39:53.865Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered background, pausing syncing
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: TXImage: Using shared memory XImage
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: TXImage: Using default colormap and visual, TrueColor, depth 24.
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: CloudConfig.pkg file not found
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: Getting CloudConfig.pkg from built-in resource
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: VendorConfig: Reading VendorConfig from configData
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: Using business identifier 72c71d3f-1858-4f2a-9729-e04ef8929347
<14> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleCtrlComms: Listening on /tmp/.vnc-1000/vncviewer.CtrlComms.3035
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Peer does not support sync, KeepAlive disabled
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: Bypass list is localhost,127.0.0.1,localaddress,.localdomain.com
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: SOCKS proxy is not set
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: HTTPS proxy is http://10.0.0.101:8118
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: Threading: created IpResolveThread 0
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Starting fallback timer (750 ms)
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: Threading: started IpResolveThread 7ff5a38b7700
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: IpResolver: Resolved 10.0.0.101::5900
<14> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CSession: Connecting to nas:0 (Chooser for Direct UDP/Direct TCP via proxy settings)
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: IpResolverIpc: Resolved 10.0.0.101::5900
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: UdpAddrConnector: Trying UDP to 10.0.0.101::5900
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: SocketUtil: Using receive buffer size of 416 KiB
<15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: SocketUtil: Using send buffer size of 416 KiB
<15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: SctpIo: shutdown complete 0x111f950
<15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpAddrConnector: UDP to 10.0.0.101::5900 failed: [System-111] Transport error: recvfrom(): Connection refused (111)
<15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: UDP failed: [System-111] Transport error: recvfrom(): Connection refused (111)
<15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Trying Direct TCP via proxy settings fallback
<15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: ProxyFetcherConnector: Using HTTP CONNECT proxy 10.0.0.101:8118
<15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: TcpAddrConnector: Trying TCP to 10.0.0.101::8118
<15> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Connected via Direct TCP via HTTP CONNECT proxy 10.0.0.101:8118 (took 6ms)
<14> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: CSession: Beginning RFB connection to nas::5900
<14> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: CSession: Encryption set to 'Server'
<15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: reading protocol version
<14> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Server supports RFB protocol version 3.8
<14> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Using RFB protocol version 3.8
<15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Peer does not support sync, KeepAlive disabled
<15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security types message
<15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security types message
<15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: Server offers security type VncAuth(2)
<14> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: Choosing security type VncAuth(2)
<15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
<15> 2019-04-08T15:39:54.141Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
<15> 2019-04-08T15:39:54.141Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
<15> 2019-04-08T15:39:56.118Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered foreground, resuming syncing
<15> 2019-04-08T15:39:56.120Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
<15> 2019-04-08T15:39:56.120Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security result message
<15> 2019-04-08T15:39:56.121Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered background, pausing syncing
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security result message
<14> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Authentication successful
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'DesktopName' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'EncodingList' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'UserAgent' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'RelPtrCtrl' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Printing' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'FileTransfer' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Fops' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'MStorage' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Chat' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Chat2' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Elevate' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Elevated' 1
<15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Reboot' 1
<15> 2019-04-08T15:39:56.500Z runlikehell vncviewer[3031]: ListViewImpl: Reload data
<14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Server pixel format depth 24 (32 bpp) little-endian rgb888
<15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CSession: setDesktopSize 1280x1024
<15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Initialisation done
<15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: ConfigParameter: set RelativePtr(bool) to 0, priority 20
<14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: requesting initial update
<14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting ZRLE2 encoding (line speed 0 kbit/s)
<14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Using pixel format depth 6 (8 bpp) rgb222
<15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 1
<15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 5
<15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
<15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusOut: 0x6000008, 0, 5
<15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 0
<15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 0
<15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
<15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: selections were old; ignoring
<14> 2019-04-08T15:39:57.549Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting full color (line speed 7657 kbit/s)
<14> 2019-04-08T15:39:57.549Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Using pixel format depth 24 (32 bpp) little-endian rgb888
<14> 2019-04-08T15:39:58.399Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting ZRLE2 encoding (line speed 40240 kbit/s)
<15> 2019-04-08T15:39:58.832Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusOut: 0x6000008, 0, 3
<15> 2019-04-08T15:40:10.178Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 0
<15> 2019-04-08T15:40:10.192Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 0
<15> 2019-04-08T15:40:10.197Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
<15> 2019-04-08T15:40:10.197Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: selections were old; ignoring
<14> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: CConnection: close: [EndOfStream] Die Verbindung wurde unerwartet beendet.
<15> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: FdIo: shutdown 0x107a900 (fd=12), flush true (tellHandler true)
<15> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: FdIo: shutdown complete 0x107a900 (fd=12)
<15> 2019-04-08T15:40:13.460Z runlikehell vncviewer[3031]: ListViewImpl: Reload data
<15> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: Thumb: Creating thumbnail at 320,200
<14> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: JpegEncoder: SetQuality 95, was 50
<15> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: IoPool: Open Ios in pool at shutdown: 0
<15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: Ipc: AbChild: End of IO stream
<15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: FdIo: shutdown 0x21977e0 (fd=8), flush false (tellHandler false)
<15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: FdIo: immediate shutdown 0x21977e0 (fd=8)


Server:



08/04/2019 17:39:53 Got connection from client 10.0.0.101
08/04/2019 17:39:53 other clients:
08/04/2019 17:39:54 Normal socket connection
08/04/2019 17:39:54 Disabled X server key autorepeat.
08/04/2019 17:39:54 to force back on run: 'xset r on' (3 times)
08/04/2019 17:39:54 guessed desktop: xfce
08/04/2019 17:39:54 guessed dbus:
08/04/2019 17:39:54 running command:

xfconf-query -v -c xfce4-desktop -p /backdrop/screen0/monitor0/color-style -s '0'

Die Eigenschaft »/backdrop/screen0/monitor0/color-style« ist in dem Kanal »xfce4-desktop« nicht vorhanden. Um eine neue Eigenschaft anzulegen, bitte die Option --create« benutzen.
08/04/2019 17:39:54 running command:

xfconf-query -v -c xfce4-desktop -p /backdrop/screen0/monitor0/image-show -s 'false'

Die Eigenschaft »/backdrop/screen0/monitor0/image-show« ist in dem Kanal »xfce4-desktop« nicht vorhanden. Um eine neue Eigenschaft anzulegen, bitte die Option --create« benutzen.
08/04/2019 17:39:54 incr accepted_client=125 for 10.0.0.101:60042 sock=11
08/04/2019 17:39:54 Client Protocol Version 3.8
08/04/2019 17:39:54 Protocol version sent 3.8, using 3.8
08/04/2019 17:39:54 rfbProcessClientSecurityType: executing handler for type 2
08/04/2019 17:39:54 switching DPMS state from DPMSModeOff to DPMSModeOn
08/04/2019 17:39:54 created xdamage object: 0x4000a6
08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000018)
08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
08/04/2019 17:39:56 Enabling full-color cursor updates for client 10.0.0.101
08/04/2019 17:39:56 Enabling NewFBSize protocol extension for client 10.0.0.101
08/04/2019 17:39:56 Using ZRLE encoding for client 10.0.0.101
08/04/2019 17:39:56 Pixel format for client 10.0.0.101:
08/04/2019 17:39:56 8 bpp, depth 6
08/04/2019 17:39:56 true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
08/04/2019 17:39:57 Pixel format for client 10.0.0.101:
08/04/2019 17:39:57 32 bpp, depth 24, little endian
08/04/2019 17:39:57 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
08/04/2019 17:39:57 no translation needed
08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000018)
08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
08/04/2019 17:39:58 Enabling full-color cursor updates for client 10.0.0.101
08/04/2019 17:39:58 Enabling NewFBSize protocol extension for client 10.0.0.101
08/04/2019 17:39:58 Switching from ZRLE to hextile Encoding for client 10.0.0.101
08/04/2019 17:39:58 client_set_net: 10.0.0.101 0.0001
08/04/2019 17:40:13 client_count: 0
08/04/2019 17:40:13 Restored X server key autorepeat to: 1
08/04/2019 17:40:13 guessed dbus:
08/04/2019 17:40:13 Client 10.0.0.101 gone
08/04/2019 17:40:13 Statistics events Transmit/ RawEquiv ( saved)
08/04/2019 17:40:13 FramebufferUpdate : 3 | 0/ 0 ( 0.0%)
08/04/2019 17:40:13 hextile : 1 | 16/ 1308 ( 98.8%)
08/04/2019 17:40:13 ZRLE : 2 | 176337/ 6553600 ( 97.3%)
08/04/2019 17:40:13 RichCursor : 2 | 1776/ 1776 ( 0.0%)
08/04/2019 17:40:13 TOTALS : 8 | 178129/ 6556684 ( 97.3%)
08/04/2019 17:40:13 Statistics events Received/ RawEquiv ( saved)
08/04/2019 17:40:13 PointerEvent : 51 | 306/ 306 ( 0.0%)
08/04/2019 17:40:13 FramebufferUpdate : 4 | 40/ 40 ( 0.0%)
08/04/2019 17:40:13 SetPixelFormat : 2 | 40/ 40 ( 0.0%)
08/04/2019 17:40:13 SetEncodings : 2 | 112/ 112 ( 0.0%)
08/04/2019 17:40:13 TOTALS : 59 | 498/ 498 ( 0.0%)
08/04/2019 17:40:13 destroyed xdamage object: 0x4000a6


So the client caught an unexpected closing of the connection:



CConnection: close: [EndOfStream] Die Verbindung wurde unerwartet beendet.


The server doesn't say why it closed the connection.



I noticed that the client logged



RfbConnection: Peer does not support sync, KeepAlive disabled


Does that mean something?



My .x11vncrc



display :0
auth ~/.Xauthority
rfbauth /home/nas/.vnc/passwd
loop
nevershared
forever
solid
cursor arrow
nodpms


And I start it from my .xprofile



# using the authority-file (see .x11vncrc) doesn't work during start-up, so have x11vnc guess it
x11vnc -auth guess &


I could find anything which option defaults to 15 seconds. I mean it's nice that it closes the connection automatically, but it shouldn't do it after just 15 seconds.



How do I keep the connection open for a few minutes?










share|improve this question































    0















    I'm usign Manjaro with XFCE on both machines and the client or server closes automatically if nothing happens for 15 seconds.



    Client:



    <15> 2019-04-08T15:39:53.768Z runlikehell vncviewer[3031]: LaunchProcess: Launching '/usr/bin/vncviewer' '-child' 'nas:0' '0'
    <15> 2019-04-08T15:39:53.865Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered background, pausing syncing
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: TXImage: Using shared memory XImage
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: TXImage: Using default colormap and visual, TrueColor, depth 24.
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: CloudConfig.pkg file not found
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: Getting CloudConfig.pkg from built-in resource
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: VendorConfig: Reading VendorConfig from configData
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: Using business identifier 72c71d3f-1858-4f2a-9729-e04ef8929347
    <14> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleCtrlComms: Listening on /tmp/.vnc-1000/vncviewer.CtrlComms.3035
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Peer does not support sync, KeepAlive disabled
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: Bypass list is localhost,127.0.0.1,localaddress,.localdomain.com
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: SOCKS proxy is not set
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: HTTPS proxy is http://10.0.0.101:8118
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: Threading: created IpResolveThread 0
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Starting fallback timer (750 ms)
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: Threading: started IpResolveThread 7ff5a38b7700
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: IpResolver: Resolved 10.0.0.101::5900
    <14> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CSession: Connecting to nas:0 (Chooser for Direct UDP/Direct TCP via proxy settings)
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: IpResolverIpc: Resolved 10.0.0.101::5900
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: UdpAddrConnector: Trying UDP to 10.0.0.101::5900
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: SocketUtil: Using receive buffer size of 416 KiB
    <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: SocketUtil: Using send buffer size of 416 KiB
    <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: SctpIo: shutdown complete 0x111f950
    <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpAddrConnector: UDP to 10.0.0.101::5900 failed: [System-111] Transport error: recvfrom(): Connection refused (111)
    <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: UDP failed: [System-111] Transport error: recvfrom(): Connection refused (111)
    <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Trying Direct TCP via proxy settings fallback
    <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: ProxyFetcherConnector: Using HTTP CONNECT proxy 10.0.0.101:8118
    <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: TcpAddrConnector: Trying TCP to 10.0.0.101::8118
    <15> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Connected via Direct TCP via HTTP CONNECT proxy 10.0.0.101:8118 (took 6ms)
    <14> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: CSession: Beginning RFB connection to nas::5900
    <14> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: CSession: Encryption set to 'Server'
    <15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: reading protocol version
    <14> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Server supports RFB protocol version 3.8
    <14> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Using RFB protocol version 3.8
    <15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Peer does not support sync, KeepAlive disabled
    <15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security types message
    <15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security types message
    <15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: Server offers security type VncAuth(2)
    <14> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: Choosing security type VncAuth(2)
    <15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
    <15> 2019-04-08T15:39:54.141Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
    <15> 2019-04-08T15:39:54.141Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
    <15> 2019-04-08T15:39:56.118Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered foreground, resuming syncing
    <15> 2019-04-08T15:39:56.120Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
    <15> 2019-04-08T15:39:56.120Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security result message
    <15> 2019-04-08T15:39:56.121Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered background, pausing syncing
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security result message
    <14> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Authentication successful
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'DesktopName' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'EncodingList' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'UserAgent' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'RelPtrCtrl' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Printing' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'FileTransfer' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Fops' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'MStorage' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Chat' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Chat2' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Elevate' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Elevated' 1
    <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Reboot' 1
    <15> 2019-04-08T15:39:56.500Z runlikehell vncviewer[3031]: ListViewImpl: Reload data
    <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Server pixel format depth 24 (32 bpp) little-endian rgb888
    <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CSession: setDesktopSize 1280x1024
    <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Initialisation done
    <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: ConfigParameter: set RelativePtr(bool) to 0, priority 20
    <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: requesting initial update
    <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting ZRLE2 encoding (line speed 0 kbit/s)
    <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Using pixel format depth 6 (8 bpp) rgb222
    <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 1
    <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 5
    <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
    <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusOut: 0x6000008, 0, 5
    <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 0
    <15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 0
    <15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
    <15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: selections were old; ignoring
    <14> 2019-04-08T15:39:57.549Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting full color (line speed 7657 kbit/s)
    <14> 2019-04-08T15:39:57.549Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Using pixel format depth 24 (32 bpp) little-endian rgb888
    <14> 2019-04-08T15:39:58.399Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting ZRLE2 encoding (line speed 40240 kbit/s)
    <15> 2019-04-08T15:39:58.832Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusOut: 0x6000008, 0, 3
    <15> 2019-04-08T15:40:10.178Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 0
    <15> 2019-04-08T15:40:10.192Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 0
    <15> 2019-04-08T15:40:10.197Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
    <15> 2019-04-08T15:40:10.197Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: selections were old; ignoring
    <14> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: CConnection: close: [EndOfStream] Die Verbindung wurde unerwartet beendet.
    <15> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: FdIo: shutdown 0x107a900 (fd=12), flush true (tellHandler true)
    <15> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: FdIo: shutdown complete 0x107a900 (fd=12)
    <15> 2019-04-08T15:40:13.460Z runlikehell vncviewer[3031]: ListViewImpl: Reload data
    <15> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: Thumb: Creating thumbnail at 320,200
    <14> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: JpegEncoder: SetQuality 95, was 50
    <15> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: IoPool: Open Ios in pool at shutdown: 0
    <15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: Ipc: AbChild: End of IO stream
    <15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: FdIo: shutdown 0x21977e0 (fd=8), flush false (tellHandler false)
    <15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: FdIo: immediate shutdown 0x21977e0 (fd=8)


    Server:



    08/04/2019 17:39:53 Got connection from client 10.0.0.101
    08/04/2019 17:39:53 other clients:
    08/04/2019 17:39:54 Normal socket connection
    08/04/2019 17:39:54 Disabled X server key autorepeat.
    08/04/2019 17:39:54 to force back on run: 'xset r on' (3 times)
    08/04/2019 17:39:54 guessed desktop: xfce
    08/04/2019 17:39:54 guessed dbus:
    08/04/2019 17:39:54 running command:

    xfconf-query -v -c xfce4-desktop -p /backdrop/screen0/monitor0/color-style -s '0'

    Die Eigenschaft »/backdrop/screen0/monitor0/color-style« ist in dem Kanal »xfce4-desktop« nicht vorhanden. Um eine neue Eigenschaft anzulegen, bitte die Option --create« benutzen.
    08/04/2019 17:39:54 running command:

    xfconf-query -v -c xfce4-desktop -p /backdrop/screen0/monitor0/image-show -s 'false'

    Die Eigenschaft »/backdrop/screen0/monitor0/image-show« ist in dem Kanal »xfce4-desktop« nicht vorhanden. Um eine neue Eigenschaft anzulegen, bitte die Option --create« benutzen.
    08/04/2019 17:39:54 incr accepted_client=125 for 10.0.0.101:60042 sock=11
    08/04/2019 17:39:54 Client Protocol Version 3.8
    08/04/2019 17:39:54 Protocol version sent 3.8, using 3.8
    08/04/2019 17:39:54 rfbProcessClientSecurityType: executing handler for type 2
    08/04/2019 17:39:54 switching DPMS state from DPMSModeOff to DPMSModeOn
    08/04/2019 17:39:54 created xdamage object: 0x4000a6
    08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000018)
    08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
    08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
    08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
    08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
    08/04/2019 17:39:56 Enabling full-color cursor updates for client 10.0.0.101
    08/04/2019 17:39:56 Enabling NewFBSize protocol extension for client 10.0.0.101
    08/04/2019 17:39:56 Using ZRLE encoding for client 10.0.0.101
    08/04/2019 17:39:56 Pixel format for client 10.0.0.101:
    08/04/2019 17:39:56 8 bpp, depth 6
    08/04/2019 17:39:56 true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
    08/04/2019 17:39:57 Pixel format for client 10.0.0.101:
    08/04/2019 17:39:57 32 bpp, depth 24, little endian
    08/04/2019 17:39:57 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
    08/04/2019 17:39:57 no translation needed
    08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000018)
    08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
    08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
    08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
    08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
    08/04/2019 17:39:58 Enabling full-color cursor updates for client 10.0.0.101
    08/04/2019 17:39:58 Enabling NewFBSize protocol extension for client 10.0.0.101
    08/04/2019 17:39:58 Switching from ZRLE to hextile Encoding for client 10.0.0.101
    08/04/2019 17:39:58 client_set_net: 10.0.0.101 0.0001
    08/04/2019 17:40:13 client_count: 0
    08/04/2019 17:40:13 Restored X server key autorepeat to: 1
    08/04/2019 17:40:13 guessed dbus:
    08/04/2019 17:40:13 Client 10.0.0.101 gone
    08/04/2019 17:40:13 Statistics events Transmit/ RawEquiv ( saved)
    08/04/2019 17:40:13 FramebufferUpdate : 3 | 0/ 0 ( 0.0%)
    08/04/2019 17:40:13 hextile : 1 | 16/ 1308 ( 98.8%)
    08/04/2019 17:40:13 ZRLE : 2 | 176337/ 6553600 ( 97.3%)
    08/04/2019 17:40:13 RichCursor : 2 | 1776/ 1776 ( 0.0%)
    08/04/2019 17:40:13 TOTALS : 8 | 178129/ 6556684 ( 97.3%)
    08/04/2019 17:40:13 Statistics events Received/ RawEquiv ( saved)
    08/04/2019 17:40:13 PointerEvent : 51 | 306/ 306 ( 0.0%)
    08/04/2019 17:40:13 FramebufferUpdate : 4 | 40/ 40 ( 0.0%)
    08/04/2019 17:40:13 SetPixelFormat : 2 | 40/ 40 ( 0.0%)
    08/04/2019 17:40:13 SetEncodings : 2 | 112/ 112 ( 0.0%)
    08/04/2019 17:40:13 TOTALS : 59 | 498/ 498 ( 0.0%)
    08/04/2019 17:40:13 destroyed xdamage object: 0x4000a6


    So the client caught an unexpected closing of the connection:



    CConnection: close: [EndOfStream] Die Verbindung wurde unerwartet beendet.


    The server doesn't say why it closed the connection.



    I noticed that the client logged



    RfbConnection: Peer does not support sync, KeepAlive disabled


    Does that mean something?



    My .x11vncrc



    display :0
    auth ~/.Xauthority
    rfbauth /home/nas/.vnc/passwd
    loop
    nevershared
    forever
    solid
    cursor arrow
    nodpms


    And I start it from my .xprofile



    # using the authority-file (see .x11vncrc) doesn't work during start-up, so have x11vnc guess it
    x11vnc -auth guess &


    I could find anything which option defaults to 15 seconds. I mean it's nice that it closes the connection automatically, but it shouldn't do it after just 15 seconds.



    How do I keep the connection open for a few minutes?










    share|improve this question



























      0












      0








      0








      I'm usign Manjaro with XFCE on both machines and the client or server closes automatically if nothing happens for 15 seconds.



      Client:



      <15> 2019-04-08T15:39:53.768Z runlikehell vncviewer[3031]: LaunchProcess: Launching '/usr/bin/vncviewer' '-child' 'nas:0' '0'
      <15> 2019-04-08T15:39:53.865Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered background, pausing syncing
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: TXImage: Using shared memory XImage
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: TXImage: Using default colormap and visual, TrueColor, depth 24.
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: CloudConfig.pkg file not found
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: Getting CloudConfig.pkg from built-in resource
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: VendorConfig: Reading VendorConfig from configData
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: Using business identifier 72c71d3f-1858-4f2a-9729-e04ef8929347
      <14> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleCtrlComms: Listening on /tmp/.vnc-1000/vncviewer.CtrlComms.3035
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Peer does not support sync, KeepAlive disabled
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: Bypass list is localhost,127.0.0.1,localaddress,.localdomain.com
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: SOCKS proxy is not set
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: HTTPS proxy is http://10.0.0.101:8118
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: Threading: created IpResolveThread 0
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Starting fallback timer (750 ms)
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: Threading: started IpResolveThread 7ff5a38b7700
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: IpResolver: Resolved 10.0.0.101::5900
      <14> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CSession: Connecting to nas:0 (Chooser for Direct UDP/Direct TCP via proxy settings)
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: IpResolverIpc: Resolved 10.0.0.101::5900
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: UdpAddrConnector: Trying UDP to 10.0.0.101::5900
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: SocketUtil: Using receive buffer size of 416 KiB
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: SocketUtil: Using send buffer size of 416 KiB
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: SctpIo: shutdown complete 0x111f950
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpAddrConnector: UDP to 10.0.0.101::5900 failed: [System-111] Transport error: recvfrom(): Connection refused (111)
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: UDP failed: [System-111] Transport error: recvfrom(): Connection refused (111)
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Trying Direct TCP via proxy settings fallback
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: ProxyFetcherConnector: Using HTTP CONNECT proxy 10.0.0.101:8118
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: TcpAddrConnector: Trying TCP to 10.0.0.101::8118
      <15> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Connected via Direct TCP via HTTP CONNECT proxy 10.0.0.101:8118 (took 6ms)
      <14> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: CSession: Beginning RFB connection to nas::5900
      <14> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: CSession: Encryption set to 'Server'
      <15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: reading protocol version
      <14> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Server supports RFB protocol version 3.8
      <14> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Using RFB protocol version 3.8
      <15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Peer does not support sync, KeepAlive disabled
      <15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security types message
      <15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security types message
      <15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: Server offers security type VncAuth(2)
      <14> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: Choosing security type VncAuth(2)
      <15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
      <15> 2019-04-08T15:39:54.141Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
      <15> 2019-04-08T15:39:54.141Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
      <15> 2019-04-08T15:39:56.118Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered foreground, resuming syncing
      <15> 2019-04-08T15:39:56.120Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
      <15> 2019-04-08T15:39:56.120Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security result message
      <15> 2019-04-08T15:39:56.121Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered background, pausing syncing
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security result message
      <14> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Authentication successful
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'DesktopName' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'EncodingList' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'UserAgent' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'RelPtrCtrl' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Printing' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'FileTransfer' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Fops' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'MStorage' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Chat' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Chat2' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Elevate' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Elevated' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Reboot' 1
      <15> 2019-04-08T15:39:56.500Z runlikehell vncviewer[3031]: ListViewImpl: Reload data
      <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Server pixel format depth 24 (32 bpp) little-endian rgb888
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CSession: setDesktopSize 1280x1024
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Initialisation done
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: ConfigParameter: set RelativePtr(bool) to 0, priority 20
      <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: requesting initial update
      <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting ZRLE2 encoding (line speed 0 kbit/s)
      <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Using pixel format depth 6 (8 bpp) rgb222
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 1
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 5
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusOut: 0x6000008, 0, 5
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 0
      <15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 0
      <15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
      <15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: selections were old; ignoring
      <14> 2019-04-08T15:39:57.549Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting full color (line speed 7657 kbit/s)
      <14> 2019-04-08T15:39:57.549Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Using pixel format depth 24 (32 bpp) little-endian rgb888
      <14> 2019-04-08T15:39:58.399Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting ZRLE2 encoding (line speed 40240 kbit/s)
      <15> 2019-04-08T15:39:58.832Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusOut: 0x6000008, 0, 3
      <15> 2019-04-08T15:40:10.178Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 0
      <15> 2019-04-08T15:40:10.192Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 0
      <15> 2019-04-08T15:40:10.197Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
      <15> 2019-04-08T15:40:10.197Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: selections were old; ignoring
      <14> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: CConnection: close: [EndOfStream] Die Verbindung wurde unerwartet beendet.
      <15> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: FdIo: shutdown 0x107a900 (fd=12), flush true (tellHandler true)
      <15> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: FdIo: shutdown complete 0x107a900 (fd=12)
      <15> 2019-04-08T15:40:13.460Z runlikehell vncviewer[3031]: ListViewImpl: Reload data
      <15> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: Thumb: Creating thumbnail at 320,200
      <14> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: JpegEncoder: SetQuality 95, was 50
      <15> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: IoPool: Open Ios in pool at shutdown: 0
      <15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: Ipc: AbChild: End of IO stream
      <15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: FdIo: shutdown 0x21977e0 (fd=8), flush false (tellHandler false)
      <15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: FdIo: immediate shutdown 0x21977e0 (fd=8)


      Server:



      08/04/2019 17:39:53 Got connection from client 10.0.0.101
      08/04/2019 17:39:53 other clients:
      08/04/2019 17:39:54 Normal socket connection
      08/04/2019 17:39:54 Disabled X server key autorepeat.
      08/04/2019 17:39:54 to force back on run: 'xset r on' (3 times)
      08/04/2019 17:39:54 guessed desktop: xfce
      08/04/2019 17:39:54 guessed dbus:
      08/04/2019 17:39:54 running command:

      xfconf-query -v -c xfce4-desktop -p /backdrop/screen0/monitor0/color-style -s '0'

      Die Eigenschaft »/backdrop/screen0/monitor0/color-style« ist in dem Kanal »xfce4-desktop« nicht vorhanden. Um eine neue Eigenschaft anzulegen, bitte die Option --create« benutzen.
      08/04/2019 17:39:54 running command:

      xfconf-query -v -c xfce4-desktop -p /backdrop/screen0/monitor0/image-show -s 'false'

      Die Eigenschaft »/backdrop/screen0/monitor0/image-show« ist in dem Kanal »xfce4-desktop« nicht vorhanden. Um eine neue Eigenschaft anzulegen, bitte die Option --create« benutzen.
      08/04/2019 17:39:54 incr accepted_client=125 for 10.0.0.101:60042 sock=11
      08/04/2019 17:39:54 Client Protocol Version 3.8
      08/04/2019 17:39:54 Protocol version sent 3.8, using 3.8
      08/04/2019 17:39:54 rfbProcessClientSecurityType: executing handler for type 2
      08/04/2019 17:39:54 switching DPMS state from DPMSModeOff to DPMSModeOn
      08/04/2019 17:39:54 created xdamage object: 0x4000a6
      08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000018)
      08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
      08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
      08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
      08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
      08/04/2019 17:39:56 Enabling full-color cursor updates for client 10.0.0.101
      08/04/2019 17:39:56 Enabling NewFBSize protocol extension for client 10.0.0.101
      08/04/2019 17:39:56 Using ZRLE encoding for client 10.0.0.101
      08/04/2019 17:39:56 Pixel format for client 10.0.0.101:
      08/04/2019 17:39:56 8 bpp, depth 6
      08/04/2019 17:39:56 true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
      08/04/2019 17:39:57 Pixel format for client 10.0.0.101:
      08/04/2019 17:39:57 32 bpp, depth 24, little endian
      08/04/2019 17:39:57 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
      08/04/2019 17:39:57 no translation needed
      08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000018)
      08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
      08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
      08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
      08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
      08/04/2019 17:39:58 Enabling full-color cursor updates for client 10.0.0.101
      08/04/2019 17:39:58 Enabling NewFBSize protocol extension for client 10.0.0.101
      08/04/2019 17:39:58 Switching from ZRLE to hextile Encoding for client 10.0.0.101
      08/04/2019 17:39:58 client_set_net: 10.0.0.101 0.0001
      08/04/2019 17:40:13 client_count: 0
      08/04/2019 17:40:13 Restored X server key autorepeat to: 1
      08/04/2019 17:40:13 guessed dbus:
      08/04/2019 17:40:13 Client 10.0.0.101 gone
      08/04/2019 17:40:13 Statistics events Transmit/ RawEquiv ( saved)
      08/04/2019 17:40:13 FramebufferUpdate : 3 | 0/ 0 ( 0.0%)
      08/04/2019 17:40:13 hextile : 1 | 16/ 1308 ( 98.8%)
      08/04/2019 17:40:13 ZRLE : 2 | 176337/ 6553600 ( 97.3%)
      08/04/2019 17:40:13 RichCursor : 2 | 1776/ 1776 ( 0.0%)
      08/04/2019 17:40:13 TOTALS : 8 | 178129/ 6556684 ( 97.3%)
      08/04/2019 17:40:13 Statistics events Received/ RawEquiv ( saved)
      08/04/2019 17:40:13 PointerEvent : 51 | 306/ 306 ( 0.0%)
      08/04/2019 17:40:13 FramebufferUpdate : 4 | 40/ 40 ( 0.0%)
      08/04/2019 17:40:13 SetPixelFormat : 2 | 40/ 40 ( 0.0%)
      08/04/2019 17:40:13 SetEncodings : 2 | 112/ 112 ( 0.0%)
      08/04/2019 17:40:13 TOTALS : 59 | 498/ 498 ( 0.0%)
      08/04/2019 17:40:13 destroyed xdamage object: 0x4000a6


      So the client caught an unexpected closing of the connection:



      CConnection: close: [EndOfStream] Die Verbindung wurde unerwartet beendet.


      The server doesn't say why it closed the connection.



      I noticed that the client logged



      RfbConnection: Peer does not support sync, KeepAlive disabled


      Does that mean something?



      My .x11vncrc



      display :0
      auth ~/.Xauthority
      rfbauth /home/nas/.vnc/passwd
      loop
      nevershared
      forever
      solid
      cursor arrow
      nodpms


      And I start it from my .xprofile



      # using the authority-file (see .x11vncrc) doesn't work during start-up, so have x11vnc guess it
      x11vnc -auth guess &


      I could find anything which option defaults to 15 seconds. I mean it's nice that it closes the connection automatically, but it shouldn't do it after just 15 seconds.



      How do I keep the connection open for a few minutes?










      share|improve this question
















      I'm usign Manjaro with XFCE on both machines and the client or server closes automatically if nothing happens for 15 seconds.



      Client:



      <15> 2019-04-08T15:39:53.768Z runlikehell vncviewer[3031]: LaunchProcess: Launching '/usr/bin/vncviewer' '-child' 'nas:0' '0'
      <15> 2019-04-08T15:39:53.865Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered background, pausing syncing
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: TXImage: Using shared memory XImage
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: TXImage: Using default colormap and visual, TrueColor, depth 24.
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: CloudConfig.pkg file not found
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: Getting CloudConfig.pkg from built-in resource
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: VendorConfig: Reading VendorConfig from configData
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleHosted: Using business identifier 72c71d3f-1858-4f2a-9729-e04ef8929347
      <14> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CModuleCtrlComms: Listening on /tmp/.vnc-1000/vncviewer.CtrlComms.3035
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Peer does not support sync, KeepAlive disabled
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: Bypass list is localhost,127.0.0.1,localaddress,.localdomain.com
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: SOCKS proxy is not set
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: ProxySettings: HTTPS proxy is http://10.0.0.101:8118
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: Threading: created IpResolveThread 0
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Starting fallback timer (750 ms)
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: Threading: started IpResolveThread 7ff5a38b7700
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: IpResolver: Resolved 10.0.0.101::5900
      <14> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: CSession: Connecting to nas:0 (Chooser for Direct UDP/Direct TCP via proxy settings)
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: IpResolverIpc: Resolved 10.0.0.101::5900
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: UdpAddrConnector: Trying UDP to 10.0.0.101::5900
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: SocketUtil: Using receive buffer size of 416 KiB
      <15> 2019-04-08T15:39:53.873Z runlikehell vncviewer[3031]: Child: 3035: SocketUtil: Using send buffer size of 416 KiB
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: SctpIo: shutdown complete 0x111f950
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpAddrConnector: UDP to 10.0.0.101::5900 failed: [System-111] Transport error: recvfrom(): Connection refused (111)
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: UDP failed: [System-111] Transport error: recvfrom(): Connection refused (111)
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Trying Direct TCP via proxy settings fallback
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: ProxyFetcherConnector: Using HTTP CONNECT proxy 10.0.0.101:8118
      <15> 2019-04-08T15:39:53.874Z runlikehell vncviewer[3031]: Child: 3035: TcpAddrConnector: Trying TCP to 10.0.0.101::8118
      <15> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: UdpConnector: Connected via Direct TCP via HTTP CONNECT proxy 10.0.0.101:8118 (took 6ms)
      <14> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: CSession: Beginning RFB connection to nas::5900
      <14> 2019-04-08T15:39:53.877Z runlikehell vncviewer[3031]: Child: 3035: CSession: Encryption set to 'Server'
      <15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: reading protocol version
      <14> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Server supports RFB protocol version 3.8
      <14> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Using RFB protocol version 3.8
      <15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Peer does not support sync, KeepAlive disabled
      <15> 2019-04-08T15:39:54.047Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security types message
      <15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security types message
      <15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: Server offers security type VncAuth(2)
      <14> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: Choosing security type VncAuth(2)
      <15> 2019-04-08T15:39:54.117Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
      <15> 2019-04-08T15:39:54.141Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
      <15> 2019-04-08T15:39:54.141Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
      <15> 2019-04-08T15:39:56.118Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered foreground, resuming syncing
      <15> 2019-04-08T15:39:56.120Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security message
      <15> 2019-04-08T15:39:56.120Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security result message
      <15> 2019-04-08T15:39:56.121Z runlikehell vncviewer[3031]: AbModuleHosted: AddressBook entered background, pausing syncing
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: CProtoPreV5: processing security result message
      <14> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Authentication successful
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'DesktopName' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'EncodingList' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'UserAgent' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'RelPtrCtrl' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Printing' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'FileTransfer' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Fops' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'MStorage' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Chat' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Chat2' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Elevate' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Elevated' 1
      <15> 2019-04-08T15:39:56.226Z runlikehell vncviewer[3031]: Child: 3035: RfbConnection: Enabling extension 'Reboot' 1
      <15> 2019-04-08T15:39:56.500Z runlikehell vncviewer[3031]: ListViewImpl: Reload data
      <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Server pixel format depth 24 (32 bpp) little-endian rgb888
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CSession: setDesktopSize 1280x1024
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CConnection: Initialisation done
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: ConfigParameter: set RelativePtr(bool) to 0, priority 20
      <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: requesting initial update
      <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting ZRLE2 encoding (line speed 0 kbit/s)
      <14> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Using pixel format depth 6 (8 bpp) rgb222
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 1
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 5
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusOut: 0x6000008, 0, 5
      <15> 2019-04-08T15:39:56.533Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 0
      <15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 0
      <15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
      <15> 2019-04-08T15:39:56.545Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: selections were old; ignoring
      <14> 2019-04-08T15:39:57.549Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting full color (line speed 7657 kbit/s)
      <14> 2019-04-08T15:39:57.549Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Using pixel format depth 24 (32 bpp) little-endian rgb888
      <14> 2019-04-08T15:39:58.399Z runlikehell vncviewer[3031]: Child: 3035: QualSelector: Requesting ZRLE2 encoding (line speed 40240 kbit/s)
      <15> 2019-04-08T15:39:58.832Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusOut: 0x6000008, 0, 3
      <15> 2019-04-08T15:40:10.178Z runlikehell vncviewer[3031]: Child: 3035: CDesktopX11: FocusIn: 0x6000008, 0, 0
      <15> 2019-04-08T15:40:10.192Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: PRIMARY selection time is 2840563, later 0
      <15> 2019-04-08T15:40:10.197Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: CLIPBOARD selection time is 2840563, later 0
      <15> 2019-04-08T15:40:10.197Z runlikehell vncviewer[3031]: Child: 3035: TXClipboardWindow: selections were old; ignoring
      <14> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: CConnection: close: [EndOfStream] Die Verbindung wurde unerwartet beendet.
      <15> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: FdIo: shutdown 0x107a900 (fd=12), flush true (tellHandler true)
      <15> 2019-04-08T15:40:13.450Z runlikehell vncviewer[3031]: Child: 3035: FdIo: shutdown complete 0x107a900 (fd=12)
      <15> 2019-04-08T15:40:13.460Z runlikehell vncviewer[3031]: ListViewImpl: Reload data
      <15> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: Thumb: Creating thumbnail at 320,200
      <14> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: JpegEncoder: SetQuality 95, was 50
      <15> 2019-04-08T15:40:13.465Z runlikehell vncviewer[3031]: Child: 3035: IoPool: Open Ios in pool at shutdown: 0
      <15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: Ipc: AbChild: End of IO stream
      <15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: FdIo: shutdown 0x21977e0 (fd=8), flush false (tellHandler false)
      <15> 2019-04-08T15:40:13.469Z runlikehell vncviewer[3031]: FdIo: immediate shutdown 0x21977e0 (fd=8)


      Server:



      08/04/2019 17:39:53 Got connection from client 10.0.0.101
      08/04/2019 17:39:53 other clients:
      08/04/2019 17:39:54 Normal socket connection
      08/04/2019 17:39:54 Disabled X server key autorepeat.
      08/04/2019 17:39:54 to force back on run: 'xset r on' (3 times)
      08/04/2019 17:39:54 guessed desktop: xfce
      08/04/2019 17:39:54 guessed dbus:
      08/04/2019 17:39:54 running command:

      xfconf-query -v -c xfce4-desktop -p /backdrop/screen0/monitor0/color-style -s '0'

      Die Eigenschaft »/backdrop/screen0/monitor0/color-style« ist in dem Kanal »xfce4-desktop« nicht vorhanden. Um eine neue Eigenschaft anzulegen, bitte die Option --create« benutzen.
      08/04/2019 17:39:54 running command:

      xfconf-query -v -c xfce4-desktop -p /backdrop/screen0/monitor0/image-show -s 'false'

      Die Eigenschaft »/backdrop/screen0/monitor0/image-show« ist in dem Kanal »xfce4-desktop« nicht vorhanden. Um eine neue Eigenschaft anzulegen, bitte die Option --create« benutzen.
      08/04/2019 17:39:54 incr accepted_client=125 for 10.0.0.101:60042 sock=11
      08/04/2019 17:39:54 Client Protocol Version 3.8
      08/04/2019 17:39:54 Protocol version sent 3.8, using 3.8
      08/04/2019 17:39:54 rfbProcessClientSecurityType: executing handler for type 2
      08/04/2019 17:39:54 switching DPMS state from DPMSModeOff to DPMSModeOn
      08/04/2019 17:39:54 created xdamage object: 0x4000a6
      08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000018)
      08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
      08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
      08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
      08/04/2019 17:39:56 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
      08/04/2019 17:39:56 Enabling full-color cursor updates for client 10.0.0.101
      08/04/2019 17:39:56 Enabling NewFBSize protocol extension for client 10.0.0.101
      08/04/2019 17:39:56 Using ZRLE encoding for client 10.0.0.101
      08/04/2019 17:39:56 Pixel format for client 10.0.0.101:
      08/04/2019 17:39:56 8 bpp, depth 6
      08/04/2019 17:39:56 true colour: max r 3 g 3 b 3, shift r 4 g 2 b 0
      08/04/2019 17:39:57 Pixel format for client 10.0.0.101:
      08/04/2019 17:39:57 32 bpp, depth 24, little endian
      08/04/2019 17:39:57 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
      08/04/2019 17:39:57 no translation needed
      08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000018)
      08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000F)
      08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000016)
      08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x00000015)
      08/04/2019 17:39:58 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEC6)
      08/04/2019 17:39:58 Enabling full-color cursor updates for client 10.0.0.101
      08/04/2019 17:39:58 Enabling NewFBSize protocol extension for client 10.0.0.101
      08/04/2019 17:39:58 Switching from ZRLE to hextile Encoding for client 10.0.0.101
      08/04/2019 17:39:58 client_set_net: 10.0.0.101 0.0001
      08/04/2019 17:40:13 client_count: 0
      08/04/2019 17:40:13 Restored X server key autorepeat to: 1
      08/04/2019 17:40:13 guessed dbus:
      08/04/2019 17:40:13 Client 10.0.0.101 gone
      08/04/2019 17:40:13 Statistics events Transmit/ RawEquiv ( saved)
      08/04/2019 17:40:13 FramebufferUpdate : 3 | 0/ 0 ( 0.0%)
      08/04/2019 17:40:13 hextile : 1 | 16/ 1308 ( 98.8%)
      08/04/2019 17:40:13 ZRLE : 2 | 176337/ 6553600 ( 97.3%)
      08/04/2019 17:40:13 RichCursor : 2 | 1776/ 1776 ( 0.0%)
      08/04/2019 17:40:13 TOTALS : 8 | 178129/ 6556684 ( 97.3%)
      08/04/2019 17:40:13 Statistics events Received/ RawEquiv ( saved)
      08/04/2019 17:40:13 PointerEvent : 51 | 306/ 306 ( 0.0%)
      08/04/2019 17:40:13 FramebufferUpdate : 4 | 40/ 40 ( 0.0%)
      08/04/2019 17:40:13 SetPixelFormat : 2 | 40/ 40 ( 0.0%)
      08/04/2019 17:40:13 SetEncodings : 2 | 112/ 112 ( 0.0%)
      08/04/2019 17:40:13 TOTALS : 59 | 498/ 498 ( 0.0%)
      08/04/2019 17:40:13 destroyed xdamage object: 0x4000a6


      So the client caught an unexpected closing of the connection:



      CConnection: close: [EndOfStream] Die Verbindung wurde unerwartet beendet.


      The server doesn't say why it closed the connection.



      I noticed that the client logged



      RfbConnection: Peer does not support sync, KeepAlive disabled


      Does that mean something?



      My .x11vncrc



      display :0
      auth ~/.Xauthority
      rfbauth /home/nas/.vnc/passwd
      loop
      nevershared
      forever
      solid
      cursor arrow
      nodpms


      And I start it from my .xprofile



      # using the authority-file (see .x11vncrc) doesn't work during start-up, so have x11vnc guess it
      x11vnc -auth guess &


      I could find anything which option defaults to 15 seconds. I mean it's nice that it closes the connection automatically, but it shouldn't do it after just 15 seconds.



      How do I keep the connection open for a few minutes?







      x11vnc vncviewer






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited yesterday







      sjngm

















      asked yesterday









      sjngmsjngm

      175110




      175110






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511269%2fx11vnc-real-vnc-viewer-closes-after-15-seconds-idle%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511269%2fx11vnc-real-vnc-viewer-closes-after-15-seconds-idle%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

          The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

          Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...