Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I connect via VNC to a Qt-embedded/Qtopia application running on my handheld or PC using the Linux console framebuffer (i.e. not X11)?

0
Posted

Can I connect via VNC to a Qt-embedded/Qtopia application running on my handheld or PC using the Linux console framebuffer (i.e. not X11)?

0

Yes, the basic method for this is the -rawfb scheme where the Linux console framebuffer (usually /dev/fb0) is polled and the uinput driver is used to inject keystrokes and mouse input. Often you will just have to type: x11vnc -rawfb console (you may need to enable the uinput driver on the system via “modprobe uinput; mknod /dev/input/uinput c 10 223”) If this does not find the correct frame buffer properties figure them out or guess them and use something like: x11vnc -rawfb /dev/fb0@640x480x16 Also, to force usage of the uinput injection method use “-pipeinput UINPUT”. See the -pipeinput description for tunable parameters, etc. One problem with the x11vnc uinput scheme is that it cannot guess the mouse motion “acceleration” used by the windowing application (e.g. QWS or X11.) For X11 and Qt-embedded the acceleration is usually 2 (i.e. a dx of 1 from the mouse yields a 2 pixel displacement of the mouse cursor.) The default x11vnc uses is 2, since that is often used. However for one Qt-

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123