You are not logged in.

#1 2010-01-24 11:50:27

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 787

Some larch questions

I've been playing around with larch and have managed to create a live USB that works nicely, although it's only an initial test run.  I have a couple of questions that I couldn't find answers for in the docs.  I'm using larch 7.

1) What's the best way to create a non-root user?  Is it to create it normally and save the session? Or is there a way in the install process?

2) Wifi support.  I want a system that will work on as many different systems as possible - particularly when it comes to wifi.  Obviously I'm limited to what linux can support but if I install all the different driver packages will there be any kind of conflict?  Or is there a better way?

Offline

#2 2010-01-24 12:02:13

MikeT
Member
From: Coventry, UK
Registered: 2010-01-20
Posts: 37
Website

Re: Some larch questions

Both are covered in the beginners guide.  I kept a copy handy when I did my first Archlinux install this week and had no troubles at all.

1 - http://wiki.archlinux.org/index.php/Beg … tup_groups
2 - http://wiki.archlinux.org/index.php/Beg … reless_LAN

Thanks
Mike

Offline

#3 2010-01-24 12:45:36

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 787

Re: Some larch questions

Thanks for the reply, but my question was regarding larch and not stock arch.

Offline

#4 2010-01-24 17:15:59

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Some larch questions

You can just run larch, create your user and the save (or merge) the overlay. Another method could be to chroot into the /home/larchbuild directory on the machine you created it on and add the user there before you larchify the system.

You can install all the various wireless packages and it will be fine....probably smile I did run into a conflict with video drivers where I had to take the nouveau driver because of a conflict with something else (replaced it with nvidia and worked fine). You also have to make sure and get the firmware package for some of the wireless drivers, which can be separate from the driver package. I've only tested mine with two different wireless devices, so I don't have a very broad range of experience with that yet smile

Good luck!
Scott

Offline

#5 2010-01-25 18:16:13

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 787

Re: Some larch questions

Brilliant - thanks.  That seems to have worked.  I used the chroot approach and was able to create another user.

I also edited the grub configs so that the sysatem would boot to console by default.  I noticed that it still logs in as the root user - how do I tweak the configs to not log in after boot at all and allow me to specify a user and a password to determine who I want to log in as?

Also, I discovered that I could only start X as root - is there a group or something that I need to add my user to in order for them to be able to start X?

Offline

#6 2010-01-25 21:56:56

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Some larch questions

I'm not on my box at the moment, but there's a command (I can't remember the name) set to run on login -- look at /etc/inittab and the first of the virtual terminal lines -- you'll see what I'm referring to.

Good luck!
Scott

Offline

#7 2010-01-26 13:33:57

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 787

Re: Some larch questions

OK - thanks for that.  Have made some progress. By playing with an autologin script I found (basically just commenting everything in it out - suppose I could've just deleted it) it now no longer logs in.

However, it does give me a list of users and I can login with no password. I thought that this was single user mode - despite the fact that I thought I was booting into runlevel 3...

What am I missing?

Also, still can't start X as a normal user.  Feel like I'm almost there :-)

Offline

#8 2010-01-26 15:30:50

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Some larch questions

Maybe check permissions on the 'normal' user's home directories? I did discover that you can't put any default 'user' things in the rootoverlay directory, because they all end up with 'root' ownership and permissions. When you say you can't start X, what exactly does that mean? Have you tried startx from command line? You have an appropriate .xinitrc?

Scott

Offline

#9 2010-01-26 21:45:21

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 787

Re: Some larch questions

Yup - was just something stupid like I didn't have a proper .xinitrc... Doh!

Offline

Board footer

Powered by FluxBB