User Tools

Site Tools


informatica:hp_z400_600_centos7_3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
informatica:hp_z400_600_centos7_3 [2021/08/10 14:20]
miquel [Desinstal·lació de paquets]
informatica:hp_z400_600_centos7_3 [2021/08/20 13:54]
miquel [Desinstal·lació de paquets]
Line 232: Line 232:
 ===== Desinstal·lació de paquets ===== ===== Desinstal·lació de paquets =====
  
-A l'inici del procés [[informatica:hp_z400_600_centos7 | d'instal·lació de CentOS 7]] es varen instal·lar paquets que Bruker no instal·la i que cal desinstal·lar, per exemple, l'entorn Gnome. Per identificar i eliminar aquests paquets genero un llistat dels paquets instal·lats i el comparo amb el llistat generat a l'ordinador del 500 MHz,+A l'inici del procés [[informatica:hp_z400_600_centos7_1 | d'instal·lació de CentOS 7]] es varen instal·lar paquets que Bruker no instal·la i que cal desinstal·lar, per exemple, l'entorn Gnome. Per identificar i eliminar aquests paquets genero un llistat dels paquets instal·lats i el comparo amb el llistat generat a l'ordinador del 500 MHz,
  
 <file> <file>
 # rpm -qa | sort > avance3-600-pkglist.txt                                                   # rpm -qa | sort > avance3-600-pkglist.txt                                                  
  
-# comm -23 avance3-600-pkglist.txt avance-neo-500-pkglist.txt > compare-files-only-in-600.txt +# comm -23 avance3-600-pkglist.txt avance-neo-500-pkglist.txt > list-packages-only-in-600.txt 
-# comm -13 avance3-600-pkglist.txt avance-neo-500-pkglist.txt > compare-files-only-in-500.txt+# comm -13 avance3-600-pkglist.txt avance-neo-500-pkglist.txt > list-packages-only-in-500.txt
 </file> </file>
  
Line 244: Line 244:
  
 <file> <file>
-# for PKG in `cat list-packages-only-in-600.txt` ; do echo $PKG"\t"`yumdb info $PKG | grep "from_repo "`; done > list-packages-only-in-600-with-repo.txt &+# for PKG in `cat list-packages-only-in-600.txt` ;  
 +do echo $PKG"\t"`yumdb info $PKG | grep "from_repo "`; 
 +done > list-packages-only-in-600-with-repo.txt &
  
 # wc -l list-packages-only-in-600.txt list-packages-only-in-600-with-repo.txt  # wc -l list-packages-only-in-600.txt list-packages-only-in-600-with-repo.txt 
Line 377: Line 379:
   * [[https://superuser.com/questions/178917/why-doesnt-yum-clean-up-orphaned-packages | Why Doesn't Yum Clean Up Orphaned Packages?]]   * [[https://superuser.com/questions/178917/why-doesnt-yum-clean-up-orphaned-packages | Why Doesn't Yum Clean Up Orphaned Packages?]]
   * [[https://www.pc-freak.net/blog/remove-unused-kernels-centos-linux-howto/ | Remove old unused kernels and cleanup orphaned packages on CentOS / RHEL/ Fedora and Debian Linux]]   * [[https://www.pc-freak.net/blog/remove-unused-kernels-centos-linux-howto/ | Remove old unused kernels and cleanup orphaned packages on CentOS / RHEL/ Fedora and Debian Linux]]
 +
 +===== Connexió i configuració dels dos monitors =====
 +
 +Connecto a l'estació de treball el monitor ViewSonic VA2445 SERIES (sortida DisplayPort amb adaptador a DVI) i el monitor HP LA1951 (sortida DVI), i l'ordinador els reconeix i configura correctament. El monitor ViewSonic es configura com pantalla principal (finestra del TopSpin) i el monitor HP com pantalla secundària (finestres de la BSMS, de lock, etc.).
 +
 +===== Configuració de KDE =====
 +
 +Per tal que es faci servir l'entorn KDE en comptes del Gnome, creo un fitxer ''/etc/sysconfig/desktop'' on poso ''DESKTOP=KDE''.
 +
 +<file>
 +# cat desktop 
 +DESKTOP=KDE
 +</file>
 +
 +Llavors engego l'entorn gràfic,
 +
 +<file>
 +[root@cie-56-18 sysconfig]# systemctl status gdm.service 
 +[...]
 +Aug 10 09:23:11 cie-56-18.uab.es systemd[1]: Starting GNOME Display Manager...
 +Aug 10 09:23:11 cie-56-18.uab.es systemd[1]: Started GNOME Display Manager.
 +Aug 10 10:24:21 cie-56-18.uab.es systemd[1]: Stopping GNOME Display Manager...
 +Aug 10 10:24:21 cie-56-18.uab.es systemd[1]: Stopped GNOME Display Manager.
 +
 +[root@cie-56-18 sysconfig]# systemctl start gdm.service 
 +[root@cie-56-18 sysconfig]# systemctl status gdm.service 
 +[...]
 +Aug 10 14:30:20 cie-56-18.uab.es systemd[1]: Starting GNOME Display Manager...
 +Aug 10 14:30:20 cie-56-18.uab.es systemd[1]: Started GNOME Display Manager.
 +[root@cie-56-18 sysconfig]# 
 +</file>
 +
 +i a la pantalla del GDM, abans d'entrar, comprovo quin entorn es farà servir i veig que al llistat d'entorns surt el **KDE Plasma Environment** com a opció seleccionada, i que no surt el Gnome al llistat.
 +
 +Llavors obro una sessió i comprovo que es carrega el KDE, i que hi ha uns quants processos relacionats amb el KDE,
 +
 +<file>
 +# ps ax | grep -i kde
 +   28 ?        S      0:00 [kdevtmpfs]
 +25835 ?        Ss     0:00 /bin/sh /usr/bin/startkde
 +25937 ?        Ss     0:00 /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c "/usr/bin/startkde"
 +26005 ?        S      0:00 /usr/libexec/kde4/start_kdeinit +kcminit_startup
 +26006 ?        Ss     0:00 kdeinit4: kdeinit4 Running...
 +26007 ?        S      0:00 kdeinit4: klauncher [kdeinit] --fd=9
 +26009 ?        Sl     0:00 kdeinit4: kded4 [kdeinit]
 +26035 ?        S      0:00 kdeinit4: kglobalaccel [kdeinit]
 +26044 ?        S      0:00 kdeinit4: kwalletd [kdeinit]
 +26134 ?        Sl     0:00 kdeinit4: ksmserver [kdeinit]
 +26170 ?        Sl     0:04 kdeinit4: plasma-desktop [kdeinit]
 +26379 ?        Sl     0:00 kdeinit4: krunner [kdeinit]
 +26404 ?        Sl     0:00 /usr/libexec/kde4/polkit-kde-authentication-agent-1
 +26425 ?        S      0:00 kdeinit4: klipper [kdeinit]
 +26437 ?        Sl     0:00 kdeinit4: kmix [kdeinit]
 +26439 ?        Sl     0:00 /usr/bin/xsettings-kde
 +27152 ?        Sl     0:00 /usr/libexec/kde4/kscreenlocker_greet --immediateLock
 +31419 pts/2    S+     0:00 grep --color=auto -i kde
 +
 +# pstree --ascii
 +systemd-+-ModemManager---2*[{ModemManager}]
 +        :
 +        :
 +        |-gdm-+-X---{X}
 +        |     |-gdm-session-wor-+-startkde-+-kwrapper4
 +        |                              `-ssh-agent
 +        |                     `-2*[{gdm-session-wor}]
 +        |     `-3*[{gdm}]
 +        :
 +        :
 +        |-kactivitymanage---5*[{kactivitymanage}]
 +        |-kded4---7*[{kded4}]
 +        |-kdeinit4-+-abrt-applet---2*[{abrt-applet}]
 +        |          |-klauncher
 +        |          |-ksmserver-+-kscreenlocker_g---{kscreenlocker_g}
 +        |          |           |-kwin
 +        |          |           `-{ksmserver}
 +        |          |-seapplet---2*[{seapplet}]
 +        |          |-tracker-extract---13*[{tracker-extract}]
 +        |          |-tracker-miner-a---3*[{tracker-miner-a}]
 +        |          |-tracker-miner-u---3*[{tracker-miner-u}]
 +        |          `-xsettings-kde---4*[{xsettings-kde}]
 +        |-kglobalaccel
 +        |-klipper
 +        |-kmix---{kmix}
 +        |-knotify4---{knotify4}
 +        |-krunner---{krunner}
 +        |-kuiserver
 +        |-kwalletd
 +        :
 +        :
 +        |-plasma-desktop-+-ksysguardd
 +        |                `-4*[{plasma-desktop}]
 +        |-polkit-kde-auth---2*[{polkit-kde-auth}]
 +        :
 +        :
 +        |-start_kdeinit
 +        :
 +        :
 +        |-udisksd---4*[{udisksd}]
 +        |-upowerd---2*[{upowerd}]
 +        |-wpa_supplicant
 +        `-xinetd
 +
 +</file>
 +==== Enllaços d'interès ====
 +
 +  * [[https://unix.stackexchange.com/questions/315580/set-kde-desktop-environment-like-default-centos-7 | Set KDE Desktop Environment like default CentOS 7]]
 +  * [[https://unix.stackexchange.com/questions/181503/how-to-install-desktop-environments-on-centos-7 | How to install Desktop Environments on CentOS 7?]]
 +
 +===== Enllaç a la 4a part =====
 +
 +[[informatica:hp_z400_600_centos7_4 | Quarta part de la instal·lació del CentOS]]
  
  
informatica/hp_z400_600_centos7_3.txt · Last modified: 2021/08/20 14:01 by miquel