Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th July 2011, 12:21 PM
southp Offline
Registered User
 
Join Date: Jul 2011
Posts: 3
windows_xp_2003chrome
How to auto-login as root in Fedora 15 in runlevel 3?

Hi,
How to auto-login as root? Our target runlevel is 3.

Since Fedora 15 use systemd, it seems that all the tricks I did before with initd are deprecated now. I know it sounds inconsiderate to auto-login as root, but I'm setting up Fedora 15 in a closing environment where convenience tops safety.

Any help will be appreciated.
Thanks!
Reply With Quote
  #2  
Old 28th July 2011, 04:39 PM
jenaniston's Avatar
jenaniston Offline
Registered User
 
Join Date: Dec 2009
Location: Malibu, California
Posts: 318
linuxfedorakonqueror
Re: How to auto-login as root in Fedora 15 in runlevel 3?

I would like to know this as well - again no security concerns of running as root in my application either.

I have ran F14 LXDE Live CD iso from runlevel 3 by just adding in
Code:
... runlevel 3 ...
in the kernel arguments at boot,
and would use <root> when it asked for a password.
Reply With Quote
  #3  
Old 27th August 2011, 05:57 AM
phantomrob Offline
Registered User
 
Join Date: Dec 2007
Posts: 14
macoschrome
Re: How to auto-login as root in Fedora 15 in runlevel 3?

I've been trying to figure this out for my xbox media center (xbmc) from a Fedora 15 minimal install. Looks like you just need to install a systemd service that does the autologin.

Here's what I got to autologin user "xbmc". Create this systemd service:

Code:
[Unit]
Description=xinit for %i

[Service]
User=%i
ExecStart=/bin/bash --login -c startx
Restart=always
RestartSec=3

[Install]
WantedBy=multi-user.target
Put the above file in
Code:
/etc/systemd/system/xinit@.service
Add a symbolic link to it from
Code:
/etc/systemd/system/graphical.target.wants/xinit@xbmc.service
You can do something similar by replacing "xbmc" with your user name of choice

Source:
https://bbs.archlinux.org/viewtopic....882191#p882191
__________________
asus m4a785td-v evo
amd phenom II x6 turbo
16gb ram
Reply With Quote
Reply

Tags
login, runlevel 3, systemd

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Login in root ethan Using Fedora 10 16th February 2010 09:34 AM
Runlevel 3 no monitor auto login trainstroker Using Fedora 6 6th August 2009 11:30 PM
fedora 10 auto login and root login issue pcandpc Using Fedora 0 22nd December 2008 04:44 PM
Auto login to root pytheas Using Fedora 0 14th May 2008 05:26 PM
Cannot login as root in runlevel 5 after updating Biased turkey Using Fedora 4 24th July 2005 10:35 PM


Current GMT-time: 15:35 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat