Showing posts with label linux 命令 图形界面. Show all posts
Showing posts with label linux 命令 图形界面. Show all posts

Nov 25, 2012

Ubuntu login from GUI and command line


Switch to command prompt: Ctrl + F1

Switch to GUI: Ctrl + F7

Command line to start GUI: sudo lightdm

Jul 12, 2012

Ubuntu 11.04 bug - Update Manager


When I logged in my Ubuntu, update manager window was popped up to ask for update. I clicked "Install Updates" button, but this time it said "waiting for apt-get to exit..." and then the window was dead. I closed all the other applications including firefox, terminal and editor, but the problem was not solved.

So I posted a bug report to the website. Someone suggested to restart virtual machine in order to solve it. Then I tried it. I did not know why my Ubuntu got this problem but this solution did work.

Good luck, Ubuntu!

Feb 26, 2009

linux登陆与图形化界面命令


一、安装和登陆命令
1
、进入图形界面

startx
2、进入图形界面
init 5
3、进入字符界面
init 3
4、登陆
login
5、关机
poweroff
-p 
关闭机器的时候关闭电源
-n 
在关闭机器时不同步数据
-w 
不做关机的操作,只是把这个操作记录到日志里
-d 
不把关机的信息记录到日志文件里
-f 
不调用shutdown
6、关机重启
shutdown
命令格式:
shutdown [
选项] 时间 [信息]时间--是必要参数,一定要加,可以用now,也可以用+5信息--在关机的时候给用户的信息
-t   这个参数后面需要加数字,比如5,表示在发出关机信号5秒后开始关机
-k  
不做真正的关机,只是通知一下所有的用户。
-r  
重启计算机
-h  
关机后关闭电源
-f  
在重新启动的时候跳过fsck(磁盘检查程序)
-F  
重启时,忽略fsck程序(同-f一样)
-c  
取消已在执行的关机动作
例:
#shutdown -k now just kid
#shutdown -h now system shut down now
 
7
、关机
halt
选项同poweroff一样
8、重启计算机
reboot
9、mount 挂载文件系统,umount 卸载文件系统
挂载光盘
#mount -t iso9660 /dev/cdrom /mnt/cdrom
或者#mount /mnt/cdrom卸载光盘
#umount /mnt/cdrom
退出光盘
#eject
送入光盘
#eject -t
挂载软盘   #mount /mnt/floppy卸载软盘   #umount /mnt/floppy
挂载本地FAT32分区,并使挂载后显示中文
#mount -t vfat -o iocharset=cp936 /dev/hda1 /mnt/win
卸载        #/umount /mnt/win
挂载U盘或者移动硬盘
#mount -o iocharset=utf8 /dev/sda1 /mnt/usb
卸载    #umount /mnt/usb如果本地语言环境不是utf8,而是gb18030,需使用下面的命令挂载
#mount -o iocharset=gb2312 /dev/sda1 /mnt/usb

挂载一个光盘镜像至本地/mnt/cdrom目录,用下面的命令
#mount -t iso9660 -o loop /tmp/cd.iso /mnt/cdrom
10、字符界面下安装操作系统的命令
linux text
11、选择不同方法安装操作系统的命令
linux askmethod

12、系统设置
setup
13、服务启动设置
ntsysv
14、登陆设置
gdmsetup
gdmconfig
15、网络设置
networkconfig
thizconfig
16、音量控制
gnome-volume-control
17、KDE控制中心
kcontrol  
18、KDE设置向导 
kpersonalizer
19、网络检测命令
xmtr