Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
hypervisor:base:lxde [2014/03/26 00:05] admin [GUI Customization] |
hypervisor:base:lxde [2014/04/03 03:38] (current) admin [Launch LXDE] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Install virt-manager ====== | + | ====== Install LXDE ====== |
| - | ===== Desktop environment ===== | + | In some situations, you'll want to install an X11 desktop in Dom0 (which can be used to run virt-manager or XCP-XAPI GUIs) |
| - | + | ||
| - | Install an X11 desktop (which we want just so that we can run virt-manager) | + | |
| <code> | <code> | ||
| > apt-get install xorg lxde | > apt-get install xorg lxde | ||
| Line 9: | Line 7: | ||
| This will take a while - be patient! | This will take a while - be patient! | ||
| + | ==== Launch LXDE ==== | ||
| + | Start the graphical environment: | ||
| + | <code> | ||
| + | > service lightdm start | ||
| + | </code> | ||
| + | |||
| + | You should now be able to login to the graphical environment as the "user_name" user. You can get a shell window using Start > Accessories > LXTerminal. | ||
| + | |||
| + | You can also switch between text and graphical consoles using Ctrl-Alt-F1 and Ctrl-Alt-F7 respectively. | ||
| + | |||
| + | LXDE can be launched using GDM / KDM or LightDM, please refer to [[https://wiki.debian.org/LXDE]] for more on this. | ||
| + | |||
| + | As you are working with a desktop install, disable "Network Manager" (UNTESTED) | ||
| + | <code> | ||
| + | > stop network-manager | ||
| + | > gedit /etc/NetworkManager/NetworkManager.conf | ||
| + | </code> | ||
| + | Now make sure the "managed" line contains "managed=false" Save and exit | ||
| ===== Setup Keyboard Layout Switching in LXDE ===== | ===== Setup Keyboard Layout Switching in LXDE ===== | ||
| - | <WRAP center round todo 75%> | + | <wrap center round todo> |
| This doesn't seem to work. When in the GUI keyboard keeps on US layout. | This doesn't seem to work. When in the GUI keyboard keeps on US layout. | ||
| - | </WRAP> | + | </wrap> |
| First of all, you need to add the necessary keyboard layouts into the **/etc/default/keyboard** config file (see also: [[https://wiki.debian.org/Keyboard|Keyboard in Debian Wiki]]). | First of all, you need to add the necessary keyboard layouts into the **/etc/default/keyboard** config file (see also: [[https://wiki.debian.org/Keyboard|Keyboard in Debian Wiki]]). | ||
| Line 22: | Line 38: | ||
| > service keyboard-setup restart | > service keyboard-setup restart | ||
| </code> | </code> | ||
| + | |||
| + | === Use XKB Configuration === | ||
| + | [[http://www.xfree86.org/current/XKB-Config.html]] | ||
| + | <wrap center round tip> | ||
| + | This works issuing the command line, still looking for a way to make it persistent. | ||
| + | </wrap> | ||
| + | |||
| + | Issue the following command: | ||
| + | <code> | ||
| + | > setxkbmap -rules xfree86 -model pc104 -layout fr -option "" | ||
| + | </code> | ||
| + | |||
| + | === Modify default keyboard === | ||
| Here is an example with 5 layouts (US English, Ukrainian, Russian, German and French) and <Alt>+<Shift> as a layout changer key combination: | Here is an example with 5 layouts (US English, Ukrainian, Russian, German and French) and <Alt>+<Shift> as a layout changer key combination: | ||
| Line 56: | Line 85: | ||
| At this point, you need to restart your X session to get the config working, rebooting might also do the trick. | At this point, you need to restart your X session to get the config working, rebooting might also do the trick. | ||
| ===== Install virt-manager GUI ===== | ===== Install virt-manager GUI ===== | ||
| + | <wrap important>DO NOT INSTALL virt-manager if you plan on using XCP-XAPI</wrap> | ||
| + | |||
| <code> | <code> | ||
| > apt-get install virt-manager | > apt-get install virt-manager | ||
| Line 72: | Line 103: | ||
| </code> | </code> | ||
| - | ==== Use the GUI ==== | ||
| - | |||
| - | Start the graphical environment: | ||
| - | <code> | ||
| - | > service lightdm start | ||
| - | </code> | ||
| - | |||
| - | You should now be able to login to the graphical environment as the "user_name" user. You can get a shell window using Start > Accessories > LXTerminal. | ||
| - | |||
| - | You can also switch between text and graphical consoles using Ctrl-Alt-F1 and Ctrl-Alt-F7 respectively. | ||
| - | |||
| - | LXDE can be launched using GDM / KDM or LightDM, please refer to [[https://wiki.debian.org/LXDE]] for more on this. | ||
| ===== GUI Customization ===== | ===== GUI Customization ===== | ||