如何在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.