Como Resolver o problema com o R Studio Server – e Utilizador invalido no Ubuntu 16.04
Durante um Update de segurança no Ubuntu 16.04, reparei que deixei de conseguir autenticar-me ao R Studio.
Depois de umas pesquisas e ter chegado a algumas razoes contraditórias, foi descoberto que apenas se tratava do Apparmor ter decidido bloquear o R Studio.
Para rezolver bastou executar:
master@srv-me:~$ sudo aa-status apparmor module is loaded. 29 profiles are loaded. 29 profiles are in enforce mode. /sbin/dhclient /usr/bin/evince /usr/bin/evince-previewer /usr/bin/evince-previewer//sanitized_helper /usr/bin/evince-thumbnailer /usr/bin/evince-thumbnailer//sanitized_helper /usr/bin/evince//sanitized_helper /usr/lib/NetworkManager/nm-dhcp-client.action /usr/lib/NetworkManager/nm-dhcp-helper /usr/lib/connman/scripts/dhclient-script /usr/lib/cups/backend/cups-pdf /usr/lib/lightdm/lightdm-guest-session /usr/lib/lightdm/lightdm-guest-session//chromium /usr/lib/rstudio-server/bin/rserver /usr/lib/rstudio-server/bin/rserver//restricted /usr/lib/snapd/snap-confine /usr/lib/snapd/snap-confine//mount-namespace-capture-helper /usr/lib/snapd/snap-confine//snap_update_ns /usr/lib/telepathy/mission-control-5 /usr/lib/telepathy/telepathy-* /usr/lib/telepathy/telepathy-*//pxgsettings /usr/lib/telepathy/telepathy-*//sanitized_helper /usr/lib/telepathy/telepathy-ofono /usr/sbin/cups-browsed /usr/sbin/cupsd /usr/sbin/cupsd//third_party /usr/sbin/ippusbxd /usr/sbin/ntpd /usr/sbin/tcpdump 0 profiles are in complain mode. 4 processes have profiles defined. 4 processes are in enforce mode. /sbin/dhclient (2801) /usr/lib/rstudio-server/bin/rserver (3908) /usr/sbin/cupsd (22316) /usr/sbin/ntpd (22918) 0 processes are in complain mode. 0 processes are unconfined but have a profile defined. master@srv-me:~$
Foi possível identificar que o R Studio estava marcado.
Foi resolvível através do comando:
master@srv-me:~$ sudo aa-remove-unknown Removing '/usr/lib/rstudio-server/bin/rserver' master@srv-me:~$
Agora pode verificar novamente:
markov@markov:~$ sudo aa-status [sudo] password for markov: apparmor module is loaded. 27 profiles are loaded. 27 profiles are in enforce mode. /sbin/dhclient /usr/bin/evince /usr/bin/evince-previewer /usr/bin/evince-previewer//sanitized_helper /usr/bin/evince-thumbnailer /usr/bin/evince-thumbnailer//sanitized_helper /usr/bin/evince//sanitized_helper /usr/lib/NetworkManager/nm-dhcp-client.action /usr/lib/NetworkManager/nm-dhcp-helper /usr/lib/connman/scripts/dhclient-script /usr/lib/cups/backend/cups-pdf /usr/lib/lightdm/lightdm-guest-session /usr/lib/lightdm/lightdm-guest-session//chromium /usr/lib/snapd/snap-confine /usr/lib/snapd/snap-confine//mount-namespace-capture-helper /usr/lib/snapd/snap-confine//snap_update_ns /usr/lib/telepathy/mission-control-5 /usr/lib/telepathy/telepathy-* /usr/lib/telepathy/telepathy-*//pxgsettings /usr/lib/telepathy/telepathy-*//sanitized_helper /usr/lib/telepathy/telepathy-ofono /usr/sbin/cups-browsed /usr/sbin/cupsd /usr/sbin/cupsd//third_party /usr/sbin/ippusbxd /usr/sbin/ntpd /usr/sbin/tcpdump 0 profiles are in complain mode. 3 processes have profiles defined. 3 processes are in enforce mode. /sbin/dhclient (2801) /usr/sbin/cupsd (22316) /usr/sbin/ntpd (22918) 0 processes are in complain mode. 0 processes are unconfined but have a profile defined. master@srv-me:~$
Está pronto. pode novamente efectuar o seu respectivo login.
A continuação de uma boa programação…