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 ?
Możliwe to chyba jest do realizacji, ciekawe czy realne ?
root@QNAP-NAS:~# dpkg -l | grep "gnome"
iU compiz-gnome 1:0.9.7.12-0ubuntu1 OpenGL window and compositing manager - GNOME window decorator
iU gir1.2-gnomebluetooth-1.0 3.2.2-0ubuntu5 Introspection data for GnomeBluetooth
iU gnome-accessibility-themes 3.4.1-0ubuntu1.2 accessibility themes for the GNOME desktop
iU gnome-applets 3.4.1-0ubuntu1 Various applets for the GNOME panel - binary files
iU gnome-applets-data 3.4.1-0ubuntu1 Various applets for the GNOME panel - data files
iU gnome-backgrounds 3.4.1-1 Set of backgrounds packaged with the GNOME desktop
iU gnome-bluetooth 3.2.2-0ubuntu5 GNOME Bluetooth tools
iU gnome-contacts 3.4.0-1 Contacts manager for GNOME
iU gnome-control-center 1:3.4.2-0ubuntu0.11 utilities to configure the GNOME desktop
iU gnome-control-center-data 1:3.4.2-0ubuntu0.11 configuration applets for GNOME - data files
iU gnome-core 1:3.0+6ubuntu3 The GNOME Desktop Environment -- essential components
iU gnome-desktop3-data 3.4.2-0ubuntu0.1 Common files for GNOME desktop apps
iU gnome-dictionary 3.4.0-1ubuntu0.1 GNOME dictionary application
iU gnome-disk-utility 3.0.2-2ubuntu7 manage and configure disk drives and media
iU gnome-font-viewer 3.4.0-1 font viewer for GNOME
iU gnome-icon-theme 3.4.0-0ubuntu1.1 GNOME Desktop icon theme (small subset)
iU gnome-icon-theme-extras 3.4.0-1 GNOME Desktop icon theme (additional icons)
iU gnome-icon-theme-full 3.4.0-0ubuntu1.1 GNOME Desktop icon theme
iU gnome-icon-theme-symbolic 3.4.0-1 GNOME desktop icon theme (symbolic icons)
iU gnome-js-common 0.1.2-1 Common modules for GNOME JavaScript interpreters
iU gnome-keyring 3.2.2-2ubuntu4.1 GNOME keyring services (daemon and tools)
iU gnome-media 3.4.0-0ubuntu3.1 GNOME media utilities
iU gnome-menus 3.4.0-0ubuntu1 GNOME implementation of the freedesktop menu specification
iU gnome-online-accounts 3.4.0-0ubuntu1.1 GNOME Online Accounts
iU gnome-panel 1:3.4.1-0ubuntu1.1 launcher and docking facility for GNOME
iU gnome-panel-data 1:3.4.1-0ubuntu1.1 common files for the GNOME Panel
iU gnome-power-manager 3.4.0-0ubuntu1.1 power management tool for the GNOME desktop
iU gnome-screensaver 3.4.1-0ubuntu1 GNOME screen saver and locker
iU gnome-screenshot 3.4.1-0ubuntu1.1 screenshot application for GNOME
iU gnome-search-tool 3.4.0-1 GNOME tool to search files
iU gnome-session 3.2.1-0ubuntu8 GNOME Session Manager - GNOME 3 session
iU gnome-session-bin 3.2.1-0ubuntu8 GNOME Session Manager - Minimal runtime
iU gnome-session-common 3.2.1-0ubuntu8 GNOME Session Manager - common files
iU gnome-session-fallback 3.2.1-0ubuntu8 GNOME Session Manager - GNOME fallback session
iU gnome-settings-daemon 3.4.2-0ubuntu0.6.2 daemon handling the GNOME session settings
iU gnome-shell 3.4.1-0ubuntu2 graphical shell for the GNOME desktop
iU gnome-shell-common 3.4.1-0ubuntu2 common files for the GNOME graphical shell
iU gnome-system-log 3.4.1-0ubuntu1 system log viewer for GNOME
iU gnome-system-monitor 3.4.1-0ubuntu1 Process viewer and system resource monitor for GNOME
iU gnome-terminal 3.4.1.1-0ubuntu1 GNOME terminal emulator application
iU gnome-terminal-data 3.4.1.1-0ubuntu1 Data files for the GNOME terminal emulator
iU gnome-themes-standard 3.4.1-0ubuntu1.2 Standard gnome themes
iU gnome-user-guide 3.4.1-1 GNOME user's guide
iU gnome-user-share 3.0.2-0ubuntu1 User level public file sharing via WebDAV or ObexFTP
iU libgnome-bluetooth8 3.2.2-0ubuntu5 GNOME Bluetooth tools - support library
iU libgnome-control-center1 1:3.4.2-0ubuntu0.11 utilities to configure the GNOME desktop
iU libgnome-desktop-3-2 3.4.2-0ubuntu0.1 Utility library for loading .desktop files - runtime files
iU libgnome-keyring-common 3.2.2-2 GNOME keyring services library - data files
iU libgnome-keyring0 3.2.2-2 GNOME keyring services library
iU libgnome-media-profiles-3.0-0 3.0.0-1 GNOME Media Profiles library
iU libgnome-menu-3-0 3.4.0-0ubuntu1 GNOME implementation of the freedesktop menu specification
iU libgnome-menu2 3.0.1-0ubuntu7 GNOME implementation of the freedesktop menu specification
iU libgnome2-common 2.32.1-2ubuntu1.1 The GNOME library - common files
iU libgnomekbd-common 3.4.0.2-1ubuntu0.1 GNOME library to manage keyboard configuration - common files
iU libgnomekbd7 3.4.0.2-1ubuntu0.1 GNOME library to manage keyboard configuration - shared library
iU libpam-gnome-keyring 3.2.2-2ubuntu4.1 PAM module to unlock the GNOME keyring upon login
iU libsoup-gnome2.4-1 2.38.1-1 HTTP library implementation in C -- GNOME support library
iU network-manager-gnome 0.9.4.1-0ubuntu2.3 network management framework (GNOME frontend)
iU policykit-1-gnome 0.105-1ubuntu3.1 GNOME
apt-get install gnome-core gnome-session-fallback gnome-desktop-environment
apt-get install xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-base
apt-get install vnc4server
apt-get install xfce4 xfce4-goodies
apt-get install xubuntu-desktop
root@QNAP-NAS:~# apt-get install gnome-core gnome-session-fallback gnome-desktop-environment
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnome-core is already the newest version.
gnome-session-fallback is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gnome-bluetooth : Depends: consolekit but it is not going to be installed
gnome-desktop-environment : Depends: gnome (>= 1:3.0+6ubuntu3) but it is not going to be installed
gnome-power-manager : Depends: consolekit but it is not going to be installed
policykit-1 : Depends: consolekit but it is not going to be installed
pulseaudio : Depends: consolekit but it is not going to be installed
Recommends: pulseaudio-module-x11 but it is not going to be installed
Recommends: rtkit but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@QNAP-NAS:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libsub-name-perl libparse-debianchangelog-perl libtimedate-perl libcwidget3 libboost-iostreams1.46.1 libio-string-perl libclass-accessor-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
consolekit
The following NEW packages will be installed:
consolekit
0 upgraded, 1 newly installed, 0 to remove and 133 not upgraded.
511 not fully installed or removed.
Need to get 0 B/115 kB of archives.
After this operation, 551 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 93929 files and directories currently installed.)
Unpacking consolekit (from .../consolekit_0.4.5-2_amd64.deb) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
update-rc.d: error: insserv rejected the script header
dpkg: error processing /var/cache/apt/archives/consolekit_0.4.5-2_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 255
Errors were encountered while processing:
/var/cache/apt/archives/consolekit_0.4.5-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@QNAP-NAS:~# apt-get install xfonts-100dpi xfonts-100dpi-transcoded xfonts-75dpi xfonts-75dpi-transcoded xfonts-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
xfonts-base is already the newest version.
xfonts-base set to manually installed.
xfonts-100dpi is already the newest version.
xfonts-75dpi is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gnome-bluetooth : Depends: consolekit but it is not going to be installed
gnome-power-manager : Depends: consolekit but it is not going to be installed
policykit-1 : Depends: consolekit but it is not going to be installed
pulseaudio : Depends: consolekit but it is not going to be installed
Recommends: pulseaudio-module-x11 but it is not going to be installed
Recommends: rtkit but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@QNAP-NAS:~# apt-get install vnc4server
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gnome-bluetooth : Depends: consolekit but it is not going to be installed
gnome-power-manager : Depends: consolekit but it is not going to be installed
policykit-1 : Depends: consolekit but it is not going to be installed
pulseaudio : Depends: consolekit but it is not going to be installed
Recommends: pulseaudio-module-x11 but it is not going to be installed
Recommends: rtkit but it is not going to be installed
vnc4server : Depends: xbase-clients but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
apt-get install insserv
apt-get -f install
apt-get install xbase-clients
apt-get install vnc4server
vncserver --help
root@QNAP-NAS:~# apt-get install insserv
Reading package lists... Done
Building dependency tree
Reading state information... Done
insserv is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gnome-bluetooth : Depends: consolekit but it is not going to be installed
gnome-power-manager : Depends: consolekit but it is not going to be installed
policykit-1 : Depends: consolekit but it is not going to be installed
pulseaudio : Depends: consolekit but it is not going to be installed
Recommends: pulseaudio-module-x11 but it is not going to be installed
Recommends: rtkit but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@QNAP-NAS:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libsub-name-perl libparse-debianchangelog-perl libtimedate-perl libcwidget3 libboost-iostreams1.46.1 libio-string-perl libclass-accessor-perl
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
consolekit
The following NEW packages will be installed:
consolekit
0 upgraded, 1 newly installed, 0 to remove and 133 not upgraded.
511 not fully installed or removed.
Need to get 0 B/115 kB of archives.
After this operation, 551 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 93929 files and directories currently installed.)
Unpacking consolekit (from .../consolekit_0.4.5-2_amd64.deb) ...
Can't exec "insserv": No such file or directory at /usr/sbin/update-rc.d line 402.
update-rc.d: error: insserv rejected the script header
dpkg: error processing /var/cache/apt/archives/consolekit_0.4.5-2_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 255
Errors were encountered while processing:
/var/cache/apt/archives/consolekit_0.4.5-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@QNAP-NAS:~# env
HOSTNAME=QNAP-NAS
QPKG_CLASS=HD_Station
LIBVA_DRIVERS_PATH=/usr/lib64/dri
SHELL=/bin/sh
TERM=xterm
HISTSIZE=1000
SSH_CLIENT=83.14.69.37 56809 22
PLATFORM_NAME=TS-NASX86
CHROOT_DIR=/
SSH_TTY=/dev/pts/3
LC_ALL=en_US.UTF-8
rootdrive=MD0_DATA
SDL_VIDEODRIVER=x11
USER=root
HISTFILESIZE=2000
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
MODEL_NAME=TS-269
PAGER=/bin/more
PATH=/opt/google/default_chrome:/usr/local/bin:/opt/startup_shell:/opt/bin:/usr/sbin:/usr/bin:/sbin:/bin:.
MAIL=/var/mail/admin
PWD=/root
INPUTRC=/etc/inputrc
EDITOR=/bin/vi
LANG=en_US.UTF-8
DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile
hds_dir=HD_Station
PS1=\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$
HOME=/root
SHLVL=2
LOGNAME=root
QPKG_CATEGORY=HD_Station
SSH_CONNECTION=83.14.69.37 56809 192.168.1.170 22
LC_CTYPE=en_US.UTF-8
LESSOPEN=| /bin/lesspipe %s
DISPLAY=:0
LESSCLOSE=/bin/lesspipe %s %s
_=/usr/bin/env
OLDPWD=/
root@QNAP-NAS:~# export
declare -x CHROOT_DIR="/"
declare -x DISPLAY=":0"
declare -x DMALLOC_OPTIONS="debug=0x34f47d83,inter=100,log=logfile"
declare -x EDITOR="/bin/vi"
declare -x HISTFILESIZE="2000"
declare -x HISTSIZE="1000"
declare -x HOME="/root"
declare -x HOSTNAME="QNAP-NAS"
declare -x INPUTRC="/etc/inputrc"
declare -x LANG="en_US.UTF-8"
declare -x LC_ALL="en_US.UTF-8"
declare -x LC_CTYPE="en_US.UTF-8"
declare -x LESSCLOSE="/bin/lesspipe %s %s"
declare -x LESSOPEN="| /bin/lesspipe %s"
declare -x LIBVA_DRIVERS_PATH="/usr/lib64/dri"
declare -x LOGNAME="root"
declare -x LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
declare -x MAIL="/var/mail/admin"
declare -x MODEL_NAME="TS-269"
declare -x OLDPWD="/"
declare -x PAGER="/bin/more "
declare -x PATH="/opt/google/default_chrome:/usr/local/bin:/opt/startup_shell:/opt/bin:/usr/sbin:/usr/bin:/sbin:/bin:."
declare -x PLATFORM_NAME="TS-NASX86"
declare -x PS1="\\[\\e]0;\\u@\\h: \\w\\a\\]\${debian_chroot:+(\$debian_chroot)}\\u@\\h:\\w\\\$ "
declare -x PWD="/root"
declare -x QPKG_CATEGORY="HD_Station"
declare -x QPKG_CLASS="HD_Station"
declare -x SDL_VIDEODRIVER="x11"
declare -x SHELL="/bin/sh"
declare -x SHLVL="2"
declare -x SSH_CLIENT="83.14.69.37 56809 22"
declare -x SSH_CONNECTION="83.14.69.37 56809 192.168.1.170 22"
declare -x SSH_TTY="/dev/pts/3"
declare -x TERM="xterm"
declare -x USER="root"
declare -x hds_dir="HD_Station"
declare -x rootdrive="MD0_DATA"
insserv
touch /usr/local/bin/insserv
chmod a+x /usr/local/bin/insserv
echo '#!/usr/bin/sh' > /usr/local/bin/insserv
echo 'exit 0' >> /usr/local/bin/insserv
cat /usr/local/bin/insserv
#!/usr/bin/sh
exit 0
insserv
root@QNAP-NAS:~# insserv
bash: insserv: command not found
root@QNAP-NAS:~# touch /usr/local/bin/insserv
root@QNAP-NAS:~# echo '#!/usr/bin/sh' > insserv
root@QNAP-NAS:~# echo 'exit 0' >> insserv
root@QNAP-NAS:~# cat insserv
#!/usr/bin/sh
exit 0
root@QNAP-NAS:~# insserv
bash: /usr/local/bin/insserv: Permission denied
chmod a+x /usr/local/bin/insserv #nadaje uprawnienie EXEC dla Wszystkich
# Opis: 'a' All, 'u' user, 'g' group, 'o' others;; '+' add, '-' remove;; 'x' exec, 'r' read, 'w' write
chmod 766 /usr/local/bin/insserv #ustawia uprawnienie 766 dla pliku
insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
[/] # insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
sh: insserv: command not found
Fault exit: 127
[/] # cat insserv
#!/usr/bin/sh
exit 0
[~] # insserv
-sh: insserv: command not found
/usr/local/bin/insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
export PATH="$PATH:/usr/local/bin/"
insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
[/] # /usr/local/bin/insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
Exit, OK: 0
[/] # export PATH="$PATH:/usr/local/bin/"
[/] # insserv && echo "Exit, OK: $?" || echo "Fault exit: $?"
Exit, OK: 0
[/] # cp insserv /usr/local/bin/