WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: after install rdesktop successfully, but all application gone after reboot  (Read 3852 times)

Offline justsaythank

  • Newbie
  • *
  • Posts: 6
Dear sir,

I have install tinycore linux in hd, and use appbrowser to install rdesktop 1.6 successfully.  However after reboot linux, rdesktop gone.  I have read the Core Concepts, and trial to backup device --> hda1.  But do not success.

How can I fix this problem?

Best regards,

JustSayThank

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Make sure hda1 exists and is ready for use (ie formatted)

Offline justsaythank

  • Newbie
  • *
  • Posts: 6
hda1 is formated

when running rdesktop, system report
sh: rdesktop: not found

however, i check with find command, system report
/usr/local/tce.installed/rdesktop
/usr/local/bin/rdesktop
/usr/local/share/rdesktop


when i try to re-install rdesktop once more through appbrowser, it report
Error: rdesktop is already installed!

Can anyone help me to solve this problem?





Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Did you change your PATH variable?
What happens if you run /usr/local/bin/rdesktop?

Offline justsaythank

  • Newbie
  • *
  • Posts: 6
before go on this topic, i have to say i am a very fresh linux user

running /usr/local/bin/rdesktop directly, it report
sh: /usr/local/bin/rdesktop: not found





Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Please show the output of:
ls -l /usr/local/bin/rdesktop

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
rdesktop networks windows nicely onto my tc laptop. Only problem is that it resets the resolution on the windows machine so that it's lcd monitor no longer works. I can't reboot it from the laptop, so the only way to get the lcd monitor working again is to shut it down.  

Edit: I see....unlike VNC, you have to log out and in, or it creates a conflict.
« Last Edit: August 19, 2009, 05:36:32 AM by jpeters »

Offline justsaythank

  • Newbie
  • *
  • Posts: 6
after running
ls -l /usr/local/bin/rdesktop

it report
lrwxrwxrwx 1 root root 43 Aug 17 02:41 /usr/local/bin/rdesktop
-> /tmp/tcloop/rdesktop/usr/local/bin/rdesktop




Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
If you use rdesktop.tce, does it work? 

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
How are you running TC? (see concepts)

Offline justsaythank

  • Newbie
  • *
  • Posts: 6
Sorry for my late reply.

I think I have got the solution, I missed the important step --> boot option with tinycore tce = hda1.

So I can run rdesktop successfully after reboot.

Another question is coming, how could I put the rdesktop icon on the desktop with paramater pre-set?

e.g.  rdesktop 192.168.1.94 -f

Could any one help me? Because I am setting up a classroom for my students, they would use some old machine with tinycorelinux installed and run window terminal services.

Best regards.








Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
Quote
Another question is coming, how could I put the rdesktop icon on the desktop with paramater pre-set?

Do you want the icon added to the icon bar (wbar) or directly on the desktop?

If you want it on wbar, you need to get three lines into ~/.wbar, one to specify the icon, one to specify the title and one to specify the command line to be executed.  You can snarf an icon image from some other extension or make your own - the rdesktop extension doesn't include one.

.wbar is a text file so you can just edit it with your favorite text editor for testing, then create an extension (or pseudo-extension) to make the entries automatically.

Search the forum for topics relating to "wbar".

If you want the icon directly on the desktop, I seem to recall there was discussion of that on the forum as well, though I don't remember anything about it that would make a good search term.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
~/.wbar is no longer used.  It's just /usr/local/tce.wbar now.  Could just have the startup script /opt/bootlocal.sh echo the icon lines into that file (see wiki page "iconmenuinfo" if needed)

Or see http://forum.tinycorelinux.net/index.php?topic=1508.msg14022#msg14022 (condensed version of "creating extensions" just for icons) which should be fine for the way you are running TC.

Offline Lee

  • Hero Member
  • *****
  • Posts: 645
    • My Core wiki user page
oops!

I was looking at my TC 1.x box when I wrote that - I was away from home at the time and that's the only TC box I could access from the internet.

Quote
Could just have the startup script /opt/bootlocal.sh echo the icon lines into that file

I'm feeling kind of silly for not thinking of that.  It would be very much my style.
32 bit core4.7.7, Xprogs, Xorg-7.6, wbar, jwm  |  - Testing -
PPR, data persistence through filetool.sh          |  32 bit core 8.0 alpha 1
USB Flash drive, one partition, ext2, grub4dos  | Otherwise similar