Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed fedora 10 1 hour ago. Everything seems OK, but I am not able to log in graphic mode as root (message - unknown user). It is something new in F10 ?
Usually, in previous versions of Fedora I had no such problems. I log in root only the first time, to set all my components (grub, yum, net, etc) and after that I remain in the normal user mode.
Any Idea of what is happening ? Thank you !
In F9 they added the nag screen and in F10 they blocked the GUI root log in. You can do anything you need to by using either the system tools (which will ask for root PW) or by opening a terminal and using su - (su space dash) to become root within the terminal. If you are using the su - method you can use the gui tools by calling them from within the terminal. For example you can start an instance of nautilus this way with root privileges to find, open, and edit config files.
Or you can just by-pass the login screen and start your "root" session directly as a second X-session.
1) Log in as your normal user.
2) Press <ctrl>-<alt><F3> to open tty3 and log in as "root"
3) Do a startx -- :2 to start a new X-session for "root" on tty8
4) Do your housekeeping
5) Log out. Your "normal user" session should then be displayed.
Note: Your "normal user" X-session will be on tty7, and you can switch between the two with <ctrl>-<alt>-<F7> and <ctrl>-<alt>-<F8>.
<edit>
Oops! I just tried the <ctl>-<alt>-<F[1-6]> keys in my new Fedora 10 installation, and they didn't open the corresponding tty[1-6] terminals. So, I better retract the above comment 'till I read the "New in fedora 10" stuff. Sorry - Should have checked first.
</edit>
Note2: You can also use this method to have two (or more) users running at the same time on your system.
Last edited by PTrenholme; 11-26-2008 at 08:51 PM.
Reason: Tested above. Fails in F10
Usually I log on Linux as a regular user, then when required, I use the tool or the terminal as root
But I was wondering is there something in linux that you really need to log as root in the GUI that wont work if you log as a regular user and run the tools under root ?
<edit>
Oops! I just tried the <ctl>-<alt>-<F[1-6]> keys in my new Fedora 10 installation, and they didn't open the corresponding tty[1-6] terminals. So, I better retract the above comment 'till I read the "New in fedora 10" stuff. Sorry - Should have checked first.
</edit>
Haven't they moved X to ttys 1 and 2? I think I read something to that extent. Could be in my dreams, though.
I remember that in F7 or F8, there was something that I was not allowed to do as regular user with su. Or it was much more complicated (if I am not wrong, I tried to edit the fstab or the yum.conf or the grub.conf. It was not allowed by the graphical regular user interface, and via the terminal it was much more unpleasant-I not even tried, I must confess.)
I will start to set up my F10 and I will tell you what is possible and what not, during that attempt.
Whish me good luck !
If you had opened a terminal, type su - (su space dash, not just su), entered root password, and type nautilus, you would have been running the same gui file viewer(or whatever you call it) as you would if you had logged in as root. Where a lot of people make a mistake is they assume that just becuase the terminal session is root that everything else is root too. For instance; I have seen people su -, then use the user's desktop nautilus(rather than typing nautilus in the root terminal) and then wondered why it was behaving as the user.
Usually I log on Linux as a regular user, then when required, I use the tool or the terminal as root
But I was wondering is there something in linux that you really need to log as root in the GUI that wont work if you log as a regular user and run the tools under root ?
Thanks
--Jean-Philippe
I've never heard of one. You can run from the terminal as root, using sudo, or gksudo
OK. I test it.
It is possible to run all the commands, probably, as a normal user but having root wrights, from the terminal. The problem is that is a little more annoying. Usually, as aI said, after the first boot after installation, I enter in root mode, set up everything I need, then I will continue to work as a normal user until the next version of Fedora
But I have another problem with F10, I will create a new thread, it is about the network setup.
Thank you all !
BTW, someone sugessted an interesting Idea, I just present it to you, have not tested yet !
To login as root on Fedora 10 you will need
to su to root and the comment out this line
#auth required pam_succeed_if.so user != root quiet
Anybody has marked that if you logged in as ordinary user in fedora 10 and try to run su root ... you can not run some commands suppose do this
log in as a ordinary user try to su roo your prompt will be changed to [root@user]
now run "nautilus --browser" you will get this Error
-----------------------------------------------------------
(nautilus:4382): Eel-WARNING **: GConf error:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
-------------------------------------------------------------
Infect it should open file browser as root
but file browser will open as ordinary user
What it could be....??????
anyone facing this problem.... does anyone knows the solution ..if yes please post it here
The problem is most probably a failed yum upgrade. There is a reason that they still suggest doing a fresh install. People hate to hear it, but a fresh install is (in most cases) the easiest, fastest, and safest, method of upgrading. Everyone thinks that they will save all this time by just upgrading a running system. Two things generally happen. 1. Something obviously fails (as in your case) and they spend an inordinate number of hours trying to fix it (and usually wind up doing a fresh install in the end). 2. The upgrade appears to be completely successful but in reality a number of tiny things are off just enough to slow down the machine. I cannot tell you the number of times I have done a fresh install on a machine and the owners are SHOCKED at how much faster it is. Goofy problems tend to just disappear with a fresh install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.