Booting lonely Linux

From: Manthorp25 Jan 2016 12:29
To: Lucy (X3N0PH0N) 17 of 101
Raspbian autologs in, but when you open a fullscreen terminal it irritatingly asks you to log in again.
From: koswix25 Jan 2016 12:39
To: ANT_THOMAS 18 of 101
aye it's a possibility, would like to keep it on one though if possible. If I can keep some (minimal coms) stuff running in the background and watch videos while the laser completes its job that'd be awesome. Amazon man just brought the pi so I'm going to hunt down an SD card and try it out.
From: Lucy (X3N0PH0N)25 Jan 2016 13:03
To: Manthorp 19 of 101
Hmmm. What are you logging in *to*, exactly? I'd assumed from the description that you were just logging in on the virtual console. But 'opening a fullscreen terminal' doesn't make sense in that context (unless you just mean switching TTYs, in which case: don't :D).

Edit: I guess maybe Raspian has some default GUI which starts, which you're logging in to, and then switching to TTY1 with ctrl+alt+f1?

If so, if there's some GUI, find out how to prevent that from starting (since you're not using it).

If not, just use the TTY that it autologs in on. If you want to clear the screen you can just do:
 
Code: 
clear
(You can add that to /etc/profile so that it happens once the login terminal is up)
EDITED: 25 Jan 2016 13:07 by X3N0PH0N
From: Lucy (X3N0PH0N)25 Jan 2016 13:04
To: koswix 20 of 101
I've only used Kodi on the RPi so I don't know firsthand what it's like elsewhere but I believe it's the same everywhere. It performs really well (especially given how poorly graphical desktops tend to perform on the Pi).
From: koswix25 Jan 2016 13:28
To: Lucy (X3N0PH0N) 21 of 101
I use it on my other other Pi, but with the purpose built Xbian build - based on Raspbian, but stripped down to only have what Kodi needs and not a lot else.

It runs very, very well on a Pi 2, and I've also got some other bits and pieces running on it in the background (mainly torrent stuff - I attempted to setup a VPN with it so I could log in to the home network remotely, but it didn't work first time so I gave up and forgot about it  :'-D )
From: JonCooper25 Jan 2016 13:35
To: koswix 22 of 101
quote: koswix
.. it didn't work first time so I gave up and forgot about it ..
I suspect that is God's excuse for this universe ...
From: Lucy (X3N0PH0N)25 Jan 2016 13:53
To: koswix 23 of 101
I setup a VPN the other day!

(For playing Titan Quest :$ )
From: koswix25 Jan 2016 13:55
To: Lucy (X3N0PH0N) 24 of 101
Well that pretty much settles it - Arch don't provide an image anymore for writing to my SD card, which means I need a linux machine to install it.  Raspbian it is then :C

(A guy has put an image file on Sourceforge, but sourceforge is all kinds of fucked up right now)
From: Lucy (X3N0PH0N)25 Jan 2016 14:23
To: koswix 25 of 101
Where you looking? Seems up-to-date to me: http://archlinuxarm.org/platforms/armv7/broadcom/raspberry-pi-2

Edit: nm, get you now.
EDITED: 25 Jan 2016 14:24 by X3N0PH0N
From: koswix25 Jan 2016 14:26
To: Lucy (X3N0PH0N) 26 of 101
Yup.

Also, I've now fucked my SD card partition table. Windows is too shite to fix it, so now I need to go hunting for a free tool that'll do the job. Bloody windows :@
From: Lucy (X3N0PH0N)25 Jan 2016 14:26
To: koswix 27 of 101
lol @ Windows.

(Just use any old liveCD. For both things)
From: koswix25 Jan 2016 14:33
To: Lucy (X3N0PH0N) 28 of 101
Why the fuck didn't I do that? I have a fucing bootable USB stick on my keychain with a linux on it. Such an asshole.
From: Lucy (X3N0PH0N)25 Jan 2016 14:34
To: koswix 29 of 101
(giggle)
From: ANT_THOMAS25 Jan 2016 14:34
To: koswix 30 of 101
Gparted on whatever bootable linux you have. Always the best way to sort things (or trash them if you need to).
From: koswix25 Jan 2016 14:48
To: ANT_THOMAS 31 of 101
See, I knew that. Just didn't occur to me. Such a dumb fuck today. 
From: koswix25 Jan 2016 14:52
To: koswix 32 of 101
Finally writing the raspbian image to my SD card. 

Going to experiment with a couple of things tonight: writing software for the pi to display data coming over the SPI line on screen in whatever window manager raspian uses and then Interfacing the PI with an arduino LCD-keypad shield (and shoving some of the SPI data I'm reading over to the LCD). 

If I can make all that work then my laser cutter is going to be fucking /awesome/.
From: Manthorp25 Jan 2016 15:29
To: Lucy (X3N0PH0N) 33 of 101
I've managed to get it to boot into a fullscreen terminal, but can't autologin.  I tried your first link and I was able to create the directory and autologin.conf file, but I then didn't have permission to modify it with the code
 
Quote: 
[Service]
ExecStart=
ExecStart=-/sbin/agetty --autologin $username --noclear I 38400 linux
None of the keyboard commands I knew (Ctrl+O, Ctrl+X) would let me write to the file.
EDITED: 25 Jan 2016 15:31 by MANTHORP
From: Manthorp25 Jan 2016 15:33
To: koswix 34 of 101
Great, now fuck off out of my thread. xxx
From: Lucy (X3N0PH0N)25 Jan 2016 15:33
To: Manthorp 35 of 101
You need to both create the directory/file and edit the file as root (so use sudo).

If you're using nano then to save the file you press ctrl+x then it'll ask for confirmation so press y then press enter to accept the location.

Or did something else go wrong?
From: Manthorp25 Jan 2016 15:42
To: Lucy (X3N0PH0N) 36 of 101
Yeah, I did exactly as you described and managed to create the folder and was able to write the file content, but when I got to trying to save it, Ctrl-X (or Ctrl-O) it refused to modify the file.  

It said it was complete with errors, and the error was that it hadn't done it.  A fairly liberal interpretation of 'complete', I felt.