Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: justsaythank on August 16, 2009, 03:17:37 PM

Title: after install rdesktop successfully, but all application gone after reboot
Post by: justsaythank on August 16, 2009, 03:17:37 PM
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
Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: ^thehatsrule^ on August 16, 2009, 03:39:20 PM
Make sure hda1 exists and is ready for use (ie formatted)
Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: justsaythank on August 18, 2009, 12:04:34 PM
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?




Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: gerald_clark on August 18, 2009, 12:38:14 PM
Did you change your PATH variable?
What happens if you run /usr/local/bin/rdesktop?
Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: justsaythank on August 18, 2009, 01:02:46 PM
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




Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: gerald_clark on August 18, 2009, 01:11:38 PM
Please show the output of:
ls -l /usr/local/bin/rdesktop
Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: jpeters on August 19, 2009, 04:52:41 AM
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.
Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: justsaythank on August 19, 2009, 01:28:39 PM
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


Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: jpeters on August 20, 2009, 12:35:08 AM
If you use rdesktop.tce, does it work? 
Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: ^thehatsrule^ on August 20, 2009, 01:03:51 AM
How are you running TC? (see concepts (http://www.tinycorelinux.com/concepts.html))
Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: justsaythank on August 24, 2009, 01:23:32 PM
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.







Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: Lee on August 24, 2009, 04:03:50 PM
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.
Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: ^thehatsrule^ on August 24, 2009, 04:48:11 PM
~/.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.
Title: Re: after install rdesktop successfully, but all application gone after reboot
Post by: Lee on August 24, 2009, 11:09:22 PM
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.