装了BT5后要做的几件事
装了BT5后要做的几件事
由于是在虚拟机上装的,vmware,所以,第一件事当然是装vmware-tools啦。
但是安装的过程中会提示~说内核头文件找不到。
然后我先查了内核版本:
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是源代码的意思,进入,里面有内核版本的文件夹:
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/也还是不行,之后我发现要指定/usr/src/linux-headers-2.6.39.4/include才可以。
第二件事就是自动登录进gnome啦。
BT5默认装的是gnome-core,每次登录都是进入文本界面的,然后要输入用户名,密码,登录之后再命令startx开启图形。
很麻烦。
之后我随便敲了下命令,却说没有gdm这个服务:
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 |
最后谷歌查找是没找到什么有价值的,因为我不知到怎么用关键词查找。
然后我想,或许某个包包有这个东西,于是抱着试一下的心态,结果找到了:
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 |
好了,有了这个服务,那么就设置开机启动吧。
装了我一贯使用的软件chkconfig,查看了一下启动级别:
root@lk:~# chkconfig --list gdm gdm 0:off 1:off 2:off 3:off 4:off 5:off 6:off |
然后设置启动却出错了:
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 |
然后谷歌了一下,发现要这样,再查看,就可以了:
但是重启验证,却依旧没起来,我就不想再去弄它了,之后我在/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设置该设置的,之后自动启动的话可以在System--->Preferences--->Startup Applications这里设置。
http://www.cclove.me/read_journal.php?id=258
转载于:https://www.cnblogs.com/keepfocus/archive/2012/03/16/2400089.html
装了BT5后要做的几件事相关推荐
- 用win10怎么练计算机一级,你真的懂Win10吗?升Win10后必做的9件事
1升Win10后必做的9件事(一) [PConline 资讯]Win10已经被小伙伴们玩嗨了,光是刚开始推送的两天就有将近6700万份的Win10被安装.当然就像之前很多微软系统一样,Win10装好后 ...
- 安装完Ubuntu 15.04桌面后要做的15件事
2019独角兽企业重金招聘Python工程师标准>>> 本教程适用于在自己的电脑上安装了Ubuntu 15.04 "Vivid Vervet" 桌面的新手,这里会 ...
- linux漏洞知乎_安装 Manjaro Linux 后必做的 6 件事 | Linux 中国
你刚刚全新安装了 Manjaro Linux,那么现在该做什么呢? 作者:Dimitrios Savvopoulos 译者:Hilton Chain (本文字数:1579,阅读时长大约:2 分钟) 下 ...
- 安装Ubuntu 13.04后要做的六件事
2013-05-07 09:23 最新版本的Ubuntu已经新鲜出炉:Ubuntu 13.04,代号为Raring Ringtail.作为幕后开发Ubuntu Linux的公司,Canonical在 ...
- Fedora 安装后需要做的第一件事
一直以来,Red Hat 系的许多教程,都会建议你关闭 SELinux.确实,启用 SELinux 可能会造成许多莫名其妙的错误.但在实际生产环境,甚至是用户工作站,Red Hat 都建议将 SELi ...
- linux mint 19界面美化,安装完 LinuxMint 19.3 后必做的10件事
安装完 LinuxMint 19.3 后必做的10件事 LinuxMint 发行版是一款基于Ubuntu的易用性好,特别适合入门者使用的一款Linux发行版,相比于Ubuntu,界面和操作更友好. 本 ...
- Kali linux学习入门-安装Kali Linux 后需要做的 20 件事
安装Kali Linux 后需要做的 20 件事 [51CTO精选译文]我在本文中整理出了安装一份全新的Kali Linux后总是要做的若干件事情.由于我有多台笔记本电脑和工作站,所以尽量扩大下列操作 ...
- linux订阅软件包,安装 Manjaro Linux 后必做的 6 件事 | Linux 中国
导读:你刚刚全新安装了 Manjaro Linux,那么现在该做什么呢? 本文字数:1579,阅读时长大约: 2分钟 https://linux.cn/article-12721-1.html 作者: ...
- 安装Linux Mint 18.2后要做的20件事
安装Linux Mint 18.2后要做的20件事 Linux Mint 18.2 Qiana Cinnamon Linux Mint 18.2已经发布,定名为Qiana.Mint是Linux最佳发行 ...
最新文章
- MVC中获取模型属性的Range和StringLength验证特性设置
- STL中heap算法(堆算法)
- u盘扩容软件_扩容盘的认识与检测和量产还原
- 组件注册——@ComponentScan自动扫描组件指定扫描规则
- MOSS中对列表的一些操作(创建,查询等)
- python内建函数是什么意思_Python 自省相关的内建函数和属性
- 查看python版本命令
- mysql6位数货币大写,生成数字+英文字母大小写彩虹字符集(6位),共有62^6种可能_MySQL...
- 【BZOJ2959】【codevs2002】长跑,维护双联通分量
- 案例:监听域对象的属性变更
- Android布局之屏幕自适应
- KindleDrip:从邮件地址到信用卡盗刷的严重漏洞,值$1.8万奖金
- 问答 | 为什么car-like robot需要使用差速器?
- SaaS服务商盘点之ERP篇
- API函数的调用过程
- UV Mapping(UV贴图)
- 计算机word格式,2017年职称计算机Word教程:Word段落格式
- html5摄像头手势识别,基于OpenCV的摄像头动态手势轨迹识别及其应用
- matlab计算两向量的乘积,matlab中两个函数相乘
- matlab 更换坐标轴_科学网—【Matlab】坐标轴的设置 - 叶瑞杰的博文