Removendo: the virtualbox kernel service is not running [Resolvido]

Publicado por Xerxes em 07/03/2017

[ Hits: 7.075 ]

 


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:

"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"

Salve e feche o arquivo.

Isso impede o aparecimento da mensagem.

Abraço!

Outras dicas deste autor

Afrescalhando o prompt

Ajustando data e hora com NTP

Gravação nativa do Gnome com som e outras opções

Dois painéis de configuração do sistema no Linux Mint? [Resolvido]

Opera e Google Chrome no Slackware

Leitura recomendada

Carregando o mapa do teclado no shell

Suspendendo um usuário sem perder sua senha original

Portage com GIT no Gentoo

Personalizando a tela de abertura do XFCE

Ubuntu - Alterando as Fontes do Terminal

  

Comentários
[1] Comentário enviado por luizgmendes em 07/03/2017 - 20:36h

Valeu. Estava procurando como tirar essa mensagem.

Luiz

[2] Comentário enviado por clodoaldops em 09/03/2017 - 07:54h

LM-17 e LMDE-2 também tinham essa mensagem é resolvi assim
https://www.vivaolinux.com.br/dica/Removendo-a-mensagem-de-erro-vboxclient-na-inicializacao-LinuxMin...

Quando testar Debian 9 eu verei se também funciona!

**********************************************
Meu Blog
http://dicaslinuxmint.blogspot.com.br/



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts