SliTaz SliTaz Forum

You are not logged in.

#1 2013-02-21 13:59:07

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

TeamViewer/get-teamviewer

TeamViewer (Remote Control Application)

ln: usr/bin/teamviewer: File exists

    root@slitaz:~# get-teamviewer

    Connecting to www.teamviewer.com (46.163.100.220:80)

    teamviewer_linux.deb 100% |*******************************| 17820k 00:00:00 ETA

    ln: usr/bin/teamviewer: File exists

    root@slitaz:~#

1.

tux@slitaz:~$ sudo get-teamviewer

Connecting to www.teamviewer.com (46.163.100.220:80)

teamviewer_linux.deb 100% |*******************************| 17820k 00:00:00 ETA

Packing : teamviewer-8.0.17147

================================================================================

Creating the list of files...                                        [ OK ]

Creating md5sum of files...                                          [ OK ]

Compressing the fs...                                                [ OK ]

Updating receipt sizes...                                            [ OK ]

Creating full cpio archive...                                        [ OK ]

Restoring original package tree...                                   [ OK ]

================================================================================

Package teamviewer-8.0.17147 compressed successfully.

Size : 11.9M    teamviewer-8.0.17147.tazpkg

Installation of : teamviewer

================================================================================

Copying teamviewer...                                                [ OK ]

Extracting teamviewer...                                             [ OK ]

Extracting the pseudo fs... (lzma)                                   [ OK ]

Installing teamviewer...                                             [ OK ]

Removing all tmp files...                                            [ OK ]

To start teamviewerd server you can run :

/etc/init.d/teamviewerd start

Or add teamviewerd to RUN_DAEMONS in /etc/rcS.conf

Web viewer (needs flash): https://go.teamviewer.com/v8/

================================================================================

teamviewer (8.0.17147) is installed.

tux@slitaz:~$

2.

tux@slitaz:~$ cat get-teamviewer.diff

--- get-teamviewer-orig

+++ get-teamviewer

@@ -3,7 +3,7 @@

PACKAGE="teamviewer"

WEB_SITE="http://www.$PACKAGE.com/"

URL=${WEB_SITE}download/${PACKAGE}_linux.deb

-DEPENDS="bash alsa-lib zlib xorg-libXext"

+DEPENDS="bash alsa-lib zlib xorg-libXext coreutils-file-special"

ROOT="$1"

[ -d "$ROOT" ] || ROOT=""

@@ -48,11 +48,10 @@

mv $PACKAGE $PACKAGE-$VERSION

cd $PACKAGE-$VERSION/fs

-ln -s $(cd usr/bin ; ls $PACKAGE*) usr/bin/$PACKAGE

-mkdir -p usr/share/applications

-sed "s|EXEC|/usr/bin/$PACKAGE|g;s!ICON!/$(find opt | grep $PACKAGE.png)!g" \

-    < $(find opt | grep desktop.template) \

-    > usr/share/applications/$PACKAGE.desktop

+mkdir -p usr/share/applications usr/share/pixmaps etc/init.d

+cp -a opt/teamviewer8/tv_bin/desktop/*.png usr/share/pixmaps

+cp -a opt/teamviewer8/tv_bin/desktop/*.desktop usr/share/applications

+cp -a opt/teamviewer8/tv_bin/script/teamviewerd.sysv etc/init.d/teamviewerd

cd ../..

cat > $PACKAGE-$VERSION/receipt <<EOT

@@ -69,10 +68,16 @@

post_install()

{

    cat <<EOF

+

+To start ${PACKAGE}d server you can run :

+/etc/init.d/${PACKAGE}d start

+Or add ${PACKAGE}d to RUN_DAEMONS in /etc/rcS.conf

+

Web viewer (needs flash): https://go.teamviewer.com/v${VERSION%%.*}/

EOF

}

EOT

+

# Pack

tazpkg pack $PACKAGE-$VERSION

tux@slitaz:~$ 

3.

tux@slitaz:~$ tail /var/lib/tazpkg/installed/teamviewer/files.list

/usr/share/applications/teamviewer-teamviewer8.desktop

/usr/share/pixmaps/teamviewer.png

/etc/init.d/teamviewerd

/opt/teamviewer8/tv_bin/TeamViewer

/opt/teamviewer8/tv_bin/wine/lib/libwine.so

/opt/teamviewer8/tv_bin/wine/lib/libwine.so.1

/opt/teamviewer8/tv_bin/TeamViewer_Desktop

/usr/bin/teamviewer

/var/log/teamviewer

/etc/teamviewer

tux@slitaz:~$

Offline

#2 2013-03-09 05:17:36

alanyih
Administrator
Registered: 2011-04-02
Posts: 532

Re: TeamViewer/get-teamviewer

/etc/init.d/teamviewerd: No such file or directory

http://hg.slitaz.org/wok/file/7ae80fa5a40a/get-teamviewer/stuff/get-teamviewer

1.

tux@slitaz:~$ sudo teamviewer --daemon start

/etc/init.d/teamviewerd start

/opt/teamviewer8/tv_bin/script/tvw_daemon: line 185: /etc/init.d/teamviewerd: No such file or directory

fail

2.

tux@slitaz:~$ ls -l /etc/init.d/team*

ls: /etc/init.d/team*: No such file or directory

tux@slitaz:~$ grep teamviewerd /var/lib/tazpkg/installed/teamviewer/files.list

/opt/teamviewer8/tv_bin/script/teamviewerd.service

/opt/teamviewer8/tv_bin/script/teamviewerdMint.conf

/opt/teamviewer8/tv_bin/script/teamviewerd.sysv

/opt/teamviewer8/tv_bin/script/teamviewerd.conf

/opt/teamviewer8/tv_bin/teamviewerd

3.

tux@slitaz:~$ sudo /opt/teamviewer8/tv_bin/script/teamviewerd.sysv start

Starting teamviewerd...

tux@slitaz:~$ netstat -tp

netstat: showing only processes with your user ID

Active Internet connections (w/o servers)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name

tcp        0      0 192.168.0.100:37282     server15002.teamviewer.com:5938 ESTABLISHED -

tcp        0      0 192.168.0.100:60123     server1600.teamviewer.com:5938 TIME_WAIT   -

netstat: /proc/net/tcp6: No such file or directory

tux@slitaz:~$ ps ax | tail -6

3117 ?        Sl     0:00 /opt/teamviewer8/tv_bin/teamviewerd -d

3133 ?        Sl     0:00 c:\TeamViewer\TeamViewer.exe

3156 ?        Ss     0:00 /opt/teamviewer8/tv_bin/wine/bin/wineserver

3162 ?        Sl     0:00 C:\windows\system32\services.exe

3180 pts/2    R+     0:00 ps ax

3181 pts/2    S+     0:00 tail -6

4.

Applications -> Internet -> TeamViewe 8

tux@slitaz:~$ netstat -tp

netstat: showing only processes with your user ID

Active Internet connections (w/o servers)

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name

tcp        0      0 192.168.0.100:37282     server15002.teamviewer.com:5938 ESTABLISHED -

tcp        0      0 localhost:38060         localhost:60014         ESTABLISHED 3133/c:\TeamViewer\

tcp        0      0 localhost:49201         localhost:5939          ESTABLISHED 3133/c:\TeamViewer\

tcp        0      0 localhost:60014         localhost:38060         ESTABLISHED 3133/c:\TeamViewer\

tcp        0      0 localhost:5939          localhost:49201         ESTABLISHED -

netstat: /proc/net/tcp6: No such file or directory

tux@slitaz:~$

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 8 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]