Removendo: the virtualbox kernel service is not running [Resolvido]
Dica publicada em Linux / Configuração
Removendo: the virtualbox kernel service is not running [Resolvido]
Dica testada no Debian 9.0 (atualmente testing).
Ao iniciar o ambiente Gnome, logo após o login, aparece uma mensagem inconveniente:
Para resolver isso é simples.
Edite o arquivo 98vboxadd-xclient. Exemplo:
# nano /etc/X11/Xsession.d/98vboxadd-xclient
E comente a linha 26 que diz:
"notify-send "VBoxClient: the VirtualBox kernel service is not running."
Coloque um: echo "ok"
Era assim:
if test -f /proc/modules && ! grep -q vboxguest /proc/modules 2>/dev/null; then
# Do not start if the kernel module is not present.
notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting."
Ficou assim:
Salve e feche o arquivo.
Isso impede o aparecimento da mensagem.
Abraço!
Ao iniciar o ambiente Gnome, logo após o login, aparece uma mensagem inconveniente:
"vboxclient the virtualbox kernel service is not running"Tudo bem, faz sentido. Até mesmo porque eu não tenho o VirtualBox instalado. Mas creio que a mensagem seja desnecessária.
Para resolver isso é simples.
Edite o arquivo 98vboxadd-xclient. Exemplo:
# nano /etc/X11/Xsession.d/98vboxadd-xclient
E comente a linha 26 que diz:
"notify-send "VBoxClient: the VirtualBox kernel service is not running."
Coloque um: echo "ok"
Era assim:
if test -f /proc/modules && ! grep -q vboxguest /proc/modules 2>/dev/null; then
# Do not start if the kernel module is not present.
notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting."
Ficou assim:
if test -f /proc/modules && ! grep -q vboxguest /proc/modules 2>/dev/null; then
# Do not start if the kernel module is not present.
# notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting."
echo "ok"
# Do not start if the kernel module is not present.
# notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting."
echo "ok"
Salve e feche o arquivo.
Isso impede o aparecimento da mensagem.
Abraço!
Luiz