TechnicalBooting lonely Linux

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  ANT_THOMAS  
 To:  Manthorp      
41672.41 In reply to 41672.40 
Badumtsh
+1/1
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Drew (X3N0PH0N)     
41672.42 In reply to 41672.13 
I'm simple and easy.

----
"I could stand in the middle of Fifth Avenue and shoot somebody and I wouldn’t lose any voters"
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  CHYRON (DSMITHHFX)     
41672.43 In reply to 41672.9 
It's a bitterly ironic observation of the isolation to which so-called social technologies contribute, in artbollocks, anyway.

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Manthorp      
41672.44 In reply to 41672.43 

----
"I could stand in the middle of Fifth Avenue and shoot somebody and I wouldn’t lose any voters"

Attachments:

0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  CHYRON (DSMITHHFX)     
41672.45 In reply to 41672.44 
LOL no, you've misread it.  It says 'Self-management of Neck Pecker'.  I grew a penis on the side of my neck over the Christmas period and I'm struggling to come to terms with it.

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  ALL
41672.46 
I have spent three successive nights trying - unsuccessfully - to disable the screen time-out on Raspbian.  This should not be a three-night task, even for a thicko like me..

This is why Linux will always remain the province of a talented and passionate few.

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951

0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  Manthorp      
41672.47 In reply to 41672.46 
There are two commends, one will work inside X, one will work on a virtual terminal. I'm not clear on which you're doing so it's difficult to help.
 
Quote: 
This is why Linux will always remain the province of a talented and passionate few

You're not exactly trying to do a typical thing here. You're booting from an SD card to a CLI on a super-stripped-down ARM-based £30 computer.

If you were running a normal consumer-level distro (Ubuntu, OpenSUSE, Mint etc.)  with the default window manager you'd disable powersaving in exactly the same way you would in Windows - via the control panel (step 1, step 2).
 
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  Drew (X3N0PH0N)     
41672.48 In reply to 41672.47 
Hey! :@
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  Peter (BOUGHTONP)     
41672.49 In reply to 41672.48 
Sup G?
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  Drew (X3N0PH0N)     
41672.50 In reply to 41672.47 
Sorry, I was really frustrated.  I have finally managed to sort it, though.  

The standard solution is to edit /etc/kbd/config and set BLANK_TIME=0  That didn't work because there's an old bug in /etc/init.d/kbd.  Once I had amended kbd, the instruction worked.

Now I'm struggling with autologin to the console.  After trying half a dozen different solutions, all to no effect, I'm working on jozy's, HERE, which looked promising at first.  I created autlogin.conf
 
Quote: 
/etc/systemd/system/getty@tty1.service.d/autologin.conf
and filled it with the code
 
Quote: 
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin pi --noclear %I 38400 linux
Where pi is my login.

But that's where I get lost.  The  next instruction is:

 
Quote: 
sudo systemctl enable getty@tty1.service

First I had to install systemd.  But when I run that code now I get an error message "no such file or directory". Yet if I navigate to /etc/systemd/system/getty.target.wants/ in the GUI I can see, open and read getty@tty1.service.  For good measure I tried:
 
Quote: 
sudo systemctl enable /etc/systemd/system/getty.target.wants/getty@tty1.service
But I get an error message "Too many levels of symbolic links".

If I try to navigate to:
 
Quote: 
cd /etc/systemd/system/getty.target.wants/
It says "No such file or directory".

Is there any other way to 'enable' getty@tty1.service and will it make any odds if I do?  And can you point me in any other direction for autologging into the console?

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  ANT_THOMAS     
41672.51 In reply to 41672.8 
Ant, I've got rid of the screen blanking but I still can't autologin to console (see my other recent post).  However I thought I'd try your autostart for Lonely anyway. One question before I try it: what does the instruction:
 
Quote: 
sleep 5
 do?

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  ANT_THOMAS  
 To:  Manthorp      
41672.52 In reply to 41672.51 
My script is a loop so if the lonely program dies for some reason it restarts automatically. The sleep 5 bit is to give it a 5 second break before restarting, just in case there's a fuckup and it goes into a massive loop.

sleep 1

would also be suitable.
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  Manthorp      
41672.53 In reply to 41672.50 
>Sorry, I was really frustrated

I could tell (hug)

Yeah, you shouldn't install Systemd. There were two solutions earlier, one for systems with Systemd and one for those without. I don't know Raspbian and online documentation is poor so I'm guessing.

The non-Systemd solution should be this. But before you do it, check that /etc/inittab exists. If not, post here and we'll take it from there.

(Systemd is a new init system which is a fundamental part of the OS. Some distros have moved to it, some haven't yet. Debian moved to it a while back but it seems Raspbian hasn't caught up yet).

Edit: The root of the problem here is that automatically logging in involves manipulating the init system. And I have no idea what init system Raspbian uses.

Another edit: Ok, found something explicit. Follow this. Just the login bit, don't start LXDE. (It's the same solution as the previous link but this is specific to Raspbian
 
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  Drew (X3N0PH0N)     
41672.54 In reply to 41672.53 
 (hug)

Unfortunately, Raspbian no longer uses Inittab

Ironically, up to September it seems the Raspbian configuration utility (raspi-config) had four login options: GUI requiring login, GUI automatically logged in as 'pi', Console requiring login, Console automatically logged in as 'pi'.  My current raspi-config has only three.  Guess which option's been chopped?

If I don't need systemd, can I uninstall it without borking what I have got working so far?  Is it doing any harm?

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  ANT_THOMAS     
41672.55 In reply to 41672.52 
Brill, gotta go out to defend conceptual art on local radio (sigh), but when I get back I'll try installing it.  Will it matter that I can't yet autologin to the Raspbian console?

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  Manthorp      
41672.56 In reply to 41672.54 
Yours *must* be using inittab (Sysvinit is the name of the actual init system, inittab is one of its configuration files).

The only two possibilities are Sysvinit or Systemd. When you tried the Systemd way it told you it wasn't installed.

It might be that that documentation is for a newer version of Raspbian than you are using?

>If I don't need systemd, can I uninstall it without borking what I have got working so far?  Is it doing any harm?

I'm not entirely sure how you managed to install it without completely breaking everything. Replacing the init system is not the kind of thing you do if you can possibly avoid it, it's a massive thing.

It *may* be that you've arrived at some sort of half-way house with bits of each floating around but I think that's unlikely since I'm pretty sure you wouldn't be able to boot if that were the case. What I think is more likely is that you've installed Systemd but it's not being used. Which is fine, I'd leave it like that (because I'm scared that if you touch it everything is going to come falling down).

I'm *fairly sure* you're using Sysvinit. I'd try the inittab approach and see if that works.

Ok, just checked the Raspbian page and there's a choice of images available. The Jessie ones will be using Systemd while the Wheezy ones will be using Sysvinit.

Assuming they've not backported the kernel (unlikely with Debian) you can check which you're on with:
 
Code: 
uname -r

If the returned number is lower than 4 then you're on Wheezy and thus Sysvinit/inittab. If it's higher than 4 then you're on Jessie with Systemd.

It *might* be that your installation is just fucked somehow. The fact that you couldn't edit that file the other day is kinda worrying in that regard.

But yeah, find out which version you're on. If it's <4 then edit inittab as above. If it's >4 then ... we'll work out what to do with your clearly broken Systemd.
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  Drew (X3N0PH0N)     
41672.57 In reply to 41672.56 
 :-((  :-((  :-((

----
"I could stand in the middle of Fifth Avenue and shoot somebody and I wouldn’t lose any voters"
0/0
 Reply   Quote More 

 From:  graphitone  
 To:  Manthorp      
41672.58 In reply to 41672.55 
Where/when are you on? I'm local!
0/0
 Reply   Quote More 

 From:  Peter (BOUGHTONP)  
 To:  Drew (X3N0PH0N)     
41672.59 In reply to 41672.49 
Step 2. :'(
0/0
 Reply   Quote More 

 From:  Manthorp   
 To:  graphitone     
41672.60 In reply to 41672.58 
Soz Graphitone, I was at Chapel FM in Seacroft, banging on about artfaggery

"We all have flaws, and mine is being wicked."
James Thurber, The Thirteen Clocks 1951
 
0/0
 Reply   Quote More 

Reply to All  
 

1–20  21–40  41–60  61–80  …  101

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats