[Qt-embedded-interest] QWS with VNC display
Alberto Cerato
macros123 at gmail.com
Mon Mar 30 14:35:43 CEST 2009
I think the problem is with QtEmbedded. Here the log of the RFB packets exchanges
logged by vncrobot.
$ java -Xmx128m -Dvncrobot.rfb.debug=true -jar vncrobot.jar -c localhost:0
RFBCore: Client supports encodings: Raw(0),CopyRect(1),RRE(2),CoRRE(4),Hextile(5),Zlib(6),
RFBCore: module created, CLI params: HOST=localhost, PORT=5900,
S2C/ProtocolVersion: Highest RFB version supported by the server is 3.3
C2S/ProtocolVersion: Client requested communication in RFB version RFB 003.003
C2S: VNCRobot requests communication based on protocol version 3.3
S2C/Security: Server requires no security.
S2C: Server requires no security.
C2S: VNCRobot required shared mode of access to the remote desktop
C2S/ClientInit: Client requested shared desktop.
S2C/ServerInit: Connected to 'Qt for Embedded Linux VNC Server' (640x480)S2C/ServerInit: Server suggests following pixel format:
Bits per pixel: 16
Color depth: 16
Big endian: false
True color: true
Red max: 31
Green max: 63
Blue max: 31
Red shift: 11
Green shift: 5
Blue shift: 0
Padding (3b): ffffff90 79 ffffffb7
S2C: Connected to Qt for Embedded Linux VNC Server, frame buffer size is 640x480
C2S/SetEncodings: Client preferred encodings sent: RRE,Raw,CopyRect,CoRRE,Hextile,Zlib
C2S: Preferred encodings sent to server:
C2S/FramebufferUpdateRequest: Update of [x:0,y:0,w:640,h:480] requested, incremental=false
C2S: requesting initial full image of the remote desktop
java.io.EOFException
at java.io.DataInputStream.readUnsignedByte(DataInputStream.java:273)
at com.vncrobot.a.j.H(Unknown Source)
at com.vncrobot.a.j.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
com.vncrobot.a.e: ERROR: Server localhost unexpectedly closed connection.
It might be down or being restarted.
Another possibility is that your server runs in a single user mode and someone else just connected.
Please try to reconnect later.
at com.vncrobot.a.j.H(Unknown Source)
at com.vncrobot.a.j.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
ERROR: Server localhost unexpectedly closed connection.
It might be down or being restarted.
Another possibility is that your server runs in a single user mode and someone else just connected.
Please try to reconnect later.
$
I also have the packets dump...
--
Alberto Cerato
Skype Name albi_albi_albi
More information about the Qt-embedded-interest
mailing list