Enviroment :
ASUSTOR AS 5004T with latest update ADM and installed JAVA from Apps central
My Testing Enviroment :
Win 8.1 , Putty term ( for SSH ) vcXsrv ( for XWindows - xterm and JD GUI )
First of all , you must setup working XWindows on the client PC where you want display JD . WARNING : All tested commands is executed under "root" account use at own risk ! .
Download and install vcXsrv from http://sourceforge.net/projects/vcxsrv/
Download and install Putty from http://www.chiark.greenend.org.uk/~sgta ... nload.html
Write to the some clipboard or paper
Open Putty and connect over SSH to the NAS with root user ( password is same for admin user )
Now setup some enviroment for current Putty ssh session :
Change to dir with command :
cd /volume1/.@plugins/AppCentral/xorg/CONTROL
You can lilst contens of dir with command :
ls -la
output is follows
-rw-r--r-- 1 root root 505 Mar 13 13:09 config.json
-rw-r--r-- 1 root root 169 Sep 24 2014 description.txt
-rwxr-xr-x 1 root root 1045 Mar 13 13:09 env.sh*
-rwxr-xr-x 1 root root 127 Mar 13 13:09 health-record.sh*
-rw-r--r-- 1 root root 4472 Apr 6 19:20 icon-disable.png
-rw-r--r-- 1 root root 11800 Sep 24 2014 icon-enable.png
-rw-r--r-- 1 root root 11800 Sep 24 2014 icon.png
-rwxr-xr-x 1 root root 262 Mar 13 13:09 post-install.sh*
-rwxr-xr-x 1 root root 77 Mar 13 13:09 post-uninstall.sh*
-rwxr-xr-x 1 root root 31 Mar 13 13:09 pre-install.sh*
-rwxr-xr-x 1 root root 35 Mar 13 13:09 pre-uninstall.sh*
-rwxr-xr-x 1 root root 6390 Mar 13 13:09 start-stop.sh*
now execute command :
source env.sh
Don't worry nothing happes but is OK
Now setup string DISPLAY for selecting where i want see xterm and later JD GUI .
note: case sensitive DISPLAY is upper case !
execute command :
export DISPLAY=my_ip_address_client:0
check if is correct with command :
echo $DISPLAY
example of returned value :
10.15.1.100:0
Now test if all is working fine with xterm :
change to dir :
/volume1/.@plugins/AppCentral/xorg/bin/
execute command :
./xterm
If all before this correctly excuted now open new window with GUI terminal with command prompt .
note : if no , please check firewall settings , because port 6000 is blocked if you not have some rules , or inteligent firewall with "learning mode "
Until this not working next step is useless
===========================================
Next step is Jdownloader - note : still stay and execute all future commands from current Putty session
Make directory where i want install and download JD
For example :
change to dir :
cd /volume1/Download
and make dir with name for example :sometest :
mkdir sometest
chage to dir :
cd sometest
now check if path is correct with command pwd :
pwd
response is :
/volume1/Download/sometest
Now get JDownloader from command line :
wget http://94.23.204.158/JDownloader.zip
you see download progress ...
Now unzip archive with unzip :
command :
unzip JDownloader.zip
Some progress from unzip after finish you have command prompt back
now list contens of directory with command ls -la :
ls -la
total 30696
drwsrwsrwt 3 root root 4096 Apr 10 11:09 ./
drwxrwxrwx 10 admin administ 4096 Apr 10 11:14 ../
drwxrwxrwx 13 root root 4096 Apr 10 11:16 JDownloader/
-rw-r--r-- 1 root root 31419822 Mar 7 2011 JDownloader.zip
You see new directory JDownloader , OK change to the new created dir :
cd JDownloader/
list of dor with ls -la :
root@Michal-NAS:/volume1/Download/sometest/JDownloader # ls -la
total 2840
drwxrwxrwx 9 root root 4096 Apr 10 11:22 ./
drwsrwsrwt 3 root root 4096 Apr 10 11:22 ../
-rw-r--r-- 1 root root 218816 Apr 10 11:22 JDUpdate.exe
-rw-r--r-- 1 root root 214528 Apr 10 11:22 JDownloader.exe
-rw-r--r-- 1 root root 593293 Apr 10 11:22 JDownloader.jar
-rw-r--r-- 1 root root 218816 Apr 10 11:22 JDownloaderBETA.exe
-rw-r--r-- 1 root root 218816 Apr 10 11:22 JDownloaderD3D.exe
drwxrwxrwx 2 root root 4096 Apr 10 11:22 java/
drwxrwxrwx 10 root root 4096 Apr 10 11:22 jd/
-rw-r--r-- 1 root root 1299041 Apr 10 11:22 jdupdate.jar
drwxrwxrwx 3 root root 4096 Apr 10 11:22 libs/
-rw-r--r-- 1 root root 32034 Apr 10 11:22 license.txt
-rw-r--r-- 1 root root 39624 Apr 10 11:22 license_german.txt
drwxrwxrwx 2 root root 4096 Apr 10 11:22 licenses/
-rw-r--r-- 1 root root 5710 Apr 10 11:22 outdated.dat
drwxrwxrwx 5 root root 4096 Apr 10 11:22 plugins/
drwxrwxrwx 2 root root 4096 Apr 10 11:22 tmp/
drwxrwxrwx 5 root root 4096 Apr 10 11:22 tools/
-rw-r--r-- 1 root root 13 Apr 10 11:22 version.txt
-rw-r--r-- 1 root root 65 Apr 10 11:22 windows_createlog.bat
-rw-r--r-- 1 root root 66 Apr 10 11:22 windows_restore.bat
OK first must update JD bacause not configured and not updated hoster plugins and etc ...
execute command :
java -jar jdupdate.jar
Automatically open GUI xterm with progres bar of update
After web update is finished JD will be automaticly restarted and starts with wizard of selecting language and download directory .
If NOT start wizard and you see error "Abort Installation" just run again "java -jar jdupdate.jar" . Just click to OK button in the update GUI .
I Dont know why , but sometimes during test it happened .
Let me know if it's works
Michal
NOTES :
Just tested with JDownloader version 0.9.581
Just tested with my own Asustor AS 5004T
WEB Interface in JD worked too