GNU/Linux >> Tutoriales Linux >  >> Ubuntu

¿El servidor Vino Vnc no puede iniciarse al iniciar?

Así que estoy tratando de hacer que Vino VNC Server se inicie en el arranque, lo que significa que no tengo que iniciar sesión para que se inicie el VNC Server. Estoy en Ubuntu GNOME 15.04 y ya he agregado

/usr/lib/vino/vino-server

a 'Aplicaciones de inicio'. Sin embargo, el servidor VNC aún no se iniciará tan pronto como arranque. Tengo que iniciar sesión para que se inicie el servidor VNC. ¿Qué tengo que hacer? ¿Necesito crear un archivo de unidad systemd? Si es así, ¿cómo lo hago?

Editar :Esta pregunta es diferente a esta porque necesito que Vino Server funcione, mientras que esa guía sugiere x11vncserver.

Respuesta aceptada:

cree una unidad o servicio systemd para ejecutar el servidor vino al inicio

  1. cd /etc/systemd/system/
    
  2. sudo vim vinostartup.service
    
  3. [Unit]
    Description = description about the service
    After = network.target
    [Service]
    ExecStart = /usr/lib/vino/vino-server
    [Install]
    WantedBy = multi-user.target
    
  4. Habilitar el servicio

    sudo systemctl enable vinostartup.service
    
  5. Verifíquelo usando el siguiente comando vinostartup.service estará allí

    ls multi-user.target.wants/
    
  6. Si no desea esperar hasta el próximo arranque (ya está habilitado), podemos iniciar el servicio

    sudo systemctl start vinostartup.service
    

Ubuntu
  1. ¿Iniciar Tomcat al inicio con privilegios administrativos?

  2. ¿Ejecutar un programa Ruby al inicio?

  3. ¿Iniciar el servidor Vino Vnc desde el cliente Ssh?

  4. ¿Error al iniciar Thesql Community Server (5.7)?

  5. cPanel no puede o no puede iniciar o reiniciar el servicio de correo POP3

Cómo ejecutar un script al iniciar en Ubuntu 20.04 Focal Fossa Server/Desktop

Cómo ejecutar un script al iniciar en Ubuntu 22.04 Jammy Jellyfish Server/Desktop

Cómo iniciar el servicio al arrancar en Ubuntu 22.04

Cómo instalar el servidor VNC en Ubuntu 14.04

Cómo instalar el servidor VNC en CentOS 8 / RHEL 8

Cómo instalar el servidor VNC en Ubuntu 20.04