Instruktaż/Tutorial Skype w platformie HD (HD Station) QNAP

pawurb1978

Virtualization
Q's Architect
16 Marzec 2012
679
184
93
QNAP
TS-x70 Pro
Ethernet
1 GbE
Skoro mamy już rozbudowane multimedia z HDMI to nic nie stało by na przeszkodzie żeby pojawiła się jeszcze obsługa skypea.
Możliwe to chyba jest do realizacji, ciekawe czy realne ?
 
1. Chrootnij sie na natywne środowisko
Bash:
export rootdrive="HDA_DATA" #or MD0_DATA
export hds_dir="HD_Station" #HD station directory name
chroot /share/${rootdrive}/.qpkg/${hds_dir} /bin/bash

2. Sprawdz czy jest apt-get
Bash:
apt-get

3. Zobacz czy jest katalog z ustawieniami źródeł dla apt
Bash:
ls -la /etc/apt

4. Wylistuj źródła
Bash:
cat /etc/apt/sources.list
 
Drobny problem:
Kod:
[/] # export rootdrive="MD0_DATA"
[/] # export hds_dir="HD_Station"
[/] # chroot /share/${rootdrive}/.qpkg/${hds_dir}
chroot: cannot change root directory to /share/MD0_DATA/.qpkg/HD_Station: Operation not permitted
 
Kod:
[/] # ls -la /share/MD0_DATA/.qpkg/
drwxrwxrwx 24 admin administ 4096 Jun 11 00:26 .
drwxrwxrwx 48 admin administ 4096 Jun 10 23:11 ..
drwxr-xr-x 2 admin administ 4096 Jun 11 00:27 .installation
drwxr-xr-x 7 admin administ 4096 Jun 11 00:07 Chrome
drwxr-xr-x 5 admin administ 4096 Jun 11 00:26 DSv3
drwxrwxrwx 3 admin administ 4096 Mar 12 09:23 HDS_Extend
drwxr-xr-x 20 admin administ 4096 Jun 11 00:05 HD_Station
drwxr-xr-x 12 admin administ 4096 Jun 11 00:24 MSV2
drwxr-xr-x 6 admin administ 4096 Jun 11 00:07 MyNAS
drwxr-xr-x 17 admin administ 4096 May 19 13:50 Optware
drwxr-xr-x 3 admin administ 4096 Jun 2 23:15 PHPQRCode
drwxrwx--- 3 admin administ 4096 Jun 11 00:27 QUSBCam
drwxrwxrwx 4 admin administ 4096 May 2 23:13 Squid
drwxr-xr-x 8 admin administ 4096 Mar 6 22:03 Transmission
drwxr-xr-x 8 admin administ 4096 Jun 2 22:03 TvStation
drwxr-xr-x 6 admin administ 4096 Jun 11 00:26 TwonkyMedia
drwxr-xr-x 10 admin administ 4096 Jun 10 13:45 VideoStation
drwxr-xr-x 6 admin administ 4096 Jun 11 00:06 XBMC
drwxr-xr-x 4 1009 1009 4096 Mar 7 19:11 XMail_phpxmail
drwxr-xr-x 6 admin administ 4096 Jun 11 00:07 YouTube
drwxrwxrwx 3 admin administ 4096 Jan 30 2012 ajx4
drwxr-xr-x 10 admin administ 4096 Jun 11 00:24 musicstation
drwxr-xr-x 3 admin administ 4096 May 17 20:42 net2ftp
drwxr-xr-x 10 admin administ 4096 Jun 11 00:25 photostation2
 
Próbowałem już takie kombinacje. To samo.
Kod:
[/] # chroot /share/${rootdrive}/.qpkg/${hds_dir} /bin/bash
chroot: cannot change root directory to /share/MD0_DATA/.qpkg/HD_Station: Operation not permitted
 
Kod:
[/] # ls -la /share/MD0_DATA/.qpkg/HD_Station/bin/
drwxr-xr-x 2 admin administ 4096 Dec 17 04:38 .
drwxr-xr-x 20 admin administ 4096 Jun 11 00:05 ..
lrwxrwxrwx 1 admin administ 12 Jun 11 00:05 awk -> /usr/bin/awk
-rwxrwxrwx 1 admin administ 955024 Apr 3 2012 bash
-rwxr-xr-x 1 admin administ 31112 Dec 15 2011 bunzip2
-rwxrwxrwx 1 admin administ 1832016 Nov 16 2012 busybox
-rwxr-xr-x 1 admin administ 31112 Dec 15 2011 bzcat
lrwxrwxrwx 1 admin administ 6 Jun 11 00:05 bzcmp -> bzdiff
-rwxrwxrwx 1 admin administ 2140 Dec 15 2011 bzdiff
lrwxrwxrwx 1 admin administ 6 Jun 11 00:05 bzegrep -> bzgrep
-rwxr-xr-x 1 admin administ 4877 Dec 15 2011 bzexe
lrwxrwxrwx 1 admin administ 6 Jun 11 00:05 bzfgrep -> bzgrep
-rwxrwxrwx 1 admin administ 3642 Dec 15 2011 bzgrep
-rwxr-xr-x 1 admin administ 31112 Dec 15 2011 bzip2
-rwxr-xr-x 1 admin administ 10336 Dec 15 2011 bzip2recover
lrwxrwxrwx 1 admin administ 6 Jun 11 00:05 bzless -> bzmore
-rwxrwxrwx 1 admin administ 1297 Dec 15 2011 bzmore
lrwxrwxrwx 1 admin administ 7 Jun 11 00:05 cat -> busybox
-rwxr-xr-x 1 admin administ 47760 Nov 19 2012 cat.ubuntu
-rwxr-xr-x 1 admin administ 55904 Nov 19 2012 chgrp
-rwxr-xr-x 1 admin administ 51760 Nov 19 2012 chmod
-rwxr-xr-x 1 admin administ 60016 Nov 19 2012 chown
-rwxr-xr-x 1 admin administ 10392 Mar 31 2012 chvt
-rwxr-xr-x 1 admin administ 126032 Nov 19 2012 cp
-rwxr-xr-x 1 admin administ 137264 Apr 1 2012 cpio
lrwxrwxrwx 1 admin administ 12 Jun 11 00:05 cut -> /usr/bin/cut
-rwxrwxrwx 1 admin administ 109768 Mar 29 2012 dash
-rwxr-xr-x 1 admin administ 59984 Nov 19 2012 date
-rwxr-xr-x 1 admin administ 10200 Oct 3 2012 dbus-cleanup-sockets
-rwxr-xr-x 1 admin administ 407624 Oct 3 2012 dbus-daemon
-rwxr-xr-x 1 admin administ 10192 Oct 3 2012 dbus-uuidgen
-rwxr-xr-x 1 admin administ 51880 Nov 19 2012 dd
-rwxr-xr-x 1 admin administ 84856 Nov 19 2012 df
-rwxr-xr-x 1 admin administ 105840 Nov 19 2012 dir
-rwxr-xr-x 1 admin administ 22848 Mar 30 2012 dmesg
-rwxr-xr-x 1 admin administ 14696 May 26 2011 dnsdomainname
-rwxr-xr-x 1 admin administ 14696 May 26 2011 domainname
-rwxr-xr-x 1 admin administ 82176 Mar 31 2012 dumpkeys
-rwxr-xr-x 1 admin administ 27024 Nov 19 2012 echo
-rwxr-xr-x 1 admin administ 47552 Oct 17 2011 ed
-rwxr-xr-x 1 admin administ 155160 Dec 16 2011 egrep
-rwxr-xr-x 1 admin administ 22896 Nov 19 2012 false
-rwxr-xr-x 1 admin administ 10408 Mar 31 2012 fgconsole
-rwxr-xr-x 1 admin administ 113944 Dec 16 2011 fgrep
-rwxr-xr-x 1 admin administ 36096 Mar 30 2012 findmnt
-rwxr-xr-x 1 admin administ 36024 Jul 17 2012 fuser
-rwsr-xr-x 1 admin administ 31304 Mar 2 2012 fusermount
-rwxr-xr-x 1 admin administ 159288 Dec 16 2011 grep
lrwxrwxrwx 1 admin administ 7 Jun 11 00:05 gunzip -> busybox
-rwxr-xr-x 1 admin administ 2251 Feb 9 2012 gunzip.ubuntu
-rwxr-xr-x 1 admin administ 5937 Feb 9 2012 gzexe
lrwxrwxrwx 1 admin administ 7 Jun 11 00:05 gzip -> busybox
-rwxr-xr-x 1 admin administ 92720 Feb 9 2012 gzip.ubuntu
-rwxr-xr-x 1 admin administ 14696 May 26 2011 hostname
-rwxr-xr-x 1 admin administ 5935 Apr 26 2012 init-checkconf
-rwxr-xr-x 1 admin administ 16005 Apr 26 2012 initctl2dot
-rwxr-xr-x 1 admin administ 249264 Apr 10 2012 ip
-rwxr-xr-x 1 admin administ 10400 Mar 31 2012 kbd_mode
-rwxr-xr-x 1 admin administ 18816 Dec 12 2011 kill
-rwxr-xr-x 1 admin administ 149384 Aug 10 2011 less
-rwxr-xr-x 1 admin administ 10368 Aug 10 2011 lessecho
lrwxrwxrwx 1 admin administ 8 Jun 11 00:05 lessfile -> lesspipe
-rwxr-xr-x 1 admin administ 15824 Aug 10 2011 lesskey
-rwxrwxrwx 1 admin administ 7506 Aug 10 2011 lesspipe
-rwxr-xr-x 1 admin administ 47688 Nov 19 2012 ln
-rwxr-xr-x 1 admin administ 111320 Mar 31 2012 loadkeys
-rwxr-xr-x 1 admin administ 44928 Sep 13 2012 login
-rwxr-xr-x 1 admin administ 63888 Sep 11 2012 lowntfs-3g
-rwxr-xr-x 1 admin administ 105840 Nov 19 2012 ls
-rwxr-xr-x 1 admin administ 44640 Mar 30 2012 lsblk
-rwxr-xr-x 1 admin administ 6272 Nov 20 2011 lsmod
lrwxrwxrwx 1 admin administ 15 Jun 11 00:05 md5sum -> /usr/bin/md5sum
-rwxr-xr-x 1 admin administ 47680 Nov 19 2012 mkdir
-rwxr-xr-x 1 admin administ 31168 Nov 19 2012 mknod
-rwxr-xr-x 1 admin administ 35392 Nov 19 2012 mktemp
-rwxr-xr-x 1 admin administ 35464 Mar 30 2012 more
-rwsr-xr-x 1 admin administ 94792 Mar 30 2012 mount
-rwxr-xr-x 1 admin administ 10376 Jul 26 2012 mountpoint
lrwxrwxrwx 1 admin administ 20 Jun 11 00:05 mt -> /etc/alternatives/mt
-rwxr-xr-x 1 admin administ 68744 Apr 1 2012 mt-gnu
-rwxr-xr-x 1 admin administ 113688 Nov 19 2012 mv
lrwxrwxrwx 1 admin administ 20 Jun 11 00:05 nc -> /etc/alternatives/nc
-rwxr-xr-x 1 admin administ 31152 Jul 1 2011 nc.openbsd
lrwxrwxrwx 1 admin administ 24 Jun 11 00:05 netcat -> /etc/alternatives/netcat
-rwxr-xr-x 1 admin administ 119800 Mar 31 2012 netstat
-rwxr-xr-x 1 admin administ 14696 May 26 2011 nisdomainname
-rwxr-xr-x 1 admin administ 59832 Sep 11 2012 ntfs-3g
-rwxr-xr-x 1 admin administ 10304 Sep 11 2012 ntfs-3g.probe
-rwxr-xr-x 1 admin administ 63504 Sep 11 2012 ntfs-3g.secaudit
-rwxr-xr-x 1 admin administ 18416 Sep 11 2012 ntfs-3g.usermap
-rwxr-xr-x 1 admin administ 26720 Sep 11 2012 ntfscat
-rwxr-xr-x 1 admin administ 30736 Sep 11 2012 ntfsck
-rwxr-xr-x 1 admin administ 30816 Sep 11 2012 ntfscluster
-rwxr-xr-x 1 admin administ 34912 Sep 11 2012 ntfscmp
-rwxr-xr-x 1 admin administ 43208 Sep 11 2012 ntfsdecrypt
-rwxr-xr-x 1 admin administ 22512 Sep 11 2012 ntfsdump_logfile
-rwxr-xr-x 1 admin administ 39016 Sep 11 2012 ntfsfix
-rwxr-xr-x 1 admin administ 55408 Sep 11 2012 ntfsinfo
-rwxr-xr-x 1 admin administ 31912 Sep 11 2012 ntfsls
-rwxr-xr-x 1 admin administ 26656 Sep 11 2012 ntfsmftalloc
-rwxr-xr-x 1 admin administ 30816 Sep 11 2012 ntfsmove
-rwxr-xr-x 1 admin administ 38936 Sep 11 2012 ntfstruncate
-rwxr-xr-x 1 admin administ 39488 Sep 11 2012 ntfswipe
lrwxrwxrwx 1 admin administ 6 Jun 11 00:05 open -> openvt
-rwxrwxrwx 1 admin administ 14688 Mar 31 2012 openvt
lrwxrwxrwx 1 admin administ 14 Jun 11 00:05 pidof -> /sbin/killall5
-rwsr-xr-x 1 admin administ 35712 Nov 8 2011 ping
-rwsr-xr-x 1 admin administ 40256 Nov 8 2011 ping6
-rwxr-xr-x 1 admin administ 35360 Apr 13 2012 plymouth
-rwxr-xr-x 1 admin administ 31560 Apr 13 2012 plymouth-upstart-bridge
-rwxr-xr-x 1 admin administ 101240 Dec 12 2011 ps
-rwxr-xr-x 1 admin administ 31264 Nov 19 2012 pwd
lrwxrwxrwx 1 admin administ 4 Jun 11 00:05 rbash -> bash
-rwxr-xr-x 1 admin administ 39432 Nov 19 2012 readlink
-rwxr-xr-x 1 admin administ 55888 Nov 19 2012 rm
-rwxr-xr-x 1 admin administ 39376 Nov 19 2012 rmdir
-rwxr-xr-x 1 admin administ 19208 Mar 29 2012 run-parts
-rwxr-xr-x 1 admin administ 254 Apr 26 2012 running-in-container
-rwxr-xr-x 1 admin administ 64928 Apr 30 2011 sed
-rwxr-xr-x 1 admin administ 39776 Mar 31 2012 setfont
-rwxr-xr-x 1 admin administ 12052 Apr 19 2012 setupcon
lrwxrwxrwx 1 admin administ 4 Jun 11 00:05 sh -> bash
lrwxrwxrwx 1 admin administ 4 Jun 11 00:05 sh.distrib -> dash
-rwxr-xr-x 1 admin administ 27024 Nov 19 2012 sleep
-rwxr-xr-x 1 admin administ 72456 Apr 10 2012 ss
lrwxrwxrwx 1 admin administ 7 Jun 11 00:05 static-sh -> busybox
-rwxr-xr-x 1 admin administ 64032 Nov 19 2012 stty
-rwsr-xr-x 1 admin administ 36832 Sep 13 2012 su
-rwxr-xr-x 1 admin administ 22912 Nov 19 2012 sync
-rwxr-xr-x 1 admin administ 14672 Mar 30 2012 tailf
-rwxr-xr-x 1 admin administ 307760 Mar 31 2012 tar
-rwxr-xr-x 1 admin administ 10304 Mar 29 2012 tempfile
-rwxr-xr-x 1 admin administ 60112 Nov 19 2012 touch
lrwxrwxrwx 1 admin administ 11 Jun 11 00:05 tr -> /usr/bin/tr
-rwxr-xr-x 1 admin administ 22896 Nov 19 2012 true
-rwxr-xr-x 1 admin administ 14648 Mar 2 2012 ulockmgr_server
-rwsr-xr-x 1 admin administ 69096 Mar 30 2012 umount
-rwxr-xr-x 1 admin administ 27072 Nov 19 2012 uname
-rwxr-xr-x 1 admin administ 2251 Feb 9 2012 uncompress
-rwxr-xr-x 1 admin administ 2762 Mar 31 2012 unicode_start
-rwxr-xr-x 1 admin administ 105840 Nov 19 2012 vdir
-rwxr-xr-x 1 admin administ 6200 Jun 14 2012 vmmouse_detect
-rwxr-xr-x 1 admin administ 946 Mar 29 2012 which
-rwxr-xr-x 1 admin administ 27192 Feb 9 2012 whiptail
-rwxr-xr-x 1 admin administ 14696 May 26 2011 ypdomainname
-rwxr-xr-x 1 admin administ 1939 Feb 9 2012 zcat
-rwxr-xr-x 1 admin administ 1721 Feb 9 2012 zcmp
-rwxr-xr-x 1 admin administ 4534 Feb 9 2012 zdiff
-rwxr-xr-x 1 admin administ 121 Feb 9 2012 zegrep
-rwxr-xr-x 1 admin administ 121 Feb 9 2012 zfgrep
-rwxr-xr-x 1 admin administ 2078 Feb 9 2012 zforce
-rwxr-xr-x 1 admin administ 5986 Feb 9 2012 zgrep
-rwxr-xr-x 1 admin administ 1797 Feb 9 2012 zless
-rwxr-xr-x 1 admin administ 2502 Feb 9 2012 zmore
-rwxr-xr-x 1 admin administ 5015 Feb 9 2012 znew
 
Po restarcie NASA.

Kod:
root@QNAP-NAS:~# apt-get
apt 0.8.16~exp12ubuntu10.7 for amd64 compiled on Dec 12 2012 13:48:06
 
root@QNAP-NAS:~# ls -la /etc/apt
total 68
drwxr-xr-x 6 root root 4096 Dec 14 05:20 .
drwxr-xr-x 92 root root 4096 Jun 12 12:16 ..
drwxr-xr-x 2 root root 4096 Dec 14 05:20 apt.conf.d
drwxr-xr-x 2 root root 4096 Apr 20 2012 preferences.d
-rw-r--r-- 1 root root 3844 Dec 13 13:30 sources.list
-rw-r--r-- 1 root root 0 Dec 13 13:05 sources.list~
drwxr-xr-x 2 root root 4096 Dec 14 05:20 sources.list.d
-rw-r--r-- 1 root root 3841 Dec 13 13:30 sources.list.save
-rw------- 1 root root 1200 Dec 13 13:30 trustdb.gpg
-rw-r--r-- 1 root root 13987 Dec 13 14:52 trusted.gpg
-rw-r--r-- 1 root root 12776 Dec 13 13:30 trusted.gpg~
drwxr-xr-x 2 root root 4096 Apr 20 2012 trusted.gpg.d
 
root@QNAP-NAS:~# cat /etc/apt/sources.list
#
 
# deb cdrom(((p(>o<)q)))Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/main/binary-i386/
# deb cdrom(((p(>o<)q)))Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/restricted/binary-i386/
# deb cdrom(((p(>o<)q)))Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ precise main restricted
 
# deb cdrom(((p(>o<)q)))Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/main/binary-i386/
# deb cdrom(((p(>o<)q)))Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ dists/precise/restricted/binary-i386/
# deb cdrom(((p(>o<)q)))Ubuntu-Server 12.04 LTS _Precise Pangolin_ - Release amd64 (20120424.1)]/ precise main restricted
 
# See [URL]http://help.ubuntu.com/community/UpgradeNotes[/URL] for how to upgrade to
# newer versions of the distribution.
deb [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise main restricted
deb-src [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise main restricted
 
## Major bug fix updates produced after the final release of the
## distribution.
deb [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise-updates main restricted
deb-src [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise-updates main restricted
 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise universe
deb-src [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise universe
deb [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise-updates universe
deb-src [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise-updates universe
 
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise multiverse
deb-src [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise multiverse
deb [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise-updates multiverse
deb-src [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise-updates multiverse
 
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise-backports main restricted universe multiverse
deb-src [URL]http://us.archive.ubuntu.com/ubuntu/[/URL] precise-backports main restricted universe multiverse
 
deb [URL]http://security.ubuntu.com/ubuntu[/URL] precise-security main restricted
deb-src [URL]http://security.ubuntu.com/ubuntu[/URL] precise-security main restricted
deb [URL]http://security.ubuntu.com/ubuntu[/URL] precise-security universe
deb-src [URL]http://security.ubuntu.com/ubuntu[/URL] precise-security universe
deb [URL]http://security.ubuntu.com/ubuntu[/URL] precise-security multiverse
deb-src [URL]http://security.ubuntu.com/ubuntu[/URL] precise-security multiverse
 
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb [URL]http://archive.canonical.com/ubuntu[/URL] precise partner
# deb-src [URL]http://archive.canonical.com/ubuntu[/URL] precise partner
 
## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
# deb [URL]http://extras.ubuntu.com/ubuntu[/URL] precise main
# deb-src [URL]http://extras.ubuntu.com/ubuntu[/URL] precise main
 
Okay. Zaczniemy od upgradu XBMC do wersji 12
Bedac w chroot'ie natywnego linuxa (ubuntu) sprawdzmy czy jest repo xbmc - jesli nie, to dodajmy je:
Bash:
killall -9 xbmc # killujemy obecnego xbmc
[ ! -f "/etc/apt/sources.list.d/team-xbmc-ppa-precise.list" ] && add-apt-repository ppa:team-xbmc
apt-get update
adduser qnap #podaj dowolne haslo, np. q123
usermod -g users qnap #zmiana glownej grupy uzytkownika qnap na users
adduser qnap audio #dodanie uzytkownika qnap do grupy audio
adduser qnap video #dodanie uzytkownika qnap do grupy wideo
apt-get install xbmc #instalacja xbmc
su - qnap #przechodzimy na usera qnap
export DISPLAY=:0 #ustawienie wyjscia ekranowego
xbmc #odpal xbmc
 
Wygląda że poszło ok poza inicjalizacją katalogu PRV

Kod:
qnap@QNAP-NAS:~$ xbmc
PVRDRIInitPVR2D: PVR2D device index (0)PVRDestroyContext: PVRDRIDestroyGC failedPVRDRIInitPVR2D: PVR2D device index (0)PVRDRIInitPVR2D: PVR2D device index (0)BPP(32) DB(2N) W(1280) H(720) Xclip(0) Yclip(0) PFD(0) CPVRDestroyContext: PVRDRIDestroyGC failedPVRDestroyContext: PVRDRIDestroyGC failedqnap
 
zainstaluj gnome i server vnc :)
Bash:
apt-get update
apt-get install mc
apt-get install gnome-core
apt-get install gnome-session-fallback 
apt-get install gnome-desktop-environment
apt-get install vnc4server
Doinstaluj fonty:
Bash:
apt-get install xfonts-100dpi 
apt-get install xfonts-100dpi-transcoded 
apt-get install xfonts-75dpi 
apt-get install xfonts-75dpi-transcoded 
apt-get install xfonts-base

Odpal server VNC
Bash:
su -c "vncserver -geometry 1152x864" - root
W przypadku gdybyś chciał dodać do autorun.sh
Bash:
export rootdrive="HDA_DATA" #or MD0_DATA 
export hds_dir="HD_Station" #HD station directory name 
chroot /share/${rootdrive}/.qpkg/${hds_dir} /bin/bash -c "su -c \"vncserver -geometry 1152x864\" - root"
Ah i oczywiście pobierz klienta VNC http://www.tightvnc.com/download.php
Zainstaluj, uruchom, wprowadź adres IP serwera NAS i port. Usługa VNC 5900. Ale port będzie 5900+nr. sesji
Czyli próbuj 5901, 5902, itp...
 
Nagle mam

Bash:
qnap@QNAP-NAS:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
 
Masz mnie :Dprzepraszam ale w międzyczasie trochę pracuję i koncentracja nie ta. zaraz się bioręTo chwile potrwaPrzy pierwszym gnomie

Kod:
Processing triggers for shared-mime-info ...
Errors were encountered while processing:
/var/cache/apt/archives/consolekit_0.4.5-2_amd64.deb
/var/cache/apt/archives/cups_1.5.3-0ubuntu8_amd64.deb
/var/cache/apt/archives/hdparm_9.37-0ubuntu3.1_amd64.deb
/var/cache/apt/archives/ppp_2.4.5-5ubuntu1_amd64.deb
E:sub-process /usr/bin/dpkg returned an error code (1)