› Foros › PC › Software libre
Newton escribió:Para lo que puedes hacer puedes utilizar lo siguiente:
https://jellyfin.org/
https://www.plex.tv/
https://emby.media/
Una distribución te recomendaría Debian NetInstall ligerito con XFCE que es amigable y no consume demasiados recursos. Eso si, te tocará ir instalando algunas cosas por cli, pero es una buena manera de asentar las bases.
Para poder acceder por VNC deberías montar un servidor VNC en el equipo, no tiene mayor dificultad.
Si quieres ir a algo más simple puedes ir a AnyDesk sin problema.
Te dejo unos repositorios dónde puedes encontrar unos primeros pasos o ideas:
https://github.com/mirkogrewing/raspber ... rrent-plex
https://github.com/titelas/plexvps
https://gitlab.com/thinkonezero/nas-docker-standup
https://github.com/TechPerplexed/Gooby
#!/bin/sh
#unset SESSION_MANAGER
#unset DBUS_SESSION_BUS_ADDRESS
#autocutsel -fork
xrdb "$HOME/.Xresources"
#xsetroot -solid grey
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
#/etc/X11/Xsession
#vnconfig -iconic &
startxfce4 &
vncserver -list
Ronbin escribió:@SVA para qué necesistas exactamente VNC? Digo porque tanto plex como qbittorrent (por decir un cliente de torrent) pueden manejarse vía web desde cualquier navegador
Newton escribió:@SVA cuando tienes arrancado vncserver qué responde al siguiente comando?vncserver -list
Mira el fichero de log ~/.vnc en tu servidor
Este enlace puede que te ayude, es un escenario más complejo pero puedes ver algunas bases:
https://medium.com/techlogs/tunnelling- ... 4ffd911708
La configuración de vncserver entiendo que lo tienes correcta, pero por si fuera de ayuda te paso un paso a paso bajo Debian10: https://www.digitalocean.com/community/ ... -debian-10
28/04/22 11:55:10 Xvnc version TightVNC-1.3.10
28/04/22 11:55:10 Copyright (C) 2000-2009 TightVNC Group
28/04/22 11:55:10 Copyright (C) 1999 AT&T Laboratories Cambridge
28/04/22 11:55:10 All Rights Reserved.
28/04/22 11:55:10 See http://www.tightvnc.com/ for information on TightVNC
28/04/22 11:55:10 Desktop name 'X' (Debian:1)
28/04/22 11:55:10 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
28/04/22 11:55:10 Listening for VNC connections on TCP port 5901
xrdb: No such file or directory
xrdb: can't open file '/home/victor/.Xresources'
/usr/bin/startxfce4: X server already running on display :1
xfce4-session: Another session manager is already running
28/04/22 11:55:32 Got connection from client 192.168.1.137
28/04/22 11:55:32 Using protocol version 3.8
28/04/22 11:55:32 Enabling TightVNC protocol extensions
28/04/22 11:55:35 Full-control authentication passed by 192.168.1.137
28/04/22 11:55:35 Using tight encoding for client 192.168.1.137
28/04/22 11:55:35 rfbProcessClientNormalMessage: ignoring unknown encoding 16
28/04/22 11:55:35 Using image quality level 6 for client 192.168.1.137
28/04/22 11:55:35 rfbProcessClientNormalMessage: ignoring unknown encoding -223
28/04/22 11:55:35 Enabling LastRect protocol extension for client 192.168.1.137
28/04/22 11:55:35 Enabling cursor position updates for client 192.168.1.137
28/04/22 11:55:35 Enabling full-color cursor updates for client 192.168.1.137
28/04/22 11:55:42 Client 192.168.1.137 gone
28/04/22 11:55:42 Statistics:
28/04/22 11:55:42 key events received 1, pointer events 473
28/04/22 11:55:42 framebuffer updates 1, rectangles 15, bytes 2054
28/04/22 11:55:42 LastRect markers 1, bytes 12
28/04/22 11:55:42 cursor shape updates 1, bytes 1068
28/04/22 11:55:42 cursor position updates 1, bytes 12
28/04/22 11:55:42 tight rectangles 12, bytes 962
28/04/22 11:55:42 raw bytes equivalent 3145740, compression ratio 3270.000000
28/04/22 11:55:10 Listening for VNC connections on TCP port 5901
xrdb: No such file or directory
xrdb: can't open file '/home/victor/.Xresources'
touch ~/.Xresources
Newton escribió:@SVA
Del log lo importante es:28/04/22 11:55:10 Listening for VNC connections on TCP port 5901
xrdb: No such file or directory
xrdb: can't open file '/home/victor/.Xresources'
Para solucionarlo haz lo siguiente:touch ~/.Xresources
Supongo que así deberías de tener otro log distinto y debería funcionar
28/04/22 12:27:33 Xvnc version TightVNC-1.3.10
28/04/22 12:27:33 Copyright (C) 2000-2009 TightVNC Group
28/04/22 12:27:33 Copyright (C) 1999 AT&T Laboratories Cambridge
28/04/22 12:27:33 All Rights Reserved.
28/04/22 12:27:33 See http://www.tightvnc.com/ for information on TightVNC
28/04/22 12:27:33 Desktop name 'X' (Debian:1)
28/04/22 12:27:33 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
28/04/22 12:27:33 Listening for VNC connections on TCP port 5901
/usr/bin/startxfce4: X server already running on display :1
xfce4-session: Another session manager is already running
28/04/22 12:27:45 Got connection from client 192.168.1.137
28/04/22 12:27:45 Using protocol version 3.8
28/04/22 12:27:45 Enabling TightVNC protocol extensions
28/04/22 12:27:46 Full-control authentication passed by 192.168.1.137
28/04/22 12:27:46 Using tight encoding for client 192.168.1.137
28/04/22 12:27:46 rfbProcessClientNormalMessage: ignoring unknown encoding 16
28/04/22 12:27:46 Using image quality level 6 for client 192.168.1.137
28/04/22 12:27:46 rfbProcessClientNormalMessage: ignoring unknown encoding -223
28/04/22 12:27:46 Enabling LastRect protocol extension for client 192.168.1.137
28/04/22 12:27:46 Enabling cursor position updates for client 192.168.1.137
28/04/22 12:27:46 Enabling full-color cursor updates for client 192.168.1.137
28/04/22 12:27:52 Client 192.168.1.137 gone
28/04/22 12:27:52 Statistics:
28/04/22 12:27:52 key events received 1, pointer events 366
28/04/22 12:27:52 framebuffer updates 1, rectangles 15, bytes 2054
28/04/22 12:27:52 LastRect markers 1, bytes 12
28/04/22 12:27:52 cursor shape updates 1, bytes 1068
28/04/22 12:27:52 cursor position updates 1, bytes 12
28/04/22 12:27:52 tight rectangles 12, bytes 962
28/04/22 12:27:52 raw bytes equivalent 3145740, compression ratio 3270.000000
28/04/22 12:28:31 Got connection from client 192.168.1.137
28/04/22 12:28:31 Using protocol version 3.8
28/04/22 12:28:34 Full-control authentication passed by 192.168.1.137
28/04/22 12:28:34 Pixel format for client 192.168.1.137:
28/04/22 12:28:34 32 bpp, depth 24, little endian
28/04/22 12:28:34 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
28/04/22 12:28:34 no translation needed
28/04/22 12:28:34 Using hextile encoding for client 192.168.1.137
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding 17
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding 16
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding 10
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding 9
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding 8
28/04/22 12:28:34 Using compression level 6 for client 192.168.1.137
28/04/22 12:28:34 Enabling full-color cursor updates for client 192.168.1.137
28/04/22 12:28:34 Enabling cursor position updates for client 192.168.1.137
28/04/22 12:28:34 Using image quality level 6 for client 192.168.1.137
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding -65530
28/04/22 12:28:34 Enabling LastRect protocol extension for client 192.168.1.137
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding -223
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding -32768
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding -32767
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding -32764
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding -32766
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding -32765
28/04/22 12:28:34 rfbProcessClientNormalMessage: ignoring unknown encoding -1063131698
28/04/22 12:28:39 Client 192.168.1.137 gone
28/04/22 12:28:39 Statistics:
28/04/22 12:28:39 key events received 0, pointer events 200
28/04/22 12:28:39 framebuffer updates 1, rectangles 3, bytes 400460
28/04/22 12:28:39 cursor shape updates 1, bytes 1068
28/04/22 12:28:39 cursor position updates 1, bytes 12
28/04/22 12:28:39 hextile rectangles 1, bytes 399380
28/04/22 12:28:39 raw bytes equivalent 3145740, compression ratio 7.876559
/usr/bin/startxfce4: X server already running on display :1
xfce4-session: Another session manager is already running
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &
ps -ef | grep vnc
Newton escribió:@SVA
Creo que el problema ahora puede ser:/usr/bin/startxfce4: X server already running on display :1
xfce4-session: Another session manager is already running
Por lo poco que he visto en internet recomiendan tener en el fichero xstartup lo siguiente:#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
startxfce4 &
28/04/22 12:52:16 Xvnc version TightVNC-1.3.10
28/04/22 12:52:16 Copyright (C) 2000-2009 TightVNC Group
28/04/22 12:52:16 Copyright (C) 1999 AT&T Laboratories Cambridge
28/04/22 12:52:16 All Rights Reserved.
28/04/22 12:52:16 See http://www.tightvnc.com/ for information on TightVNC
28/04/22 12:52:16 Desktop name 'X' (Debian:1)
28/04/22 12:52:16 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
28/04/22 12:52:16 Listening for VNC connections on TCP port 5901
/usr/bin/startxfce4: X server already running on display :1
(process:3258): xfce4-session-CRITICAL **: 12:52:17.571: dbus-launch not found, the desktop will not work properly!
xfce4-session: No SSH authentication agent found
gpg-agent: ya hay un agente gpg ejecutándose - no se inicia otro
(xfwm4:3279): xfwm4-WARNING **: 12:52:17.977: XSync extension too old (3.0).
(xfwm4:3279): xfwm4-WARNING **: 12:52:17.978: The display does not support the XRender extension.
(xfwm4:3279): xfwm4-WARNING **: 12:52:17.978: The display does not support the XRandr extension.
(xfwm4:3279): xfwm4-WARNING **: 12:52:17.979: The display does not support the XRes extension.
(xfwm4:3279): xfwm4-WARNING **: 12:52:17.979: The display does not support the XComposite extension.
(xfwm4:3279): xfwm4-WARNING **: 12:52:17.979: The display does not support the XDamage extension.
(xfwm4:3279): xfwm4-WARNING **: 12:52:17.979: The display does not support the XFixes extension.
(xfwm4:3279): xfwm4-WARNING **: 12:52:17.980: The display does not support the XPresent extension.
(xfwm4:3279): xfwm4-WARNING **: 12:52:17.981: Compositing manager disabled.
xfwm4-Message: 12:52:18.132: Modificador de teclado '<Super>Tab' no soportado
xfwm4-Message: 12:52:18.132: Modificador de teclado '<Super>KP_Up' no soportado
xfwm4-Message: 12:52:18.132: Modificador de teclado '<Super>KP_Left' no soportado
xfwm4-Message: 12:52:18.132: Modificador de teclado '<Super>KP_Right' no soportado
xfwm4-Message: 12:52:18.132: Modificador de teclado '<Super>KP_Down' no soportado
xfwm4-Message: 12:52:18.132: Modificador de teclado '<Super>KP_End' no soportado
xfwm4-Message: 12:52:18.132: Modificador de teclado '<Super>KP_Next' no soportado
xfwm4-Message: 12:52:18.132: Modificador de teclado '<Super>KP_Home' no soportado
xfwm4-Message: 12:52:18.133: Modificador de teclado '<Super>KP_Page_Up' no soportado
(xfwm4:3279): xfwm4-WARNING **: 12:52:18.164: Cannot find visual format on screen 0
(xfwm4:3279): GLib-CRITICAL **: 12:52:18.164: g_hash_table_destroy: assertion 'hash_table != NULL' failed
(xfwm4:3279): xfwm4-WARNING **: 12:52:19.169: Failed to connect to session manager: No se pudo conectar con el gestor de sesiones: Could not open network socket
28/04/22 12:52:22 Got connection from client 192.168.1.137
28/04/22 12:52:22 Using protocol version 3.8
28/04/22 12:52:25 Full-control authentication passed by 192.168.1.137
28/04/22 12:52:25 Pixel format for client 192.168.1.137:
28/04/22 12:52:25 32 bpp, depth 24, little endian
28/04/22 12:52:25 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
28/04/22 12:52:25 no translation needed
28/04/22 12:52:25 Using hextile encoding for client 192.168.1.137
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding 17
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding 16
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding 10
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding 9
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding 8
28/04/22 12:52:25 Using compression level 6 for client 192.168.1.137
28/04/22 12:52:25 Enabling full-color cursor updates for client 192.168.1.137
28/04/22 12:52:25 Enabling cursor position updates for client 192.168.1.137
28/04/22 12:52:25 Using image quality level 6 for client 192.168.1.137
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding -65530
28/04/22 12:52:25 Enabling LastRect protocol extension for client 192.168.1.137
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding -223
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding -32768
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding -32767
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding -32764
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding -32766
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding -32765
28/04/22 12:52:25 rfbProcessClientNormalMessage: ignoring unknown encoding -1063131698
28/04/22 12:52:29 Client 192.168.1.137 gone
28/04/22 12:52:29 Statistics:
28/04/22 12:52:29 key events received 0, pointer events 182
28/04/22 12:52:29 framebuffer updates 1, rectangles 3, bytes 400076
28/04/22 12:52:29 cursor shape updates 1, bytes 684
28/04/22 12:52:29 cursor position updates 1, bytes 12
28/04/22 12:52:29 hextile rectangles 1, bytes 399380
28/04/22 12:52:29 raw bytes equivalent 3145740, compression ratio 7.876559
Newton escribió:@SVA OK puede ser que no tuvieras el paquete dbus-x11 pero si lo has solucionado con x11vnc ya está.
systemctl enable <servicio>
Newton escribió:@SVA Te toca leer sobre systemd
Te dejo unos enlaces que te resultarán interesantes para lo que quieres hacer:
--> http://www.penguintutor.com/linux/tightvnc
--> https://atareao.es/tutorial/trabajando- ... n-systemd/
Si quieres un poco de detalle sobre el arranque:
https://www.crybit.com/linux-boot-process/
darksch escribió:Si es server normalmente vienen con su servicio para añadir al inicio:
https://jasonschaefer.com/setup-x11vnc-server-with-systemd-auto-start-up/
Por ejemplo:systemctl enable <servicio>
Y ya se fijaría en el arranque.
Si tu pregunta es si estaría en ejecución ya disponible para la pantalla de login, antes de iniciar con el usuario, sí, debería estarlo.
MiguelAngel LV escribió:Al ver lo que necesitas, lo primero que he pensado es que con un Home Assistant lo tienes todo y «mucho más».
Básicamente, el HA OS es un sistema operativo que instalas addons (dockers) y tienes tanto el plex, dlna como el torrent y miles más como adguard, samba, vpn.... Todo se controla por web.
Sí, tendrás el Home Assistant (que inicialmente) no usarás, pero tampoco te molesta.
Y todo esto tira en una Raspberry, así que con tu ordenador irá volado.
apt-get install qbittorrent-nox
[Unit]
Description=qBittorrent-nox Daemon
After=syslog.target network.target
[Service]
User=tunombredeusuario
Group=grupodelusuario
Type=simple
ExecStart=/usr/bin/qbittorrent-nox
TimeoutStopSec=20
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target
systemctl start qbittorrent
systemctl enable qbittorrent