Tiny Core Extensions > TCE Q&A Forum
rdesktop to start automatically at startup and reboot at logoff
get2guy:
Hi, I seen and follow the install shown on this link:
"Thin Client with Tiny Core Linux for RDC"
http://www.youtube.com/watch?v=B_nCG0r74PU
but something dosent work for me
Is it something else beside what shown in the video that I'm missing?
my autostart file content is:
------------------------------------------------
#!/bin/sh
while true
do
rdesktop -f 10.0.0.7
done
------------------------------------------------
my .xsession file content is:
----------------------------------------------------------------------------------------------------------------------------------------------
Xvesa -br -screen 1024x768x32 -shadow -2button -mouse /dev/input/mice,5 -nolisten tcp -I>/dev/null 2>&1 & export XPID=$!
waitforX || ! echo faild in waitforX || exit
"$DESKTOP" 2>/tmp/wm_errors &
export WM_PID=$!
[ -x $HOME/.setbackground ] && $HOME/.setbackground
[ -x $HOME/.mouse_config ] && $HOME/.mouse_config &
[ $(which "$ICONS".sh) ] && ${ICONS}.sh &
[ -d "$HOME/.X.d" ] && find "$HOME/.X.d" -type f -print l while read F; do . "$F"; &
./autostart &
done
---------------------------------------------------------------------------------------------------------------------------------------------
gerald_clark:
If you have a question, please state it clearly.
get2guy:
im trying to configure rdesktop to run automatically at startup to a specified ip.
which dosent seems to work for me.
i dont know what is wrong with my editing.
gerald_clark:
Please read the book. http://tinycorelinux.net/book.html
Programs to run when starting X are placed in ~/.X.d
Misalf:
You put your start script in between the parameters of another command.
Change this:
--- Code: ---[ -d "$HOME/.X.d" ] && find "$HOME/.X.d" -type f -print l while read F; do . "$F"; &
./autostart &
done
--- End code ---
To this:
--- Code: ---[ -d "$HOME/.X.d" ] && find "$HOME/.X.d" -type f -print | while read F; do . "$F"; done
$HOME/autostart &
--- End code ---
Ironically, the comand you messed up is just what you need. q:
Navigation
[0] Message Index
[#] Next page
Go to full version