do not put it after exec xwin ... it will never execute ... exec xwin transfers to xwin, and never comes back

you can try it somewhere before exec xwin,
after export SHSQL_DB would be a good place
just before exec xwin might be better

there are things that are setup in /etc/profile that are not setup yet when rc.local runs ... for example, PATH and LD_LIBRARY_PATH, so if the program will not run from rc.local but will run after /etc/profile has executed, it is not surprising

I'm trying to convert some older PCs to become thin clients for a Windows Server 2003 Terminal Server. I installed the standard distro of puppy 4.1.2 and trimmed it down a bit. All in all, it's working fine. I installed rdesktop and got it working through the command line. I created a script in /bin so that i can run rdesktop with just one click once i put a sym link on the desktop.

There are two things more that i would like to accomplish:

1. Automatically start the rdesktop script once xwindows loads. I have tried putting the link to the rdesktop script into /root/startup but to no avail. It wouldn't run. I placed the line "/bin/rdesktop.sh" into the .xinitrc before the line "#exec $CURRENTWM". It won't startup because the network connection isn't available yet. Once loaded, if i restart the xserver it works just fine.

How can I get this script to run AFTER the network connection has been established?

2: I would like to have some kind of Daemon running to monitor the rdesktop process so that if the user closes it by logging out of rdesktop, the script will run and rdesktop will start back up.

Please help me if you can. I searched high and low to find a free alternative to convert old PCs into thin clients. Puppy and rdesktop is what i have come up with.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum