WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
TCB Talk / Re: minimum time to boot tiny core X server
« Last post by curaga on Today at 08:50:14 AM »
3 seconds, half of which is spent in the kernel. If you really need more, you could build a custom kernel.
22
I was about to suggest the same and tested it with
Code: [Select]
conky ; sudo reboot
in a file from my  ~/.X.d  folder but it rebooted right after starting X.
Was kinda messy to set it back to normal. (:
23
Quote
Code: [Select]
#!/bin/sh
# myrdesktop
while true
do
rdesktop -f -u XXXX -p XXXX 10.10.10.10
done
...
Currently when i logoff the script runs again.
I wish it will reboot tiny core in order to get the bootloader screnn (win 7 or the default tiny core OS)

Do you mean that, when you log out of the rdesktop session, rdesktop starts over again?

If so, you might change the script to something like this:
Code: [Select]
#!/bin/sh
# myrdesktop
rdesktop -f -u XXXX -p XXXX 10.10.10.10 ; sudo reboot
24
Hi get2guy
I think what you are looking for is something similar to this:
Code: [Select]
exitcheck.sh
sudo reboot
25
Hi Misalf and thanks for your reply.

I thinks you got my question wrong.

The scripts works well, it start automatically on startup and logs me in 10.10.10.10. the issue is at the logoff from the terminal server.
Currently when i logoff the script runs again.
I wish it will reboot tiny core in order to get the bootloader screnn (win 7 or the default tiny core OS)

maybe .bash_logout script should do the trick but i cant find such file in tiny core.
Can someone refer me to the location? or replacement file in tiny core OS?
26
TCB Talk / Re: minimum time to boot tiny core X server
« Last post by malikawan on Today at 04:06:15 AM »
sir curaga this is my pc bootchart plz and suggestion or comments

https://www.dropbox.com/s/mssvgzug7nrlz78/my_bootchart.png?dl=0
27
TCE Talk / Re: uzbl browser
« Last post by Misalf on Today at 03:30:06 AM »
Sometimes I rename the new downloaded kernel and initrd and change my boot loader's config so I can switch back if needed (never was the case). But I have aslo just replaced those files at runtime since I believe they are completely loaded into RAM anyway.
28
Déjà vu...
Im not too sure but your  ~/.xsession  looks kinda bad. I think it will execute  $HOME/autostart  as many times as there is a file found in  $HOME/.X.d  and won't execute  $HOME/autostart  at all if there is nothing in  $HOME/.X.d .

I'd suggest you either change it to this...
Code: [Select]
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"; done
[ -x $HOME/autostart ] && $HOME/autostart

... or save your  autostart  script in  ~/.local/bin  and let it be run from  ~/.X.d  by placing a file there (any file name; non-executable) that has only this content:
Code: [Select]
autostart
29
Hi All

I configure a machine to dual boot win7+tiny core

Tiny core is starting rdesktop with credentials to specific IP (works well since user & pass are per computer not user)
I don't know how I can make tiny core to reboot the local machine when the session ends. the goal is to go back to the bootloader menu.

Can someone help?

changes i made:
Created the file /home/tc/myrdesktop
-------------------------------------------------
#!/bin/sh
# myrdesktop
while true
do
rdesktop -f -u XXXX -p XXXX 10.10.10.10
done
-------------------------------------------------
Edited the file /home/tc/.xsession (added the last 2 lines)
-------------------------------------------------
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"; &
$HOME/autostart &
done
-------------------------------------------------------
Created the file /home/tc/.X.d/myrdesktop.sh
-------------------------------------------------------
#!/bin/sh
# myrdesktop
while true
do
rdesktop -f -u XXXX -p XXXX 10.10.10.10
done
-------------------------------------------------------
Gave the user poweroff and reboot privilege
-------------------------------------------------------
chmod u+s /sbin/poweroff
chmod u+s /sbin/reboot
-------------------------------------------------------
30
TCB Talk / Re: Need to store /tmp on physical disk
« Last post by curaga on Today at 01:39:33 AM »
Most apps have a config option, or accept the TMPDIR variable, which would only move rdiffweb's tmp, not the entire dir.
Pages: 1 2 [3] 4 5 ... 10