LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-10-2005, 11:55 AM   #1
sleepykit
Member
 
Registered: Sep 2005
Distribution: Mandriva 2007 & Ubuntu Fesity Fawn
Posts: 67

Rep: Reputation: 15
Question Root Login and Other Questions for Mandrive 10.1


Please understand, I am a newbie at this.

My friend and I installed Mandriva 10.1 Official as the operating system for our server. The problem we come up head first into is that it will not give us a graphical option for logging in as "root". We need it at least once so we can completely set up the machine (because while some places it allows up to put in root's password, other places it locks us out completely). We both know that it's not safe to log in as root all the time, but we do need to set up. So, what can we do about this?

Let me give you a quicke on what's going on before asking this other question. We want the Mandriva PC (server) to act like a router, basically. It's just supposed to store files and let us connect to the internet. We have a router, as it is, but a PC is probably safer than a standard router.

So, we put in two PCI ethernet cards, one for incoming, one for outgoing. We plugged the cable modem into one of the cards and the cable from the other goes to our regular router. We know the router works fine and we know the cable modem works, so it has to be Mandriva that's causing the issues.

So, the question is: how do we configure the two ethernet cards to do what we'd like them? Doesn't matter which one does which since they are identical. If we unplug one card, then the other is fine, and it recognizes the cable modem and it will allow internet access. But, when we hook the other one back up, things go up in smoke.

No errors really. The bootup says that ot fails to load those cards but gives to coherent error. Any ideas?

Help, please? Thank you.

Last edited by sleepykit; 09-10-2005 at 12:37 PM.
 
Old 09-10-2005, 12:26 PM   #2
dexter11
Member
 
Registered: Apr 2005
Distribution: Mandriva
Posts: 197

Rep: Reputation: 30
After you logged in as root type startx at the command prompt that should start the X server and the default window manager (KDE unless you chose something else).
If it starts you can setup graphic login in the MCC (Mandriva Control Center). MCC can be used in text mode by typing mcc in the command line.
 
Old 09-10-2005, 12:35 PM   #3
sleepykit
Member
 
Registered: Sep 2005
Distribution: Mandriva 2007 & Ubuntu Fesity Fawn
Posts: 67

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by dexter11
After you logged in as root type startx at the command prompt that should start the X server and the default window manager (KDE unless you chose something else).
If it starts you can setup graphic login in the MCC (Mandriva Control Center). MCC can be used in text mode by typing mcc in the command line.
Thank you for the suggestion.


We have tried that and it says something about the server already running display 0. I have also tried to have it auto-login as root, but Mandriva 10.1 doesn't have root as a username to auto-login with. I have also checked the users and groups area, but have found nothing on allowing/disallowing root login. Perhaps a hint at where in the filesystem it is so I can edit it manually?
 
Old 09-10-2005, 02:50 PM   #4
dexter11
Member
 
Registered: Apr 2005
Distribution: Mandriva
Posts: 197

Rep: Reputation: 30
If the server runs then you should get a GUI by pressing Ctrl+Alt+F7. If the server doesn't run then check the /var/log/Xorg.0.log file for error messages (lines beginning with (EE)).
I don't know where the autologin is stored but I recommend to not to do it autologin as root. I don't know what kind of server it will be bu t you can save yourself a lot of trouble and typing su is not that difficult.
 
Old 09-11-2005, 12:16 PM   #5
sekelsenmat
Member
 
Registered: Apr 2005
Location: São Paulo - Brazil
Distribution: Mageia Linux 1
Posts: 353

Rep: Reputation: 30
Re: Root Login and Other Questions for Mandrive 10.1

Quote:
Originally posted by sleepykit
Please understand, I am a newbie at this.

We need it at least once so we can completely set up the machine (because while some places it allows up to put in root's password, other places it locks us out completely). We both know that it's not safe to log in as root all the time, but we do need to set up. So, what can we do about this?
You really should fix the "locks us out completely" issue instead of trying to login on the GUI as root.

What places are you locked from??? This really should not happen.

You can change user to root on the terminal by typing "su" and then you can run any app you need.
 
Old 09-11-2005, 03:56 PM   #6
Mr. Swillis
Member
 
Registered: Sep 2005
Location: The PNW
Distribution: Many. Slackware is the main reason I'm here though :)
Posts: 95

Rep: Reputation: 17
The old Mandrake default user x login thingy strikes again. There is actually a check box at the end of the installation that will disable this annoying feature. Not sure how to do this any other way, but if you are getting "xserver already running on blabidybloo" message, then type "init 3" to bring it down. You should then be able to run "startx" as root and avoid such messages.


- Swillis
 
Old 09-11-2005, 11:34 PM   #7
sleepykit
Member
 
Registered: Sep 2005
Distribution: Mandriva 2007 & Ubuntu Fesity Fawn
Posts: 67

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Mr. Swillis
The old Mandrake default user x login thingy strikes again. There is actually a check box at the end of the installation that will disable this annoying feature. Not sure how to do this any other way, but if you are getting "xserver already running on blabidybloo" message, then type "init 3" to bring it down. You should then be able to run "startx" as root and avoid such messages.


- Swillis

Thank you very much for your answers. We will try the second idea as soon as we can. In the mean time, I have dealt with the console much more than I really wanted to and I believe my newbie status may soon be revoked. Damn! This idea about init 3 works. *bows down*

As for locking us out, the main proble moccurs with the GUI interface aspect of it. Understand that once I get into console and switch users, through it (console) I can get into anything without any real hassle. Just a matter of dealing with command prompts. But with the graphical portion of it, I haven't been able to figure out how to switch users in it, and thus, network address translation required cosole work. As well, some files/directors are read only for me.


That would be all. Thankee much!

Sleepykit and Mage
(See there are two of us)

Last edited by sleepykit; 09-11-2005 at 11:36 PM.
 
  


Reply



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
Root login but no user login on samba Cybercool Linux - Newbie 3 07-13-2011 05:36 AM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
I have re-installed MK 9.2 but cannot login as user, login as root works. bobinglis Mandriva 2 02-22-2004 11:39 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM
root login incorrect ,then passwd root,but error sunnycn Linux - Security 6 05-20-2002 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:21 PM.

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