Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 2 [3] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: log-file of bootproces, is there a log-file of the bootproces< Next Oldest | Next Newest >
Ruthje Offline





Group: Awaiting Authorisation
Posts: 17
Joined: Aug. 2005
Posted: Sep. 20 2005,17:48 QUOTE

Quote (mikshaw @ Sep. 20 2005,11:25)
Since screen is a whole other system of shells, it's possible that the output is being controlled by screen rather than being sent to stdout/stderr.  Just guessing as usual =o)

Just out of curiosity...if it's just a headless jukebox, why use screen?

I control the box from a windows pc with putty over ssh and with screen I don't have to keep putty open all the time. I thought it was working now but the commands in bootlocal are being executed bij root so to return to the screen I also have to be root. This is not a big problem, but not the way I want it so I'll keep trying  :D
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 20 2005,18:12 QUOTE

I think you can execute it from bootlocal with "su dsl -c screen ...".  

Another option might be to return /.bash_profile to it's original state of automatically logging in as dsl (if you are running in runlevel 5), and start screen from /home/dsl/.bash_profile (in place of startx). From my experience with screen in DSL, you'll need to make sure that /dev/tty1 has write permission by either user 'dsl' or group 'staff', if you haven't already done this.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Ruthje Offline





Group: Awaiting Authorisation
Posts: 17
Joined: Aug. 2005
Posted: Sep. 21 2005,10:51 QUOTE

Quote (mikshaw @ Sep. 20 2005,14:12)
I think you can execute it from bootlocal with "su dsl -c screen ...".
 
I tried that but get this error:
Cannot open your terminal '/dev/console' - please check.^M
Quote (mikshaw @ Sep. 20 2005,14:12)
Another option might be to return /.bash_profile to it's original state of automatically logging in as dsl (if you are running in runlevel 5), and start screen from /home/dsl/.bash_profile (in place of startx).

I'm to much linux-newbie to understand what you are saying here. But I'll find out
Quote (mikshaw @ Sep. 20 2005,14:12)
From my experience with screen in DSL, you'll need to make sure that /dev/tty1 has write permission by either user 'dsl' or group 'staff', if you haven't already done this.

I have read this earlier but never had problems with that, but maybe I'm having them now. ???
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 21 2005,16:41 QUOTE

I think the /.bash_profile thing would be a non-issue for you if you didn't change it yourself (or are you running a multi-user setup?).  I'm guessing you have been running screen as root?

The permission problem is likely due to root being automatically logged in on tty1, so root takes ownership of it.  The only ways i know how to deal with it is to force the ownership of the tty to dsl or staff, or use screen as root, or set up your system with a login prompt instead of auto-login.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
13 replies since Sep. 19 2005,13:01 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: log-file of bootproces

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code