Accéder au contenu principal

Changer le Display Manager dans Linux

Aurez-vous besoin de changer votre "Display Manager" sous Linux? Peut-être. Mais certainement, c'est une info utile pour ceux parmi nous qui utilisent Linux. Je vais vous raconter l'histoire qui m'a poussé à écrire cet article.

Ça a commencé avec la nostalgie que j'ai eue envers KDE4. Puisque j'utilise l'édition principale de Linux Mint 10 Julia que j'ai eue sur CD, j'ai pas eu le confort de l'avoir installé depuis le début, donc j'ai décide d'installer le "package" [kde-full] avec le gestionnaire de paquetages Synaptic, ce qui signifie l'installation de tout ce qui est nécessaire pour avoir KDE4. (450 Mo de données à télécharger)

Après l'installation de KDE4, qui fonctionne déjà bien, j'ai pensé à changer mon "Display Manager". Pourquoi? simplement parce que mon systéme utilise GDM (Gnome Display Manager) par défaut pour l'écran de connexion. Ceci dit, KDE4 ne peut pas avoir accés aux ressources nécessaires pour arrêter ou redémarrer le système, ce qui m'oblige chaque fois à me déconnecter de ma session KDE4 puis arrêter ou redémarrer avec GDM. Et ma faute était de ne pas choisir KDM comme Display Manager par défaut lors de l'installation de KDE4.

Alors après une recherche manuelle, en me basant sur le réflexe naturel que tout ce cache sous le dossier "/etc/" j'ai trouvé la solution. il suffit de changer un fichier système de configuration sous "/etc/X11".




Voici la procédure :
1- ouvrir un terminal.
2- passer en mode root (su root) et taper le mot de passe root.
3- renommer le fichier "/etc/X11/default-display-manager" :
  # mv default-display-manager default-display-manager.old
4- créer un nouveau fichier du même nom et le modifier :
Si vous voulez utiliser KDM (comme dans mon cas)
  # echo "/usr/bin/kdm" > default-display-manager
Sinon pour GDM
  # echo "/usr/sbin/gdm" > default-display-manager
5- redémarrer Linux.

Attention : il est préférable de ne pas toucher aux fichiers de "/etc/" pour un utilisateur novice.

Commentaires

Anonyme a dit…
Despression symptoms isn't a indication of weakness. It's a standard a reaction to selected occasions that happen in our lives [url=http://www.buypercocetonline.com/]online percocet[/url] that individuals can't stand along with which we have zero control over. It's only natural to acquire depressed once in a while if the predicament thus court warrants this.

Posts les plus consultés de ce blog

GNS3 on Manjaro/Arch Linux: How to create virbr0 for NAT to work

Problem: You can't add a NAT connection to your GNS3 simulation, and you get the error : "ERROR template_manager:226 Error while creating node from template: NAT interface virbr0 is missing, please install libvirt" Steps to resolve: 1- Create a file named /tmp/default.xml 2- Paste this content and save: <network>   <name>default</name>   <bridge name="virbr0"/>   <forward mode="nat"/>   <ip address="192.168.123.1" netmask="255.255.255.0">     <dhcp>       <range start="192.168.123.2" end="192.168.123.254"/>     </dhcp>   </ip> </network> 3- Execute the following commands in your shell : virsh net-define /tmp/default.xml sudo virsh net-start default sudo virsh net-autostart default  

GNS3: Simulating a 100% opensource site2site VPN using Wireguard, VyOS and OpenVSwitch

 This is something I had in mind but didn't find the time to accomplish before. It just took a very cold day to convince me that I have to play with Wireguard on VyOS. I used GNS3 of course, on my personal Linux laptop to create this setup. Of course the performance was not that great since it is just a simulation.  In real life, I am using Wireguard on a 10 years old Raspberry Pi Model B and amazingly with just a 700MHz single core ARM CPU and less than 512 MB of RAM I had a decent and stable permanent Wireguard tunnel. (My bandwidth would reach 24 Mbps without issue) Back to my simulation, this is what it looks like : Quick explanation: the VYOS routers labeled IPERF1 and IPERF2 are only used for an iperf3 test, which was able to reach about 50 to 60 Mbps each time. It ain't much but it was honest (and free) secure bandwidth! I won't get into the details of this setup but I will just post the two most important configurations : R-East and R-West : #### VYOS WireGuard Site

Old school tool for news (RSS): NewsFlash

 Being an old school user who was very dependant on RSS feeds to keep me updated on my favourite subjects, I spent a lot of time looking for something that could do this in 2024. Surprisingly, I found a tool called "NewsFlash" which looks like it was tailored exactly for people like me, people who can't live without Slashdot , TheHackerNews and TechCrunch ! I am currently daily-driving Linux Manjaro for more than two years on my personal laptop (while unfortunately I have to work on a Win11 system for my regular job) and, being based on Arch Linux, the cutting edge community-driven Linux distribution, Manjaro is able to provide the latest and greatest opensource (and sometimes proprietary) software via its default repositories. You don't even have to do anything "geeky" to install NewsFlash (or any other package in the repositories) since the Pamac Software Manager is really becoming easy and powerful at the same time! This is NewsFlash, very simple and eas