1. ubuntu11.10-desktop-i386.iso default installation uses lightdm as the default Setter in/etc/lightdm. add the following content to the conf file to enable XDMCP [XDMCPServer] www.2cto.com enabled = true description 1: ubuntu-desktop unity is used in ubuntu11.10 by default. After xrdp is installed, some unity-2d-related errors may occur when Xmanager is used or when you use vncviewer connections, resulting in abnormal functionality when accessing the desktop. Therefore, remove unity-related desktops. Note 2: The xrdp configuration file/etc/xrdp/startwm. sh installs xrdp and vnc4server is installed. Enable vnc logon and run vncserver or vnc4server to run the vncserver configuration file/root /. vnc/xstartup. sh Note 3: It is said that if kde Desktop is used, vncserver is used without any problems and I have not tested it. Uninstall ------ 2. Uninstall unity unity2d functions:
Http://www.bkjia.com/ OS /201204/127334.html
Uninstall UNITY and UNITY 2D: sudo apt-get -- auto-remove purge unitysudo apt-get -- auto-remove purge unity-2d * or: www.2cto.com sudo apt-get-y -- auto-remove purge unitysudo apt-get-y -- auto-remove purge unity-commonsudo apt-get-y -- auto-remove purge unity-lens * sudo apt-get-y -- auto-remove purge unity-servicessudo apt-get-y -- auto-remove purge unity-asset-pool buntu 11.10 install GNOME3: sudo apt-get install gnome- Shellsudo apt-get install gnome-themes-standardsudo apt-get install gnome-tweak-tool ps: If you want to log on automatically, you can do this: Automatically log on to gnome shell classic: sudo/usr/lib/lightdm-set-defaults-s gnome-classic if you like GNOME3, sudo/usr/lib/lightdm-set-defaults-s gnome-shell description 1: I like to use the dpkg-reconfigure agent for the XDMCP configuration of the running device dpkg, in/etc/TPD/custom. conf [# AHP configuration storage [daemon] www.2cto.com [security] Disallow TCP = false [xdmcp] Enable = truePort = 177 DisplaysPerHost = 10 [greeter] [chooser] [debug] 3. on the basis of Step 4 above, there is still a problem using XManager or vncViewer to log on. The system prompts Failed to load session "ubuntu ". Because we have removed ubuntu-desktop. (The default configuration file uses./etc/X11/Xsession to enter the desktop environment .) Modify/root/. vnc/xstartup. sh for vncServer #! /Bin/sh # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec/etc/X11/xinit/xinitrc [-x/etc/vnc/xstartup] & exec/etc/vnc/xstartup [-r $ HOME /. xresources] & xrdb $ HOME /. xresourcesxsetroot-solid greyvncconfig-iconic & x-terminal-emulator-geometry 80x24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop" & gnome-session-fallback modify for xrdp/ etc/xrdp/startwm. sh #! /Bin/sh if [-r/etc/default/locale]; then. /etc/default/locale export LANG LANGUAGEfi www.2cto.com gnome-session-fallback Description: ubuntu 11.10 uses the gnome3 special effect by default. If gnome-session is used, the title bar is not displayed, therefore, XMDCP, XRDP, and VNC can be used like gnome-session-fallback. Author loveganen