Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: tomkva on December 30, 2009, 10:42:44 AM
-
HI ALL,
i want to run rdesktop on TC strart up. i placed in /opt/bootlocal.sh
/tmp/tcloop/rdesktop/usr/local/bin/rdesktop -f terminal
tiny core is starting, but NOTHING!!! where is my rdp to terminal server??? :(((
i`m on TC 2.7 version
very need for help....
Thanks
-
Bootlocal.sh runs before tc is logged in and X is started.
Any X programs that you want to run at boot should be added to .xsession.
-
thanks
.xsesion in what directory?
-
/home/tc/.xsession
-
thanks
then i`m booting from usb then home/tc/.xsession
my point was pxe booting and auto rdp login screen to terminal server. i rebuild kernel with modified scel/.xsession
all works ok!!! booting is about 30 sec.!!!
last problem is: tc boot, user get win terminal login screen, but if they did not input username/pass som time, win terminal server drop session and user get standart, clean tiny desktop...
but bootlocal.sh problem is SOLVED, thanks a lot, Gerald!
-
You can put rdesktop in a loop:
while [ 1 ]; do
rdesktop -f terminal
done
-
good idea!
i have in .xsession line full path/rdesktop terminal -f
can i use in .xsesion
while [ 1 ]; do
path/rdesktop -f terminal
done
????
it can be a perfect solution CURAGA!!!!
i can try only tomorrow in the morning :)
-
Yeah, the full path works as well.
-
ok, i will try
last problem:
user do log off from term server, is closing rdesktop window and will see clean TC desktop .....
maybe some ideas how to do then is closing resktop window, TC going to shutdown ???
-
Hmm, I don't know how to tell the difference between an user-closed window and a window closed by the app itself.
-
i was try
while [ 1 ]; do
path/rdesktop -f terminal
done
but it didn`t work :(
Xlib: extension "Generic Event Extension" missing on display ":0.0"
./.xsession: line 19: [1]: not found
:(:(:(
-
I guess there are two unrelated things happening:
(1) Xlib: extension "Generic Event Extension" missing on display ":0.0" is a warning message that appears on many occasions. I believe if you search this forum here you will find the repeated advise to ignore it.
(2) ./.xsession: line 19: [1]: not found There needs to be spaces around the square brackets. You will find that [1] fails, whilst [ 1 ] should succeed.
-
it was spaces around the square brackets!!!!
Thank You Maro!!!
for a perfect thinclient missing solution for shutdown
problem is then i write POWEROFF the system is REBOOTING :(
any ideas?
-
ACPI must be enabled in the BIOS and not disabled by boot code.
-
in bios acpi support is enabled
can be, that TC sen wrong command for poweroff?
did i must modify kernel for this solution?
-
Make sure you do not pass it an acpi=off bootcode.
-
i`m booting from pxe
did acpi=on in pxe default can help?
-
i do not know why, but then i wass try 2.9 RC, was try another thincliink client edition, my TC think client edition will start work ok
so, now i have a pxe boot solution with ~30s booting time, rdesktop is starting automatically. in desktop user have two icons - poweroff and rdesktop
cool!!!
if anybody wants to try Tiny Core Thinclient OS :) - just write for me, or i can put it somewhere?