Home >System Tutorial >LINUX >Steps to install GNOME 3 on Ubuntu Server 11.04
If you think that there is no need to install a graphical interface when installing Ubuntu Server 11.04, let alone GNOME3, which is not yet perfect. . Or it should be built with ARCH GNOME3. So please don't waste your time reading any more.
It took 2 nights and a day, and I reinstalled it N times. Finally something has come of it. It's not easy.
Stop talking nonsense and get to the point:
Hardware:One ThinkPad X61, one Ubuntu Server 11.04 installation USB disk
Internet access: ADSL (wireless, wired)
Operation: One pseudo programmer
1. Insert the USB flash drive, restart the laptop, and press F12. (For X61)
2. Enter the startup options interface, select USB boot, and then choose to install Ubuntu Server.
The following assumes that you have mastered the ordinary installation process. No step-by-step instructions. Just a few points to note.
a) Because of Chinese support, I chose English for both the installation and system languages.
b) When selecting a hard disk partition, pay attention to selecting the bootable attribute of the partition where the system is installed (you can automatically boot from this partition instead of selecting the primary partition)
c) When installing the system, I have already abandoned the XP on my notebook, so if there is no other system, I can safely choose GRUB to automatically generate it. If there are other systems, I need to pay attention to it
3. After the installation of Ubuntu Server is completed, first get the Internet connection. The wired situation is very simple. ADSL can be configured using pppoeconf to dial up. Wireless needs to be complicated. Here I first downloaded wicd-curses to configure the wireless network card using wired mode, connected to the wireless modem, and then used pppoeconf to configure it.
4. After surfing the Internet, it is strongly recommended to change the update source (change /etc/apt/sources.list). Maybe the update is not in place. There are not many update sources for 11.04 on the Internet. In fact, almost any rename of 10.04 can be used to update 11.04. I haven’t heard that the server only supports 10.04 and will not be updated. 11.04 is natty. Don't correct your mistakes.
5. After changing the source, update it first
sudo apt-get update
sudo apt-get upgrade
6. Install GNOME3
sudo add-apt-repository ppa:gnome3-team/gnome3
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install gnome-shell
Maybe add-apt-repository is not installed, just install python-software-properties...(It turns out to be a script.)
Later, I continued to install gnome-core xserver-xorg-core. I am not sure whether gnome-core must be installed...
Finally just install the login program. Both gdm and lightdm are available.
Then restart, you should be able to see the login interface. Hope I didn't miss anything, if follow
Select: GNOME login on the login interface. Then.
Of course it was an error. This error cost many people a lot of time.
could not update .ICEauthority...
Baidu. . I found that many people encountered this problem many times. The solution can be described as imaginative.
Briefly list a few: directly chown to change permissions. This is where the problem lies. It's a pity that there are a few steps missing.
Install LXDE. I used this method when I upgraded from 10.04 to 11.04 and then installed GNOME3. I installed LXDE and then logged into LXDE once, which solved the permission problem, but it was unstable and other problems appeared later. Besides, this solution is a bit inexplicable. , and it is also invalid in this situation.
In fact, the biggest feature of software is logic. Everything has a cause and effect. Just prescribe the right medicine.
The problem is obviously a permissions issue.
The permission to view .ICEauthority is that the owner has rw permission, and the file owner is the user me. Why is there still a permission issue?
unless. The ID when running is not the user ID. No matter what his ID is.
Now go back to modifying the permissions of .ICEauthority, sudo su. root. I don't believe I can't change your permissions.
Still failed
Suddenly remembered that the file also has an attribute.
lsattr .ICEauthority
Ha ha. The sample was discovered by me. . There is an i attribute (ignore?)
sudo chattr -i .ICEauthority
After removing the i attribute, you can change the file permissions.
sudo chmod a rw .ICEauthority
Finally the modification is completed. After restarting, you can finally enter GNOME3. And it's a pretty clean GNOME3. There is no software whatsoever.
Now just choose the software and install it slowly. Ha ha.
By the way, most of the solutions are found on searches. If the above steps still don't work, try the following. I did the following steps, but I think it should be possible without modification like this.
Error message: ‘Could not update file ICEauthority’
To overcome this problem, go into recovery mode by pressing “Esc” when booting and select “recovery mode” in the GRUB menu.
Selecting the ‘recovery mode’ in the GRUB menu
Wait a while until the boot process is complete so that you are faced with choices like the image below:
Open a root shell to repair
Select “Drop to root shell prompt”then type the following commands one by one in the current shell:
chown gdm: gdm -R /var/lib/gdm
chmod 600 / var / lib / gdm / .ICEauthority
mv / home / username / .ICEauthority / home / username / .ICEauthority.old
chmod 1777 / tmp
Replace “username” with your user name in Ubuntu. restart and pray that the problem can be resolved.
The above is the detailed content of Steps to install GNOME 3 on Ubuntu Server 11.04. For more information, please follow other related articles on the PHP Chinese website!