LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-18-2012, 12:20 AM   #1
KevinZ
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Rep: Reputation: Disabled
Unable to log in after KDE fresh install. Arch Noob


I've been following the Wiki for the past couple hours , and i'm on about my third install (i've had to work out a few kinks and figure a bit out). I've gotten X installed and was running fine with that. I've gotten the whole KDE package installed along with a new user named 'kevin'. I've checked my permissions on that account and everything looks fine , but when I try to log in on the KDE screen it won't let me...It still says "myhost" on the box , but I know i'm not supposed to make it so I can log in as root either.

I can log in to the root on the command line as well as my account I created using add user command and following the steps. I do have sudo powers (I think It said I did) and I have wheel access (if thats the correct term.)

i'm apparently typing in the wrong information...can someone point me in the right direction to edit my KDE files? I've been messing around with this for about an hour and a half....
 
Old 01-18-2012, 12:29 AM   #2
xylos
LQ Newbie
 
Registered: Oct 2011
Location: USA
Distribution: Backtrack 5, Ubuntu 11.10, Linux Mint 12, Cyanogen Mod 7, FreeBSD 9.0
Posts: 17

Rep: Reputation: Disabled
What is being reported in /var/log/secure?
 
Old 01-18-2012, 12:33 AM   #3
KevinZ
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by xylos View Post
What is being reported in /var/log/secure?
I honestly didn't know this existed. I'm currently on a windows machine looking for fixes for this problem , so I can't try that for the time being.

This:http://forum.kde.org/viewtopic.php?f=66&t=97029 sounds like the same problem I'm having , but they haven't found a fix....
 
Old 01-18-2012, 12:40 AM   #4
xylos
LQ Newbie
 
Registered: Oct 2011
Location: USA
Distribution: Backtrack 5, Ubuntu 11.10, Linux Mint 12, Cyanogen Mod 7, FreeBSD 9.0
Posts: 17

Rep: Reputation: Disabled
Hmm... I'll try to build up an Arch VM tomorrow to check this out... headed to bed at the moment. I'd agree with the comments in the thread you posted though; it sounds like there's something misconfigured there. A few other things to try:

1. Fire off a startx from the terminal with the following command: "startx > /tmp/xlogfile 2>&1" Then review the /tmp/xlogfile contents after it fails to see if you captured any more useful information.
2. Check /etc/securetty and TEMPORARILY allow root to login anywhere, then see if the problem occurs for both regular users and root or only for regular users. If it's the latter case, it's time to check file permissions.
3. As a hail mary attempt, you could always try creating an account without wheel/sudo access and see if it's a problem with the configuration rejecting anyone with root access in any way (very unlikely)
 
Old 01-18-2012, 12:45 AM   #5
KevinZ
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by xylos View Post
Hmm... I'll try to build up an Arch VM tomorrow to check this out... headed to bed at the moment. I'd agree with the comments in the thread you posted though; it sounds like there's something misconfigured there. A few other things to try:

1. Fire off a startx from the terminal with the following command: "startx > /tmp/xlogfile 2>&1" Then review the /tmp/xlogfile contents after it fails to see if you captured any more useful information.
2. Check /etc/securetty and TEMPORARILY allow root to login anywhere, then see if the problem occurs for both regular users and root or only for regular users. If it's the latter case, it's time to check file permissions.
3. As a hail mary attempt, you could always try creating an account without wheel/sudo access and see if it's a problem with the configuration rejecting anyone with root access in any way (very unlikely)
I'll try the first two probably since I'm not too sure on adding and deleting past users since that is done through vi ( I think ). I tried startx or something like that earlier , but the first time I ran it it wasn't working , and then the second time it brought up the GUI with three windows.

To check /etc/security I would type nano /etc/security into the CI right? I'm still a tad shaky on finding things so far...
 
Old 01-18-2012, 12:56 AM   #6
xylos
LQ Newbie
 
Registered: Oct 2011
Location: USA
Distribution: Backtrack 5, Ubuntu 11.10, Linux Mint 12, Cyanogen Mod 7, FreeBSD 9.0
Posts: 17

Rep: Reputation: Disabled
To add a user:

# useradd USERNAME
# passwd USERNAME

And then enter a password. Don't do anything else and they won't have root access.

To view a file, you can use nano as you indicated, or you can use my personal favorite:

# less /etc/securetty

Then you can scroll up and down (up arrow/down arrow), page up and down (with PgUp/PgDown), and not have to worry about accidentally changing anything.

As a note, it's /etc/securetty (NOT /etc/security/, which is a directory). /etc/securetty defines where the root account is allowed to login; for any terminals not listed there root login is denied (aside from SSH, which handles things its own way).
 
Old 01-18-2012, 01:06 AM   #7
KevinZ
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by xylos View Post
To add a user:

# useradd USERNAME
# passwd USERNAME

And then enter a password. Don't do anything else and they won't have root access.

To view a file, you can use nano as you indicated, or you can use my personal favorite:

# less /etc/securetty

Then you can scroll up and down (up arrow/down arrow), page up and down (with PgUp/PgDown), and not have to worry about accidentally changing anything.

As a note, it's /etc/securetty (NOT /etc/security/, which is a directory). /etc/securetty defines where the root account is allowed to login; for any terminals not listed there root login is denied (aside from SSH, which handles things its own way).
Ah yes :P

Must I download anything to use the # less /etc/securetty ? Sorry I thought it was a spelling error haha

excuse the ignorant questions I decided to dive into Arch head first so tomorrow I should try that stuff? I was also told to try cat /etc/rc.conf..... I'm pretty tired so I'll re-read this tomorrow at the very least.
 
Old 01-18-2012, 12:22 PM   #8
KevinZ
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Here is my rc.conf file....

http://pastebin.com/JXYvmXp9
 
Old 01-18-2012, 03:32 PM   #9
KevinZ
LQ Newbie
 
Registered: Jan 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
I've gotten dbus to start up automatically but KDE still won't let me login...
 
  


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
X11 fresh install on Laptop with Arch Lanix1 Linux - Software 7 03-18-2008 07:37 AM
fresh install: Arch Linux or Slackware? BartVG Linux - Distributions 6 11-14-2007 06:50 PM
How to Log-in to a fresh Vector Linux install? AJones Linux - Software 2 04-22-2007 09:33 AM
How to log into suse 10.1 - fresh install sirius57 Suse/Novell 4 07-11-2006 10:24 PM
Few questions setting up a fresh install for a noob Dachy Slackware 2 09-16-2005 11:45 AM


All times are GMT -5. The time now is 12:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration