Hello! i would like to thank you in advance for your help. Slitaz Newbie
My goal is to set my old PC as a dumb machine, when boots up i want to login automatically as "tux" and then run rdesktop to my server and asks for user and password for that connection.
I managed to install slitaz 3.0 in the harddisk and configure network.conf and install rdesktop through the internet
1st problem: when i installed rdesktop and use it for the first time it works, but after that i can't use it anymore because a "licencing error" problem.
Searching at google i realized that if i delete licence."host" files from rdesktop it works again. thats why i made a EscritorioRemoto.sh file (Escritorio Remoto = spanish for Remote Desktop) with this inside:
find / -type f -name licence.* -exec rm {} \;
rdesktop -f "IP to server"
i gave it permissions and made it executable. if i execute EscritorioRemoto.sh it works pretty well.
2nd problem: execute EscritorioRemoto.sh automatically after login.
searching in the menus i found "Preferences\Auto started applications", so i configured the user's autostart.sh file and i added this at the end of the file:
. /home/tux/Desktop/EscritorioRemoto.sh &
If i log out and log in again it works ok
3rd problem: Finally, automatically log in tux user
i found in "System Tools\Control Box\Login Manager Tab" that i can set my tux user for Auto Login in the slim.conf file. it didn't work at all when i reboot my pc.
WHEN MY PC BOOTS UP AND AUTOMATICALLY LOGS IN TUX USER, THE RDESKTOP WINDOW NEVER SHOWS UP BUT ONCE SLITAZ BOOTED UP AND AUTOMATICALLY LOGS IN TUX, IF I LOG OUT X SESSION AND LOG IN AGAIN, IT WORKS !! RDESKTOP SHOWS UP!!!
(O_o')
i can't understand what's happening, it seems like slitaz ignores the autostart.sh file from tux user when this user is set to auto login in slim.conf
somebody help me please =( i'm near to accomplish my goal