ubuntu服务器版安装桌面

ubuntu服务器版安装桌面

安装完ubuntu服务器版后,默认不没有安装任何图形桌面系统的,需要手动安装和配置。在文本模式下可以使用nano,vi新手很难适应。

为了方便,可以激活root帐号:passwd root

以root身份进入后,sudo可不再输入。

1、安装桌面包

sudo apt-get install ubuntu-desktop

2、如果无法显示桌面,说明显卡驱动有问题,需要重新手动安装显卡驱动,笔者的机器是IBM X3550服务器,显卡为ATI,所有操作如下:(具体可见官方的关天ATI显卡的安装,如果为NVIDIA显卡请看NVIDIA显卡安装配置页面)如果不知道显卡型号可以在机器的相关公司主页上查到配置)

sudo apt-get update sudo apt-get install xorg-driver-fglrxYou might also want to install a control panel for your graphic card. Please note that I do not recommend it, as it seems to be buggy, and generally doesnt work.
您可能还想为您的图形卡安装一个控制面板。请注意我并不推荐这样做,因为这个控制面板看起来有些bug,并且一般不起作用。
sudo apt-get install fglrx-controlMake sure fglrx is not disabled: gksudo gedit /etc/default/linux-restricted-modules-common
产生一确答fglrx并未被禁用(在终端命令行中输入以下命令,查看最后一行的DISABLED_MODULES=””的双引号中是否含有fglrx。--译者注): gksudo gedit /etc/default/linux-restricted-modules-common
Generate a new set of module dependencies so the fglrx driver starts properly.
产生一组新的模块以便 fglrx 驱动完全启动。
sudo depmod -aYou now have to configure xorg to use your graphic card. The aticonfig tool, provided with the driver, will do that for you:
现在您需要配置xorg来使用您的图形卡。驱动自带的aticonfig工具会帮您完成这项工作。
sudo aticonfig –initial sudo aticonfig –overlay-type=Xv





打赏

发表回复

zh_CNChinese