如何在Linux Ubuntu 18.04中启用root登录



如何在Linux中启用#root_login #ubuntu 18.04
如何以root身份在Ubuntu 18.04中登录

使用的命令:-

sudo passwd root#设置root密码
sudo apt-get更新
须藤apt-get install lightdm
sudo nano /etc/lightdm/llightdm.conf#将下面的4行粘贴到lightdm.conf文件中

[SeatDefaults]
greeter-session =团结问候
user-session = ubuntu
greeter-show-manual-login = true

############################################

你好朋友 ,

在本视频中,我展示了一种非常简单的方法来在Linux ubuntu 18.04中使用gui启用root登录。我希望这个视频对您有所帮助。

感谢收看

赞|分享|订阅:)

在Facebook上关注我们

https://www.facebook.com/AndroidandTechSolutions/

网站链接:-

http://www.letslearntech.com

标签:-

ubuntu 16启用root登录gui,
ubuntu 16.04 root登录gui,
ubuntu 14.04 root登录gui,
如何在ubuntu 16.04服务器中启用root登录,
ubuntu启用root登录,
如何以root用户身份在ubuntu中登录,
启用root登录gnome ubuntu,
gui root访问ubuntu ,。

23 comments
  1. # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

    # newer versions of the distribution.

    deb http://archive.ubuntu.com/ubuntu/ bionic main restricted

    # deb-src http://archive.ubuntu.com/ubuntu/ bionic main restricted

    ## Major bug fix updates produced after the final release of the

    ## distribution.

    deb http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted

    # deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates main restricted

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

    ## team. Also, please note that software in universe WILL NOT receive any

    ## review or updates from the Ubuntu security team.

    deb http://archive.ubuntu.com/ubuntu/ bionic universe

    # deb-src http://archive.ubuntu.com/ubuntu/ bionic universe

    deb http://archive.ubuntu.com/ubuntu/ bionic-updates universe

    # deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates universe

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

    ## team, and may not be under a free licence. Please satisfy yourself as to

    ## your rights to use the software. Also, please note that software in

    ## multiverse WILL NOT receive any review or updates from the Ubuntu

    ## security team.

    deb http://archive.ubuntu.com/ubuntu/ bionic multiverse

    # deb-src http://archive.ubuntu.com/ubuntu/ bionic multiverse

    deb http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse

    # deb-src http://archive.ubuntu.com/ubuntu/ bionic-updates multiverse

    ## N.B. software from this repository may not have been tested as

    ## extensively as that contained in the main release, although it includes

    ## newer versions of some applications which may provide useful features.

    ## Also, please note that software in backports WILL NOT receive any review

    ## or updates from the Ubuntu security team.

    deb http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

    # deb-src http://archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

    ## Uncomment the following two lines to add software from Canonical's

    ## 'partner' repository.

    ## This software is not part of Ubuntu, but is offered by Canonical and the

    ## respective vendors as a service to Ubuntu users.

    # deb http://archive.canonical.com/ubuntu bionic partner

    # deb-src http://archive.canonical.com/ubuntu bionic partner

    deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted

    # deb-src http://security.ubuntu.com/ubuntu/ bionic-security main restricted

    deb http://security.ubuntu.com/ubuntu/ bionic-security universe

    # deb-src http://security.ubuntu.com/ubuntu/ bionic-security universe

    deb http://security.ubuntu.com/ubuntu/ bionic-security multiverse

    # deb-src http://security.ubuntu.com/ubuntu/ bionic-security multiverse

  2. LightDM is the display manager running in Ubuntu up to version 16.04 LTS. While it has been replaced by GDM in later Ubuntu releases, LightDM is still used by default in the latest release of several Ubuntu flavors. LightDM starts the X servers, user sessions and greeter (login screen). Hence There is no need of lightDM :). Its Time talking process also…

  3. bro after i type sudo reboot it appears like
    (System has not been booted with systemd as init system (PID 1). Can't operate.

    Failed to talk to init daemon.)
    what can i do

  4. additional info:
    To fix "ttyname failed:Inappropriate ioctl for device" error when loading root profile in a text editor:

    gedit /root/.profile

    find and remove the following line:

    mesg n || true

    And replace it with the following and save:

    if `tty -s`; then

    mesg n

    fi

    Logout and relogin again to see if it works 🙂

Comments are closed.