First of all, my operating system is Debian Linux, I debian using the XFCE desktop environment, yesterday I used the command apt-get install GNOME, installed a pile of software after the restart, can not enter the GUI, can only enter the character interface, today is a toss.
Morning on the internet to look up information, may be summed up a few bar
1, in the character interface input command startx
2, modify init default level, the location of the file/etc/inittab, change the default to 5
Init 5 is entered as the interface init 0: Downtime (must not set the Initdefault to 0)
Init 1: Single user mode
Init 2:-multiuser, no NFS
Init 3: Full multiuser mode (standard run level)
Init 4: No use
Init 5:x11 (Xwindow)
Init 6: Reboot (don't set the Initdefault to 6)
3, also has the input command xinit
4, install XDm or GDM Desktop Manager (later found that I have xdm on the machine, but with GDM, still useless)
Toss a little unresolved.
So posted a post on the internet for help, a friend replies that should see STARTX after the error description, very reasonable, why I do not know to start from here, it seems that this is learning methods and habits of the problem.
So I observed that there was a mistake: can not open input device Dev/psaux
This is the problem of the mouse, did not find the file, just at the beginning I thought from someone else's machine to copy this file may be solved (found U disk can not be very good copy not down), and later found in the dev/.static/dev/under the file, and then copied to the/dev/directory, Restart still did not solve the problem, then found that the copy of the Psaux file has not been (asked my brother, only to know that the dev file is not directly copied, and it has links with other aspects, specific why, I am not very clear, and then I will study the).
Later I used the command dpkg-reconfigure XSERVER-XFREE86 configuration changed a mouse interface (used to be psaux), although you can enter the graphical interface, but the mouse can not use, and then I changed back to the
Anyway toss a half-day, finally unexpectedly is changed a USB mouse, I used to be PS2 mouse, so you can enter the graphical interface. But I don't get it, Apt-get install gnome Why can't even PS2 mouse support. It seems that you have to think about it later.
There are some twists and turns in the middle, do not say.
Small experience: Configuration commands (very good) dpkg-reconfigure Xserver-xfree86 base-config
Http://www.linuxdiyf.com/bbs/thread-49306-1-1.html