Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.7.1
-
None
Description
I am attempting to visualize a remote QNX target using the Qt VNCItem. I am using port forwarding to connect to my local PC and I am seeing what I believe are successful ssh port forward messages.
Connect to the QNX target (enable portforwarding)
ssh -v -i qnx71.pem -L 6161:localhost:6161 root@<DEVICE IP ADDRESS>
Note: this seems to indicate it is successfully forwarding the port:
debug1: Local connections to LOCALHOST:6161 forwarded to remote address localhost:6161 debug1: Local forwarding listening on ::1 port 6161. debug1: channel 0: new port-listener [port listener] (inactive timeout: 0) debug1: Local forwarding listening on 127.0.0.1 port 6161. debug1: channel 1: new port-listener [port listener] (inactive timeout: 0) debug1: channel 2: new session [client-session] (inactive timeout: 0) debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session.
Set environment variables
export QTDIR=/qt export PATH=$QTDIR/bin:$PATH export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH export QT_FONT_DPI=90 export QT_PLUGIN_PATH=$QTDIR/plugins export QML2_IMPORT_PATH=$QTDIR/qml export QT_FORCE_STDERR_LOGGING=1 export QT_QPA_PLATFORM=offscreen export QT_LOGGING_RULES=*=true
Note: offscreen is used because there is no "screen" service running on this QNX instance
Run the app:
/qt/apps/appTest ... qt.vncserver: QVncServer created on port 6161 qml: Server state: 1 6161 // this output indicates the VncServer is listening on port 6161
I even see the following at the terminal when I try to connect with my vnc viewer:
debug1: Connection to port 6161 forwarding to localhost port 6161 requested. debug1: channel 3: new direct-tcpip [direct-tcpip] (inactive timeout: 0)
Please find logs and project attached.