日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

装了BT5后要做的几件事

發(fā)布時間:2025/5/22 编程问答 21 豆豆
生活随笔 收集整理的這篇文章主要介紹了 装了BT5后要做的几件事 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

裝了BT5后要做的幾件事

由于是在虛擬機上裝的,vmware,所以,第一件事當然是裝vmware-tools啦。

但是安裝的過程中會提示~說內(nèi)核頭文件找不到。

然后我先查了內(nèi)核版本:

root@lk:~# uname -a Linux lk 2.6.39.4 #1 SMP Wed Aug 17 21:42:30 EDT 2011 x86_64 GNU/Linux



再查一下包包:

root@lk:~# apt-cache search linux-header | grep 2.6.39 linux-headers-2.6.39.4 - Header files related to Linux kernel, specifically,



然后就安裝拉:

root@lk:~# apt-get install linux-headers-2.6.39.4



但是裝完還是說找不到,然后我就憑感覺,進入了/usr目錄,看到里面有個src目錄,一般src是源代碼的意思,進入,里面有內(nèi)核版本的文件夾:

root@bt:~# ls /usr/src/ linux/ linux-source-2.6.39.4/ linux-headers-2.6.39.4/ truecrypt-7.0a-setup-x64



但是我在安裝的過程中指定了路徑/usr/src/linux-headers-2.6.39.4/也還是不行,之后我發(fā)現(xiàn)要指定/usr/src/linux-headers-2.6.39.4/include才可以。

第二件事就是自動登錄進gnome啦。

BT5默認裝的是gnome-core,每次登錄都是進入文本界面的,然后要輸入用戶名,密碼,登錄之后再命令startx開啟圖形。

很麻煩。

之后我隨便敲了下命令,卻說沒有g(shù)dm這個服務(wù):

root@bt:~# service gdm restart gdm: unrecognized service



然后我檢查了一下,確實沒有:

root@lk:~# chkconfig --list | grep dm dmesg 0:off 1:off 2:off 3:off 4:off 5:off 6:off idmapd 0:off 1:off 2:off 3:off 4:off 5:off 6:off



最后谷歌查找是沒找到什么有價值的,因為我不知到怎么用關(guān)鍵詞查找。

然后我想,或許某個包包有這個東西,于是抱著試一下的心態(tài),結(jié)果找到了:

root@lk:~# apt-cache search gdm gdm-guest-session - gdm extension for guest session peace-gdm-theme - Peace look - GDM theme ldm-server - LTSP display manager (server component) ubuntustudio-gdm-theme - Ubuntu Studio - GDM theme auth2db-filters - Auth2db defaults filters pack kdm-gdmcompat - Provide basic gdm functionality to systems running kdm mythbuntu-gdm-theme - Mythbuntu GDM theme mythbuntu-default-settings - default settings for Mythbuntu runit-services - a UNIX init scheme with service supervision (services) xubuntu-gdm-theme - Xubuntu GDM & Xsplash greeter themes xubuntu-default-settings - default settings for Xubuntu ubuntume-gdm-themes - Sabily GDM themes (transitional package) sabily-gdm-themes - Sabily GDM themes sdm - Secure Display Manager - secure remote access to X11 sdm-terminal - Secure Display Manager - terminal files tropic-gdm-theme - Tropic look - GDM theme gnome-session-bin - The GNOME Session Manager - Minimal runtime gdmap - Tool to visualize diskspace gdm - GNOME Display Manager libpam-gnome-keyring - PAM module to unlock the GNOME keyring upon login ldm - LTSP display manager lxdm - LXDE display manager liblcgdm1 - LCG Data Management common libraries liblcgdm-dev - LCG Data Management common development files lxsession - a lightweight X11 session manager libpam-usb - PAM module for authentication with removable USB block devices milkytracker - Music creation tool inspired by Fast Tracker 2 xbanner - Beautify your X login screen timidity - Software sound renderer (MIDI sequencer, MOD player)



上面那堆輸出當中就有個gdm的包包,于是就裝上了:

root@lk:~# apt-get install gdm -y



好了,有了這個服務(wù),那么就設(shè)置開機啟動吧。

裝了我一貫使用的軟件chkconfig,查看了一下啟動級別:

root@lk:~# chkconfig --list gdm gdm 0:off 1:off 2:off 3:off 4:off 5:off 6:off



然后設(shè)置啟動卻出錯了:

root@lk:~# chkconfig gdm on insserv: warning: script 'K30framework-postgres' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'K20gdm' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'gdm' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'ufw' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'portmap-wait' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'dbus' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth-stop' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'gssd' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'ecryptfs-utils-restore' missing LSB tags and overrides insserv: warning: script 'framework-postgres' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'ecryptfs-utils-save' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'idmapd' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'portmap-boot' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'module-init-tools' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'cryptdisks-enable' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'hwclock-save' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'statd' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'portmap' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'dmesg' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udev' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'rsyslog' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth-log' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udevmonitor' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'cryptdisks-udev' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'network-interface' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'statd-mounting' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'avahi-daemon' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'network-interface-security' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'plymouth-splash' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'hostname' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'procps' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'mysql' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'irqbalance' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udevtrigger' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'hwclock' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'failsafe-x' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'alsa-mixer-save' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'console-setup' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'udev-finish' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'rpc_pipefs' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'screen-cleanup' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'atd' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'bridge-network-interface' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'apport' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'cron' missing LSB tags and overrides insserv: There is a loop between service umountnfs and portmap if stopped insserv: loop involving service portmap at depth 3 insserv: loop involving service umountnfs at depth 2 insserv: loop involving service udev at depth 1 insserv: loop involving service networking at depth 4 insserv: loop involving service sendsigs at depth 2 insserv: There is a loop between service rsyslog and pulseaudio if stopped insserv: loop involving service pulseaudio at depth 3 insserv: loop involving service rsyslog at depth 2 insserv: loop involving service console-setup at depth 1 insserv: There is a loop between service umountnfs and portmap if stopped insserv: loop involving service umountfs at depth 9 insserv: There is a loop between service rsyslog and pulseaudio if stopped insserv: exiting now without changing boot order! /sbin/insserv failed, exit code 1



然后谷歌了一下,發(fā)現(xiàn)要這樣,再查看,就可以了:



但是重啟驗證,卻依舊沒起來,我就不想再去弄它了,之后我在/etc/rc.local直接添加了service gdm start,這樣就可以了。

好吧,開機自動起來了,但是怎么自動登錄呢。

要這樣改:

root@lk:~# cat /etc/gdm/custom.conf [daemon] TimedLoginEnable=false AutomaticLoginEnable=true TimedLogin=root AutomaticLogin=root TimedLoginDelay=30 DefaultSession=gnome



就可以了。

接下去,第三件事就是裝拼音輸入法啦,很簡單:

root@lk:~# apt-get install ibus-gtk ibus-qt4 ibus-pinyin ibus-pinyin-db-open-phrase



裝完之后,終端輸入ibus-setup設(shè)置該設(shè)置的,之后自動啟動的話可以在System--->Preferences--->Startup Applications這里設(shè)置。

?

http://www.cclove.me/read_journal.php?id=258

?

轉(zhuǎn)載于:https://www.cnblogs.com/keepfocus/archive/2012/03/16/2400089.html

總結(jié)

以上是生活随笔為你收集整理的装了BT5后要做的几件事的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 日本少妇喷水视频 | 国产素人在线观看 | 久操视频网 | 视频一区二区免费 | 五月婷婷网站 | 久久亚| 日韩av手机在线播放 | 五月天婷婷久久 | 啪啪激情网 | 99视频导航 | 国产性猛交xx乱 | 久久视频一区二区三区 | 紧身裙女教师三上悠亚红杏 | 久久av综合网 | 91久久久久久久久久久 | 香蕉视频性 | 色批网站 | 亚洲福利网 | 午夜av影院| 巨乳美女动漫 | 免费的黄色片 | 日韩在线观看av | 香港三级日本三级三69 | 天堂影视在线观看 | 男女日批在线观看 | 亚洲国产精品视频在线观看 | 午夜视频在线观看网站 | 叼嘿视频91 | 久久视频这里只有精品 | 国产精品6| 精品视频一区二区三区 | 亚洲最大的成人网站 | 在线免费观看视频网站 | 九九热在线视频观看 | 亚洲 国产 日韩 欧美 | 黄色.com | 好爽快一点高潮了 | 韩国三级hd两男一女 | 成人精品视频一区二区三区尤物 | 99爱这里只有精品 | 最新91视频 | 91全免费| 男女做爰猛烈吃奶啪啪喷水网站 | 日韩网站在线观看 | 国产精品一区二区三区免费在线观看 | 播放一级黄色片 | 美女操操操 | 国产高潮视频 | 精品国模 | 精品少妇久久 | 免费在线看黄色 | xxxx69国产| 91嫩草入口 | 男人插入女人下面的视频 | 日日夜夜精品免费 | 色婷婷狠狠爱 | av电影一区二区三区 | 内地级a艳片高清免费播放 91在线精品一区二区 | avtt在线播放 | 久久久久国产精品人妻 | 久久91| 黄色工厂在线观看 | 女人的毛片| 91秦先生在线播放 | 国产真人无遮挡作爱免费视频 | 久久精品无码一区二区三区 | 最新黄色av | 亚洲视频在线网 | 欧美日韩国产一级片 | 国产免费二区 | 久久国产精品视频 | 国产一区二区视频在线播放 | 91影院在线播放 | 极品粉嫩小仙女高潮喷水久久 | 国产三级国产精品国产专区50 | 中文字幕一区二区精品 | 精品黄色av | 秋霞一级全黄大片 | 国产第一页av | 能看的黄色网址 | 国产免费观看视频 | 福利视频在线看 | 最新中文字幕免费视频 | 欧美性网站| 日本少妇激情舌吻 | 国产亚洲福利 | 亚洲 欧美 日韩 国产综合 在线 | 色妞网站 | 亚洲免费观看视频 | 西西人体www大胆高清 | 成人网在线看 | 色播导航 | 久草青青| 日本黄大片在线观看 | 在线观看高清视频 | 亚洲激情成人 | 欧洲美女与动交ccoo | 国产人成无码视频在线观看 | 午夜一二三 |