[APKG Xvnc_Server 0.9.16] gain full control of asportal from PC, tablet, SmartPhone

Moderator: Lillian.W@AST

billsargent
Posts: 61
youtube meble na wymiar Warszawa
Joined: Sun Apr 19, 2015 5:57 pm
Location: Göteborg, Sweden

Re: [APKG Xvnc_Server] gain full control of asportal from PC, tablet, SmartPhone

Post by billsargent »

father.mande wrote:Hi,

I will look for "old" models
is it a 32 bits or a 64 bits Linux inside ??
if 32 bits ... no chance it run before a full rebuild
if 64 bits ... perhaps just to change the xorg prerequisite (due to the fact I put the version I use when I test the product ... )

Philippe.
No it's 64 bit..

Code: Select all

Linux NOBEL 3.12.20 #1 SMP Wed Apr 27 00:16:37 CST 2016 x86_64 GNU/Linux

Code: Select all

 gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/volume1/.@plugins/AppCentral/optware/opt/bin/../libexec/gcc/x86_64-asustor-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-asustor-linux-gnu
Configured with: ../gcc-4.6.3/configure --build=x86_64-pc-linux-gnu --host=x86_64-asustor-linux-gnu --target=x86_64-asustor-linux-gnu --prefix=/opt --with-gmp=/home/jane/Projects/optware/asustor-x86_64/staging/opt --with-mpfr=/home/jane/Projects/optware/asustor-x86_64/staging/opt --with-mpc=/home/jane/Projects/optware/asustor-x86_64/staging/opt --disable-nls --disable-static --with-as=/home/jane/Projects/optware/asustor-x86_64/toolchain/gcc-4.6.3-glibc-2.13/x86_64-asustor-linux-gnu/bin/x86_64-asustor-linux-gnu-as --with-ld=/home/jane/Projects/optware/asustor-x86_64/toolchain/gcc-4.6.3-glibc-2.13/x86_64-asustor-linux-gnu/bin/x86_64-asustor-linux-gnu-ld --enable-languages=c,c++ --disable-multilib
Thread model: posix
gcc version 4.6.3 (GCC)
But I'm not sure if all the dev libs are available for compiling directly. I think Glibc isnt available on stock asustor nas... unless they've changed that.
billsargent
Posts: 61
Joined: Sun Apr 19, 2015 5:57 pm
Location: Göteborg, Sweden

Re: [APKG Xvnc_Server] gain full control of asportal from PC, tablet, SmartPhone

Post by billsargent »

Code: Select all

X.Org X Server 1.10.4
Release Date: 2011-08-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.0.0-12-server x86_64
Current Operating System: Linux NOBEL 3.12.20 #1 SMP Wed Apr 27 00:16:37 CST 2016 x86_64
Kernel command line: BOOT_IMAGE=(as0:0xa0341d000000000:0x71d:0x0,2)/bzImage console=ttyS0,115200n8 bootpart=2 uuid=ac587fb5-5b84-437d-9c9f-5526cfc8c27e mem=4G
Build Date: 20 November 2013  03:25:49PM

Current version of pixman: 0.22.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
If this helps too...

can you provide and ldd for your binary?
User avatar
father.mande
Posts: 1815
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Xvnc_Server] gain full control of asportal from PC, tablet, SmartPhone

Post by father.mande »

Hi,

I don't compile directly on Asustor NOR using a too complex croos-compile ...
I use directly a compatible Linux distro (like Ubuntu 14.04 for AS5002T ) ... then I have a set of shell script to search lib already existing in Asustor and generate a complementary library ... loaded specifically for this specific program ...
so this include :
standard libs + libs added for xorg (reason of the version requirement) + specific lib not included
so the ldd (not including called library not linked at generation) is like :

Code: Select all

root@AS5002TaPhil:/volume1/.@plugins/AppCentral/x11vnc # ldd bin/x11vnc
        linux-vdso.so.1 (0x00007ffe10ef3000)
        libssl.so.1.0.0 => /volume1/.@plugins/AppCentral/x11vnc/lib/libssl.so.1.0.0 (0x00007fde2098f000)
        libcrypto.so.1.0.0 => /volume1/.@plugins/AppCentral/x11vnc/lib/libcrypto.so.1.0.0 (0x00007fde20597000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fde20360000)
        libXtst.so.6 => /volume1/.@plugins/AppCentral/x11vnc/lib/libXtst.so.6 (0x00007fde2015b000)
        libXext.so.6 => /volume1/.@plugins/AppCentral/x11vnc/lib/libXext.so.6 (0x00007fde1ff49000)
        libXinerama.so.1 => /volume1/.@plugins/AppCentral/x11vnc/lib/libXinerama.so.1 (0x00007fde1fd47000)
        libXrandr.so.2 => /volume1/.@plugins/AppCentral/x11vnc/lib/libXrandr.so.2 (0x00007fde1fb3f000)
        libXfixes.so.3 => /volume1/.@plugins/AppCentral/x11vnc/lib/libXfixes.so.3 (0x00007fde1f939000)
        libXdamage.so.1 => /volume1/.@plugins/AppCentral/x11vnc/lib/libXdamage.so.1 (0x00007fde1f737000)
        libX11.so.6 => /volume1/.@plugins/AppCentral/x11vnc/lib/libX11.so.6 (0x00007fde1f3fc000)
        libavahi-common.so.3 => /volume1/.@plugins/AppCentral/x11vnc/lib/libavahi-common.so.3 (0x00007fde1f1ef000)
        libavahi-client.so.3 => /volume1/.@plugins/AppCentral/x11vnc/lib/libavahi-client.so.3 (0x00007fde1efde000)
        libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fde1edc6000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fde1eba9000)
        libz.so.1 => /volume1/.@plugins/AppCentral/x11vnc/lib/libz.so.1 (0x00007fde1e992000)
        libjpeg.so.8 => /volume1/.@plugins/AppCentral/x11vnc/lib/libjpeg.so.8 (0x00007fde1e758000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fde1e3ba000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fde1e1b6000)
        libXi.so.6 => /volume1/.@plugins/AppCentral/x11vnc/lib/libXi.so.6 (0x00007fde1dfa7000)
        libXrender.so.1 => /volume1/.@plugins/AppCentral/x11vnc/lib/libXrender.so.1 (0x00007fde1dd9e000)
        libxcb.so.1 => /volume1/.@plugins/AppCentral/x11vnc/lib/libxcb.so.1 (0x00007fde1db7e000)
        libdbus-1.so.3 => /volume1/.@plugins/AppCentral/x11vnc/lib/libdbus-1.so.3 (0x00007fde1d938000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fde20bf0000)
        libXau.so.6 => /volume1/.@plugins/AppCentral/x11vnc/lib/libXau.so.6 (0x00007fde1d735000)
        libXdmcp.so.6 => /volume1/.@plugins/AppCentral/x11vnc/lib/libXdmcp.so.6 (0x00007fde1d530000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fde1d328000)
root@AS5002TaPhil:/volume1/.@plugins/AppCentral/x11vnc #
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
eightace
Posts: 46
Joined: Sat Feb 15, 2014 11:41 pm

Re: [APKG Xvnc_Server] gain full control of asportal from PC, tablet, SmartPhone

Post by eightace »

"The port on which the computer is listening for a connection could not be connected" is the message I get from my VNC client. VNC is running on port 5900.
What is wrong?
User avatar
father.mande
Posts: 1815
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Xvnc_Server] gain full control of asportal from PC, tablet, SmartPhone

Post by father.mande »

Hi,
eightace wrote:"The port on which the computer is listening for a connection could not be connected" is the message I get from my VNC client. VNC is running on port 5900.
What is wrong?
Xvnc server is disable (by default ... as it's explain in first post ...) at boot or install ... it's done because you don't need to use it permanently ... so this don't add used resources ...

So
1 verify that APKG is Enable, eventually do a toggle (Disable then Enable)
2 if it don't work open a ssh console (root / your_password) and do
netstat -lpt | grep 5900
response MUST be :

Code: Select all

root@AS5002TaPhil:/volume1/.@root # netstat -lpt | grep 5900
tcp        0      0 *:5900                  *:*                     LISTEN      8546/x11vnc
tcp        0      0 *:5900                  *:*                     LISTEN      8546/x11vnc
root@AS5002TaPhil:/volume1/.@root #
3 if you want to change the fact that x11vnc is Disable at boot (to Enable at boot) ... use command (in a console) to modify it
(be attention on some version the command disable is disbale (a typo but real value ... :roll: an error)

Code: Select all

vnc_mngt enable_start_at_boot 
Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1815
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: [APKG Xvnc_Server] gain full control of asportal from PC, tablet, SmartPhone

Post by father.mande »

Hi,

Please find (in first post) a link to Update Xvnc_server to 2.2-0.9.3
... x11vnc is NOT changed
... SOLVE a problem to start Xvnc from App Central (even vnc_mngt command works as well in a terminal)
... This problem seem to be attached to ADM 3.3

... this update can be used with ADM 2.6 (in case the problem also exist)

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
User avatar
father.mande
Posts: 1815
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

New [APKG Xvnc_Server 0.9.16] gain full control of asportal from PC, tablet, SmartPhone

Post by father.mande »

Hi,

Please find an update to 0.9.16
After a long time a new team restart update for Vnc Server ... so I will try to follow it and provide corresponding APKG

Essentially "bugs fixes" for the moment ... link : https://github.com/LibVNC/x11vnc

Remember that Vnc is not a secure protocol, so use SSH tunnel or VPN to secure access from Internet to Asportal / myHD applications.

Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “Xnc-Server”