ubuntu10 04取消系統普通使用者自動登入

2021-06-27 00:37:45 字數 879 閱讀 9059

首先先切換下使用者的許可權,執行su,然後輸入root使用者的密碼即可切換到root使用者,然後編輯custom.conf檔案vi /etc/gdm/custom.conf,檔案內容如下:

[daemon]

timedloginenable=false

automaticloginenable=true

timedlogin=ubuntu(你自動登入的賬戶名)

automaticlogin=123(登入密碼)

timedlogindelay=30

修改為如下:

[daemon]

timedloginenable=false

automaticloginenable=false

timedlogin=

automaticlogin=

timedlogindelay=30

defaultsession=gnome

即可實現在登入時憑藉你輸入的賬戶和密碼進入系統,而不會自動進入系統。或者可以修改為以root使用者自動登入系統(不建議),其修改如下:

[daemon]

timedloginenable=true

automaticloginenable=true

timedlogin=root(root使用者名稱)

automaticlogin=123(root使用者密碼)

timedlogindelay=30

最後就是重啟系統,可在終端下輸入:reboot即可重啟系統。

安裝ubuntu 10 04系統

2010年4月30日,ubuntu 10.04 lst正式發布了,作為長期支援版本 lst 其桌面支援週期為3年,伺服器版本主流支援週期為5年。ubuntu 10.04 lst採用gnome 2.30.0桌面環境,基於linux核心2.6.32.11,此外一些主要系統元素還包括預設nouveau顯示...

Ubuntu10 04無法進入系統

我的虛擬機器版本為vmware 7.1.0,使用ubuntu 10.04作業系統,今天開機時ubuntu一直無法進入系統,停留在下面這個介面中 圖1 圖1 由於不知道是什麼原因導致的,所以我就關掉重新啟動,並在圖2這個介面出現時按下shift鍵進入 gnu grub 介面 圖3 圖2 圖3 在 gn...

ubuntu10 04使用小結

最近由於要學習linux下的c和c 程式設計,我選擇了比較好安裝的桌面版的linux發行版本ubuntu10.04 lts ubuntu 10.04 desktop i386.iso 並採用wubi安裝,像在window下安裝普通軟體一樣就能安裝,無需複雜的分割槽和資料備份就可以成功安裝,這個版本對...