Solucions a incidències de la UF

Aquí podem deixar solucions a les diferents incidències que ens surtin mentre fem les pràctiques

Incidències

 Incidència 1: Desactivar l'entorn gràfic per defecte[Edita]

1. Copy and paste below command into terminal and hit enter:

sudo gedit /etc/default/grub

This opens Grub boot loader config file with text editor.

2. Do below changes:

  • Comment the line GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”, by adding # at the beginning, which will disable the Ubuntu purple screen.
  • Change GRUB_CMDLINE_LINUX=”" to GRUB_CMDLINE_LINUX=”text”, this makes Ubuntu boot directly into Text Mode.
  • Uncomment this line #GRUB_TERMINAL=console, by removing the # at the beginning, this makes Grub Menu into real black & white Text Mode (without background image)

3. After saved the changes, update grub via command:

sudo update-grub

 

After you fixed the grub file and run update-grub execute:
sudo systemctl set-default multi-user.target

 

 

Restart your computer and see the result.

 NOTA: Para volver a ejecutar el entorno grafico ejecutar /etc/init.d/lightdm restart

LINK

 

Incidencia 2: Permetre l'accés del root a l'entorn gràfic[Edita]

The file to edit is now located in /usr/share/lightdm/lightdm.conf.d, and is called: 50-ubuntu.conf.

I just added the line:

greeter-show-manual-login=true 

and on next reboot I was able to input any user name on the login screen.

LINK

 

Incidencia 3: Llistat d'expressions regulars BASH[Edita]

Link

Link2

 

Incidencia 4: Disminuir el nivell funcional d'AD sense desinstal·lar[Edita]

https://monsalvez.com/2018/04/20/cambiar-el-nivel-de-funcionalidad-de-dominio-windows/

Incidència 5: Configurar ip en Ubuntu 18.04 (netplan)[Edita]

$sudo nano /etc/netplan/50-cloud-....

 A continuació reiniciar la xarxa:

$sudo netplan apply