Chinaunix

标题: [Ubuntu]ubuntu server安装图形界面 [打印本页]

作者: renxiao2003    时间: 2010-07-26 13:29
标题: [Ubuntu]ubuntu server安装图形界面
1、安装GNOME桌面管理器
sudo apt-get install xserver-xorg xfont* gnome gdm
2、安装轻量级图形环境
sudo apt-get install xserver-xorg x-windows-system-core openbox
3、安装全新的图形桌面
sudo apt-get install ubuntu-desktop
作者: renxiao2003    时间: 2010-07-26 14:01
试试下面的方法:
1.在字符端输入"switchdesk GNOME",回车,再输入"startx",回车
2.在控制台下登录

先执行 export LANG=C

再重新配置 X
sudo dpkg-reconfigure xserver-xorg
作者: renxiao2003    时间: 2010-07-26 14:02
修改
/etc/X11/default-display-manager文件:
原值为 /usr/sbin/gdm,表示默认进入图形界面。

改为:false   ,表示进入控制台。

例如我的 /etc/X11/default-display-manager文件如下:

# /usr/sbin/gdm      

false

这时启动Ubuntu会进入命令行,不会启动图形界面。可以省100多M内存。

如果想启动图形界面,则用 startx 命令即可。
作者: renxiao2003    时间: 2010-07-26 14:13
Q: server版本为什么没有桌面?
A: 正因为是server版本,本来就没有桌面,不过你可以自己安装。
gnome
代码:
sudo aptitude install ubuntu-desktop
kde
代码:
sudo aptitude install kubuntu-desktop
xfce
代码:
sudo aptitude install xubuntu-desktop

完全没有安装完整的桌面
sudo apt-get install x-window-system-core gnome-core gnome gdm ubuntu-desktop
作者: renxiao2003    时间: 2010-07-26 14:14
觉得Ubuntu Server作的有点不尽人意,相比RHEL5,连个图形界面都没有,下面是从终端控制台走向图形化界面的过程。

以下在Ubuntu server 10.04测试完成。

1、连接网络,你一定要确保网络通畅,如果你和我一样使用Wireless,那先找根网线插上,因为下面的安装都要通过网络下载组件的。
2、进入图形界面的命令是startX,敲击后会有安装xinit的提示。
sudo apt-get install xinit  

安装完,终端由黑色界面变成白底黑字。出现X型的鼠标指针。

3、安装环境管理器
如果你喜欢 GNOME,使用sudo apt-get install gdm

KDE和Xface用户分别改为 KDM和XDM

我先安装了kde,后在kde的终端中安装了GNOME。两者也能很好的融合。

4、安装桌面环境
sudo apt-get install Ubuntu-desktop 或者 kubuntu-desktop  xubuntu-desktop

如果你只想装界面的核心环境,或者网速比较曼的话,可以

sudo apt-get install gnome-core  或者 kde-core xface4

5、如果你装的是CORE的,那么你还需要做以下的工作
1.安装新立得软件包管理器

sudo apt-get install gsynaptic

2.安装无线上网模块(如果需要)

sudo apt-get install network-manager*

3.安装中文支持(能够显示中文)

sudo apt-get install language-support-zh

4.从新立得软件包管理器中选择中文输入法支持和中文界面支持

5.使用新立得软件包管理器安装其他你想要的软件

6.重新启动,即可见图形登陆界面。
作者: renxiao2003    时间: 2010-07-26 16:25
最近安装了Ubuntu 9.04 Server ,预设当然是文字模式。不过,也是可以安装轻量级的一些桌面环境来使用!

google 了一下,找到了gnome 桌面安装的指令,不过,因为不太需要一些在Server上用不到应用程式软体。所以在安装的时候需要加一些参数。

###########################

安装Ubuntu-desktop指令:


$sudo apt-get install Ubuntu-desktop --no-install-recommends

安装完后,启动桌面环境。

指令:

$ /etc/init.d/gdm start

如此一来,便可以大功告成了

=== 2010/1/6 新增 =================

另一套轻量级的图形化介面系统 LXDE

安装指令:

$ sudo apt-get install lxde
作者: renxiao2003    时间: 2010-07-26 17:09
ubuntu9.04中国源
  1. #9.04 Source
  2. deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
  3. deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted
  4. deb http://security.ubuntu.com/ubuntu jaunty-security universe
  5. deb-src http://security.ubuntu.com/ubuntu jaunty-security universe
  6. deb http://security.ubuntu.com/ubuntu jaunty-security multiverse
  7. deb-src http://security.ubuntu.com/ubuntu jaunty-security multiverse
  8. deb http://mirrors.163.com/ubuntu/ jaunty main restricted universe
  9. deb-src http://mirrors.163.com/ubuntu/ jaunty main
  10. deb http://mirrors.163.com/debian/ unstable main non-free contrib
  11. deb-src http://mirrors.163.com/debian/ unstable main
  12. deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
  13. deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
  14. deb http://ppa.launchpad.net/ibus-dev/ppa/ubuntu jaunty main
复制代码

作者: renxiao2003    时间: 2010-07-26 17:13
本帖最后由 renxiao2003 于 2010-07-26 17:25 编辑

如果发生如图错误,请执行
  1. apt-get install indicator-*
复制代码
英文:
[attach]457073[/attach]
中文:
[attach]457074[/attach]
作者: renxiao2003    时间: 2010-07-26 17:23
不允许从该屏幕登录系统管理员

装了ubuntu系统后 直接把/etc/passwd 中的 登录用户改为root权限 然后重新启动 显示“不允许从该屏幕登录系统管理员”有什么办法可以解决么?


没法进系统 也不能去系统里面改 系统-系统管理-登录窗口-安全-允许本地管理员登录
在/etc/gdm/gdm.conf文件中,修改AllowRoot=yes
[security]
# Allow root to login. It makes sense to turn this off for kiosk use, when
# you want to minimize the possibility of break in.
AllowRoot=false
作者: renxiao2003    时间: 2010-07-26 20:54
ubuntu桌面显示计算机,主文件夹,回收站
在终端中输入gconf-editor
在出现的图形化设置界面中,选择apps->nautilus->desktop
选中对应下述:
computer_icon_visible #计算机图标
home_icon_visible #在主文件夹图标
network_icon_visible #网络服务器图标
trash_icon_visible #回收站图标
然后退出就OK了~~

http://www.coder4.com/archives/623
作者: renxiao2003    时间: 2010-07-28 10:16
那天为了在Ubuntu9.04下安装图形界面,碰到不少问题。找到这些帖子就全贴过来了。
作者: renxiao2003    时间: 2010-08-14 20:49
标题: ubuntu10.04 使用root登录系统
#vim /etc/gdm/gdm.schemas
原文为
<schema>
<key>greeter/Include</key>
<signature>s</signature>
<default></default>
</schema>

<schema>
<key>greeter/Exclude</key>
<signature>s</signature>
<default>bin,root,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,nobody4,noaccess,postgres,pvm,rpm,nfsnobody,pcap</default>
</schema>
修改为:
<schema>
<key>greeter/Include</key>
<signature>s</signature>
<default>root</default>
</schema>

<schema>
<key>greeter/Exclude</key>
<signature>s</signature>
<default>bin,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,nobody4,noaccess,postgres,pvm,rpm,nfsnobody,pcap</default>
</schema>

作者: renxiao2003    时间: 2010-08-14 22:57
不知道什么原因,Ubuntu10.04 LTS Server(64bit)安装图形界面后,以root登录后,在状态栏不断弹出“正在启动File Manager”,有坛友遇到过没有。
作者: renxiao2003    时间: 2010-08-14 22:57
不知道什么原因,Ubuntu10.04 LTS Server(64bit)安装图形界面后,以root登录后,在状态栏不断弹出“正在启动File Manager”,有坛友遇到过没有。
作者: renxiao2003    时间: 2010-08-28 20:17
自定义安装Ubuntu10.04 3小时前

  一、下载 Ubuntu 10.04(lucid) Desktop Alternative iso 镜像文件并刻盘

  二、安装时,按F4选择 Install a command line

  三、命令行系统安装完成后,安装图形界面 :

      1、备份 /etc/apt/source.list:sudo cp /etc/apt/source.list /etc/apt/source.list.old

      2、将 /etc/apt/source.list 的替换成如下内容:

          deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted

          deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted\

          deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

          deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted

          deb http://us.archive.ubuntu.com/ubuntu/ lucid universe

          deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe

          deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

          deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe

          deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse

          deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse

          deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

          deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse

          deb http://security.ubuntu.com/ubuntu lucid-security main restricted

          deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted

          deb http://security.ubuntu.com/ubuntu lucid-security universe

          deb-src http://security.ubuntu.com/ubuntu lucid-security universe

          deb http://security.ubuntu.com/ubuntu lucid-security multiverse

          deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

      3、更新软件库:

          sudo apt-get update

          sudo apt-get upgrade

      4、安装图形界面:

           sudo apt-get install gnome-core gdm xorg //gnome桌面及 X-window

          sudo apt-get install ubuntu-artwork ttf-wqy-zenhei //ubuntu主题和文泉驿字体

          sudo apt-get install language-pack-zh-hans language-pack-gnome-zh-hans //gnome 中文支持

          重新启动后,登录图形界面。 提示错误时跳过,安装 indicator-applet-session用于快速切换用户。

  至此,一个基本的支持中文且带图形界面的 Ubuntu 操作系统安装好了。下面,还需要安装一些系统增强软件:

      synaptic // 新利得软件包管理器

      update-manager //更新管理器

      file-roller // 归档管理器

      p7zip // 7z压缩

      rar/unrar // rar压缩解压

      evince // pdf等文档阅读器

      gnome-utils // 日志查看器、文件搜索、截图工具、词典等

      firefox // 网页浏览器

      compiz // 打开桌面的效果

      gnome-power-manager // 电源管理器

      dmz-cursor-theme // 标准鼠标主题(中立风格、可量化的光标主题)

      vim // 文本编辑器

      language-selector // ubuntu语言支持(选择)

      fcitx // 中文输入法

      im-switch // 输入法切换器

  以上方法还未经过本人亲测,不知中间会有些什么意外,主要是记录一下,安装完 text 基本系统后,如何再加装图形操作界面,这样,系统就会很纯,不会装一堆你用不上的软件,特别适合于做服务器又需要图形操作界面用。如果不需要图形操作界面的话,完全可以装 Server 版或是只安装 Text Base System。
原文地址:http://user.qzone.qq.com/85495386/blog/1280393024
作者: renxiao2003    时间: 2010-08-28 21:29
本帖最后由 renxiao2003 于 2010-08-29 20:14 编辑

Ubuntu10.04 LTS 安装图形界面后,安装Vmware Tools,结果重启机器出现
Error inserting padlock_sha (/lib/modules/2.6.24-12-generic/kernel/drivers/crypto/padlock-sha.ko): No such device。在也进不了系统。

PS:发生这个错误的时候,在提示界面,先按下Esc键盘,然后再按下Shift+S键盘就可以登录系统了啊。
作者: renxiao2003    时间: 2010-08-29 20:06
Ubuntu10.04 LTS 安装图形界面后,安装Vmware Tools,结果重启机器出现
Error inserting padlock_sha (/li ...
renxiao2003 发表于 2010-08-28 21:29



    vi /lib/modules/2.6.24-16-generic/modules.alias
注释如下语句
#alias aes geode_aes
#alias pci:v00001022d00002082sv*sd*bc*sc*i* geode_aes
#alias aes padlock_aes
#alias sha256-padlock padlock_sha
#alias sha1-padlock padlock_sha
#alias sha256 padlock_sha
#alias sha1 padlock_sha

作者: renxiao2003    时间: 2010-09-12 22:39
安装这个3D桌面的经历

一开始我安装的时候只能做到 出现立方体桌面的效果。 各种窗口是不能漂浮起来的。

后来我在 Applications 下面进入 Ubuntu Software Center里面  查询关于 compiz相关的内容,然后把你觉得会和桌面效果有影响的都安装一下,然后你就可以在system-->Preferences -->Compizconfig settings manager里面进行设置。然后你就可以在effects里面找到3D Windows 这个效果 还有reflection \ cube reflection and Deformation 这两个选项。


3D windows就是 窗体漂浮的那个效果 cube reflection and Deformation这个是圆形的效果 reflection应该是倒影的效果。



祝大家都能玩上 Ubuntu的3D效果哦。
作者: renxiao2003    时间: 2011-02-17 11:03
http://topic.csdn.net/u/20101113 ... 0-a096b24689f5.html
ubuntu 10.10 软件源无法启动




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2