The time now is Wed 19 Jun 2013, 06:01
All times are UTC - 4 |
|
Page 2 of 2 Posts_count |
Goto page: Previous 1, 2 |
| Author |
Message |
Kal
Joined: 05 May 2005 Posts: 620 Location: California, High Desert
|
Posted: Mon 07 Mar 2011, 21:12 Post_subject:
Stop xwin |
|
To start without xwin, I just remark it out in /etc/profile at the bottom.
| Code: | #want to go straight into X on bootup only...
if [ ! -f /tmp/bootcnt.txt ];then
touch /tmp/bootcnt.txt
# aplay -N /usr/share/audio/bark.au
dmesg > /tmp/bootkernel.log
#exec xwin #Just add the # here
fi
fi |
Kal
|
|
Back to top
|
|
 |
jamesbond
Joined: 26 Feb 2007 Posts: 1573 Location: The Blue Marble
|
Posted: Mon 07 Mar 2011, 21:38 Post_subject:
|
|
| jamesbond wrote: | Edit /etc/rc.d/rc.local and add the following code. If it works, let me know - I'll explain why it works. If it doesn't work - well, I don't need to explain anything right?
| Code: | | touch /tmp/bootcnt.txt |
|
If you see the code in Kal's posting above, before it runs xwin, it checks whether a file /tmp/bootcnt.txt exists. So the trick is just to create this /tmp/bootcnt.txt (touch /tmp/bootcnt.txt does exactly that) before /etc/profile is run - and rc.local is the right place, as it is run before /etc/profile.
And yes, this is what pfix=nox actually does. Pfix=nox doesn't work in full install because the code that interprets this only exists in initrd.gz, and full-install doesn't use initrd.gz. (In fact, all other puppy boot parameters will not work in full install).
cheers!
_________________ Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
|
|
Back to top
|
|
 |
Kal
Joined: 05 May 2005 Posts: 620 Location: California, High Desert
|
Posted: Tue 08 Mar 2011, 00:39 Post_subject:
|
|
I only offered my way as an alternative because jamesbond was not sure it would work.
| Quote: | | If it works, let me know - I’ll explain why it works. If it doesn’t work - well, I don’t need to explain anything right? |
I have finally tested jamesbond’s way, it does work and is more technical, but, in the end I believe they both work. I’ve just been using my simple way for years. Good work jamesbond.
Kal
|
|
Back to top
|
|
 |
ap72
Joined: 27 Feb 2011 Posts: 30
|
Posted: Tue 08 Mar 2011, 11:20 Post_subject:
|
|
editing rc.local with- touch /tmp/bootcnt.txt worked great,thankyou mr bond,james bond,who da man you da man!
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2731 Location: Kiel,Germany
|
Posted: Tue 08 Mar 2011, 12:03 Post_subject:
|
|
Thanks to put light on the bootcnt.txt file .
I must say , that I thought it would have something to do with ¨bootcritical¨ or something like that ( to be read from "pfix=rdsh" mode .... ) .
But must be somethig like "bootconsoleandterminal" .
I still will have to look a lot into /etc/rc.d and for myself I would have placed `xwin` in the rc.sysinit file and not in a configuration file, that is read all the time when launching a[n] [u]rxvt .
On the one hand I had no cause to delete this always empty bootcnt file , but on the other hand I could have done it and would have been wondering about messages like ¨X already running on display 0¨
|
|
Back to top
|
|
 |
|
|
Page 2 of 2 Posts_count |
Goto page: Previous 1, 2 |
|
|
Rules_post_cannot Rules_reply_cannot Rules_edit_cannot Rules_delete_cannot Rules_vote_cannot You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|