Sunday, June 19, 2016

Xubuntu abnt2 keyboard

Session and startup -> add ->
setxkbmap -model pc105 -layout br -variant abnt2

phpMyAdmin - Error | The mbstring extension is missing. Ubuntu-16.04

Try using:
sudo apt-get install php-gettext
sudo phpenmod mcrypt 
sudo phpenmod mbstring 
sudo service apache2 restart

Tuesday, June 14, 2016

Chromium not starting as root in Debian

Problem:
root@debian:~# chromium
[1:1:0614/091456:FATAL:sandbox_linux.cc(178)] Check failed: sandbox::Credentials::MoveToNewUserNS(). 
#0 0x0000b0587b0d 
#1 0x0000b05a01c0 
#2 0x0000b4c6cf33 
#3 0x0000b34d75dc 
Solution:
root@debian:~# chromium --user-data-dir=/root/chromium --no-sandbox