WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: which app to connect remotely to windows XP inside LAN  (Read 5319 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
which app to connect remotely to windows XP inside LAN
« on: September 08, 2012, 09:12:59 PM »
hi,
i am using tiny core.
I have windows xp computer in another LAN behind a router .
I used to use team viewer as it has binaries for both windows & linux .
I do not see team viewer here in repo.
IS there any other alternative  ?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: which app to connect remotely to windows XP inside LAN
« Reply #1 on: September 08, 2012, 09:39:10 PM »
Not quite right, teamviewer has proprietary binaries for windows packed and configured with wine.
Has worked for me under core as provided by manufacturer without any effort, not sure what your issue is...
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11545
Re: which app to connect remotely to windows XP inside LAN
« Reply #2 on: September 08, 2012, 10:25:52 PM »
Hi manit123
I use freerdp version 1.0.1 to access a couple of machines running Windows 2008R2.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: which app to connect remotely to windows XP inside LAN
« Reply #3 on: September 11, 2012, 07:21:32 AM »
to tinypoodle 
Can you explain a bit ?
do I have to install wine.tcz ? then what ?

to hero ?
rdp does not work for machines not in same LAN , I have experienced because 192.168.something are internal .

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11545
Re: which app to connect remotely to windows XP inside LAN
« Reply #4 on: September 11, 2012, 10:11:59 AM »
Hi manit123
Quote
to hero ?
rdp does not work for machines not in same LAN , I have experienced because 192.168.something are internal .
I take it you were referring to me. Of course RDP works for machines on different LANs, this is how I connect to
a machine several miles away:
Code: [Select]
xfreerdp -u Rich -p Password --plugin cliprdr --plugin rdpdr --data disk:msrb:/home/tc/msrbcusips/templates -- 70.104.175.62 &The router at the other end is setup to forward port 3389 to the 192.168.x.x IP address of the machine I connect to.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: which app to connect remotely to windows XP inside LAN
« Reply #5 on: September 11, 2012, 04:02:47 PM »
No, wine comes bundled in download from manufacturer of teamviewer.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: which app to connect remotely to windows XP inside LAN
« Reply #6 on: September 12, 2012, 07:46:14 AM »
to rich
OK .
Here , I do not have control over router providing LAN at other end . So cannot forward its port to specific machine on network.

to tinypoodle
Teamviewer provides rpm ,deb , tarball . I guess , tarball will work .

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Running teamviewer
« Reply #7 on: September 12, 2012, 11:17:31 PM »
After downloading and untarring the tarball, when executing the "teamviewer" script it appeared to do some setting up of wine, but the app did not start.
What resulted in app running was:
"/path/to/wine /unix_style_syntax_path/to/TeamViewer.exe"
Note: best to use tab completion for path as there is that really nasty empty space in "Program Files" which needs to be escaped.
Once the app was running it worked very smoothly, I connected to remote demo system as provided and played with all available options.
:)

Hint: A dir ~/.wine gets created which is of ~500 KB size, one might consider to exclude that from backup.

EDIT:
A look at the (malfunctioning) wrapper scripts "teamviewer" and "wrapper" shows that they are declared as #!/bin/bash
Incidentally I happened to have bash already loaded, not sure if a real requirement or not to run those scripts, but could not harm.
« Last Edit: September 12, 2012, 11:29:45 PM by tinypoodle »
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: which app to connect remotely to windows XP inside LAN
« Reply #8 on: September 16, 2012, 08:28:12 AM »
I untarred the teamviewer_linux.tar.gz  in ~ folder

$ tree ~/teamviewer7/
/home/tc/teamviewer7/
|-- CopyRights_DE.txt
|-- CopyRights_EN.txt
|-- License.txt
|-- Lizenz.txt
|-- license_foss.txt
|-- linux_FAQ_DE.txt
|-- linux_FAQ_EN.txt
|-- profile
|-- teamviewer -> ./.tvscript/teamviewer
`-- wine_lgpl_license.txt

I have not installed wine.tcz

:~/teamviewer7/.tvscript$ cat teamviewer
#!/bin/bash

TV_script_dir="$(dirname "$(readlink -f "$0")")"
"$TV_script_dir/wrapper" wine "c:\Program Files\TeamViewer\Version7\TeamViewer.exe" "$@"

true

On running the above script , I get
~/teamviewer7/.tvscript$ ./teamviewer
sh: ./teamviewer: not found

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11545
Re: which app to connect remotely to windows XP inside LAN
« Reply #9 on: September 16, 2012, 09:18:43 AM »
Hi manit123
Quote
:~/teamviewer7/.tvscript$ cat teamviewer
#!/bin/bash
Quote
sh: ./teamviewer: not found
Did you install bash?

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: which app to connect remotely to windows XP inside LAN
« Reply #10 on: September 16, 2012, 10:16:14 AM »
not yet

EDIT
Now I did .
On first run It setup something with wine carafe.

That means , bash is essential.
« Last Edit: September 16, 2012, 10:20:19 AM by manit123 »

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: which app to connect remotely to windows XP inside LAN
« Reply #11 on: September 16, 2012, 11:38:51 AM »
$ ./teamviewer
TeamViewer: 7.0.9360
Profile: /home/tc (tc)
Desktop:
/etc/*-release
 
Checking setup...
$
Now , what should I do ?
BTW , the situation is
$ ls -hal ~
total 32
drwxr-s---    9 tc       staff        360 Sep 16 20:57 ./
drwxr-xr-x    3 root     root          60 Mar  4  2010 ../
drwxr-xr-x    2 tc       staff         40 Apr 21  2010 .X.d/
-rw-------    1 tc       staff         97 Sep 16 20:49 .Xauthority
-rwxr-xr-x    1 tc       staff        275 Sep 16 20:49 .Xdefaults
-rw-r--r--    1 tc       staff        835 Sep 16 21:03 .ash_history
-rw-r--r--    1 tc       staff        272 Mar  4  2010 .ashrc
-rw-r--r--    1 tc       staff         29 Feb 21  2010 .bashrc
drwxr-xr-x    3 tc       staff         60 Mar  4  2010 .fltk/
drwxr-xr-x    2 tc       staff         60 Sep 16 20:57 .fontconfig/
drwxr-sr-x    3 tc       staff         60 Sep 16 20:49 .local/
drwx--S---    4 tc       staff         80 Sep 16 20:57 .mozilla/
-rw-r--r--    1 tc       staff        967 Dec  4  2011 .profile
-rwxr-xr-x    1 tc       staff        103 Sep 16 20:49 .setbackground
lrwxrwxrwx    1 tc       staff         20 Sep 16 20:49 .wbar -> /usr/local/tce.icons
drwxr-sr-x    4 tc       staff         80 Sep 16 20:54 .wmx/
-rwxr-xr-x    1 tc       staff        422 Sep 16 20:49 .xsession
drwxr-sr-x    5 tc       staff        300 Sep 16 20:55 teamviewer7/

Seems .wine folder wasn't created .
Quote
What resulted in app running was:
"/path/to/wine /unix_style_syntax_path/to/TeamViewer.exe"
Note: best to use tab completion for path as there is that really nasty empty space in "Program Files" which needs to be escaped.
Code: [Select]
$ df
Filesystem                Size      Used Available Use% Mounted on
rootfs                    1.8G    155.2M      1.6G   9% /
tmpfs                  1004.9M         0   1004.9M   0% /dev/shm
/dev/sdb1                14.9G      9.4G      5.5G  63% /mnt/sdb1
/dev/loop0              364.0K    364.0K         0 100% /tmp/tcloop/Xvesa
/dev/loop1                3.2M      3.2M         0 100% /tmp/tcloop/Xlibs
/dev/loop2              288.0K    288.0K         0 100% /tmp/tcloop/fltk-1.10
/dev/loop3              120.0K    120.0K         0 100% /tmp/tcloop/Xprogs
/dev/loop4               36.0K     36.0K         0 100% /tmp/tcloop/wbar
/dev/loop5               28.0K     28.0K         0 100% /tmp/tcloop/flwm_topside
/dev/loop6               12.0K     12.0K         0 100% /tmp/tcloop/ncurses-common
/dev/loop7              148.0K    148.0K         0 100% /tmp/tcloop/ncurses
/dev/loop8              392.0K    392.0K         0 100% /tmp/tcloop/bash
/dev/loop9              108.0K    108.0K         0 100% /tmp/tcloop/libxcb
/dev/loop10             680.0K    680.0K         0 100% /tmp/tcloop/libxml2
/dev/loop11              12.0K     12.0K         0 100% /tmp/tcloop/libffi
/dev/loop12               1.4M      1.4M         0 100% /tmp/tcloop/glib2
/dev/loop13             456.0K    456.0K         0 100% /tmp/tcloop/shared-mime-info
/dev/loop14             772.0K    772.0K         0 100% /tmp/tcloop/graphics-libs-1
/dev/loop15             268.0K    268.0K         0 100% /tmp/tcloop/gdk-pixbuf2
/dev/loop16             656.0K    656.0K         0 100% /tmp/tcloop/Xorg-7.6-lib
/dev/loop17             524.0K    524.0K         0 100% /tmp/tcloop/pango
/dev/loop18              76.0K     76.0K         0 100% /tmp/tcloop/expat2
/dev/loop19             132.0K    132.0K         0 100% /tmp/tcloop/fontconfig
/dev/loop20             204.0K    204.0K         0 100% /tmp/tcloop/pixman
/dev/loop21             504.0K    504.0K         0 100% /tmp/tcloop/cairo
/dev/loop22             156.0K    156.0K         0 100% /tmp/tcloop/atk
/dev/loop23               2.8M      2.8M         0 100% /tmp/tcloop/gtk2
/dev/loop24             388.0K    388.0K         0 100% /tmp/tcloop/dbus
/dev/loop25              92.0K     92.0K         0 100% /tmp/tcloop/dbus-glib
/dev/loop26              20.0K     20.0K         0 100% /tmp/tcloop/libnotify
/dev/loop27               1.1M      1.1M         0 100% /tmp/tcloop/curl
/dev/loop28             376.0K    376.0K         0 100% /tmp/tcloop/libasound
/dev/loop29              20.1M     20.1M         0 100% /tmp/tcloop/firefox
/dev/loop30               8.0K      8.0K         0 100% /tmp/tcloop/hicolor-icon-theme
There is no 'wine' .

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11545
Re: which app to connect remotely to windows XP inside LAN
« Reply #12 on: September 16, 2012, 11:58:19 AM »
Hi manit123
According to tinypoodle wine comes bundled with that package. Open a terminal and enter:
Code: [Select]
find . -iname wine*and see it you get any results.
Quote
There is no 'wine' .
Loop mounting extensions under  /tmp/tcloop  is unique to Tinycore. I would not expect to find anything there
from a third party package.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: which app to connect remotely to windows XP inside LAN
« Reply #13 on: September 16, 2012, 12:19:14 PM »
$ find ~ -iname '*wine*'
$