LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 02-20-2017, 12:11 PM   #1
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Rep: Reputation: Disabled
LXDM not allowing me to login


Hi everyone,
Had time to start messing with BLFS and lxdm login not accepting my passwd.
I restored this from a clone I made and the passwd is always the same for me.
I chrooted from host system and tried to reset passwd but it didn't work.
Any ideas and help appreciated.
Regards,
Captin
 
Old 02-20-2017, 02:03 PM   #2
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
What does your auth log say? Are you using PAM? SystemV or Systemd?
 
Old 02-20-2017, 02:29 PM   #3
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Original Poster
Rep: Reputation: Disabled
Hi
I'm using 7.10 standard version as far as I know. I installed xfce for my desktop. Can't figure why I can't get past login screen.
Never experienced this before. Host distro is Arch
Thanks for the reply
 
Old 02-20-2017, 02:39 PM   #4
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
have you looked at /var/log/auth /var/log/critical? Are you trying to login as root or as a user?
 
Old 02-20-2017, 02:45 PM   #5
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
If you're stuck booting to the graphical login you can get around that by:

Pressing "E" at the GRUB boot menu. Use the arrow keys to position the cursor to the end of the command line. And add one of these two:

For systemd: systemd.unit=multi-user.target
For systemV: init=3

AND THEN PRESS F10

Then you can check the logs. I recommend adding a grub menuentry with one of these so you won't have to type it each time you need to bypass the graphical login.
 
Old 02-22-2017, 05:58 AM   #6
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Original Poster
Rep: Reputation: Disabled
I decided to switch to lfs systemd . May be it will work better for me.
Thanks for the help
 
Old 02-22-2017, 11:26 AM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
If you dont need a login manager (multiple DE,s) you can login with systemd automaticily
 
Old 02-22-2017, 02:50 PM   #8
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by Captian Kangeroo View Post
I decided to switch to lfs systemd . May be it will work better for me.
Thanks for the help
I use it on desktops/workstations and it does make life a little easier in those situations. On my servers / routers I still use SystemV because it's simpler to setup and manage. The problem with GUI's on SystemV is the lack of development for things like ConsoleKit2 and elogind.

Keep in mind that with systemd you don't need to use all of it's included daemons and utilities. Personally, I reduce journald to a log buffer and use Metalog3 to do my actual logging. That is all systemd really needs it for anyway: to buffer the system log data during parallel startup. Finally, I replace systemd-networkd and systemd-resolvd with dhdcpd because it has more features and I'm more familiar with it.
 
Old 02-23-2017, 08:19 AM   #9
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Original Poster
Rep: Reputation: Disabled
Hey all,
I just finished building systemd lfs but no luck booting.Dreaded kernel panic.

here is my boot config file: I set it up same as with Version 7.10 standard version:
# Begin /boot/grub/grub.cfg
set default=0
set timeout=5

insmod ext2
set root=(hd1,4)

menuentry "GNU/Linux, Linux 4.7.2-lfs-7.10-systemd" {
linux /boot/vmlinuz-4.7.2-lfs-7.10-systemd root=/dev/sda4 ro
}

EOF

my fstab :
# Begin /etc/fstab

# file system mount-point type options dump fsck
# order

/dev/sda4 / ext4 defaults 1 1
/dev/<yyyy> swap swap pri=1 0 0

# End /etc/fstab




I've never had kernel panic on the standard lfs version booting as many times as I tried it.
I may clone this one and switch back to the standard version. At least it easy to boot and try some of your suggestions.
Glad I learned to use clonezilla. Saves a lot of work
 
Old 02-23-2017, 08:37 AM   #10
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
try this:

replace: linux /boot/vmlinuz-4.7.2-lfs-7.10-systemd root=/dev/sda4 ro
with: /vmlinuz-4.7.2-lfs-7.10-systemd root=/dev/sda4 ro

And see what happens...

ALso, fix your fstab for the swap <yyyy> isn't a valid device.

Last edited by Luridis; 02-23-2017 at 08:39 AM.
 
Old 02-23-2017, 11:26 AM   #11
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Ok do you have a seperate boot partition? If you have vmlinuz-4.7.2-lfs-7.10-systemd in your LFS/boot,(sda4/boot). Then this is wrong, "set root=(hd1,4)"which =sdb4 it should be "set root=(hd0,4)"which =sda4.

(hd0.x) is the 1st HDD/sda the x is partition number in your case 4.
(hd1.x) is a second HDD/sdb

Hope I explanied that ok

Last edited by spiky0011; 02-23-2017 at 11:27 AM.
 
Old 02-23-2017, 11:48 AM   #12
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Quote:
Originally Posted by spiky0011 View Post
Ok do you have a seperate boot partition?
Its hard to tell what's going on. He doesn't come back and answer the focus questions, posts half an fstab, doesn't say what the kernel panicked about...
 
Old 02-23-2017, 01:02 PM   #13
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Original Poster
Rep: Reputation: Disabled
Sorry guy's I been working on it . Going back and checking different settings.What I have now on boot is this error with this version 7-10:

/etc/rc.d/rc3.d/S70gpm
exited with return value 0f 2.
I been searching for answers forgot to return here.

This is a cloned Version 7-10 lfs/blfs completed with x and xfce4 installed.
I had no luck at all starting the 7-10 systemd version. So installed this one.
Thanks for reading and excuse me being away trying different things,
Regards
Captian
 
Old 02-23-2017, 02:24 PM   #14
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
This very hard to follow and understand what is going on. You ask a Q on one thing then return
with something completly different. It would help you to pursue one problem and fix it. So the people trying to help can follow whats going and add other options. So basically this whole thread is a waste.

Sorry for the rant but look at it from our side.

Regards the last post is gpm installed?

Last edited by spiky0011; 02-23-2017 at 02:27 PM.
 
Old 02-23-2017, 02:58 PM   #15
Captian Kangeroo
Member
 
Registered: Dec 2015
Posts: 77

Original Poster
Rep: Reputation: Disabled
Hey Spiky,
No problem . Go ahead and close the thread. I will wait until the new book is finished and start all over. Sorry about the confusion.
I had a system up and running at one time and could never repeat it with a fresh install.No success since. Anyway thanks for the help
and delete the posting if you like
Regards,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXDM login manager: restart X on logout? kikinovak Slackware 2 05-23-2016 03:15 PM
[SOLVED] lxdm on current - unable to login on freshly installed laptop moesasji Slackware 3 12-20-2015 07:14 PM
[SOLVED] LXDM installed but no /usr/bin/lxdm G-Known Slackware 2 12-16-2015 08:20 AM
[SOLVED] Can't login after install of lxdm--no access to cli ubume2 Arch 1 06-12-2012 08:00 PM
LXDM just restart when I login (Arch Linux) MFserver Linux - Software 1 08-19-2011 03:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration