provide a systemd user service unit for vncserver   Ejemplo: loginctl enable-linger username systemctl –user enable vncserver@:1.service # # /usr/lib/systemd/user/vncserver@.service # # 1. Switches for vncserver should be entered in ~/.vnc/config rather than # hard-coded into this unit file. See the vncserver(1) manpage. # # 2. Users wishing for the server to continue running after the owner logs # out MUST enableSeguir leyendo

Realtek rtl8723de Device d723

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723 Subsystem: Hewlett-Packard Company Device 8319 Flags: bus master, fast devsel, latency 0, IRQ 122 I/O ports at 1000 [size=256] Memory at 91000000 (64-bit, non-prefetchable) [size=64K] Capabilities: Kernel driver in use: rtl8723de Kernel modules: rtl8723de     1. Make sure you have git installed. You canSeguir leyendo

fortinet vpn client IPSEC L2PT shrew client

install arch: yaourt qikec note: yaourt shrew (client gui vpn is not working, so manual mode )   convert psk to base64 for example 12345678 to base64    ->  MTIzNDU2Nzg5MA== b:auth-mutual-psk:MTIzNDU2Nzg5MA==   put configuration file .ike/sites n:version:4 n:network-ike-port:500 n:network-mtu-size:1380 n:client-addr-auto:1 n:network-natt-port:4500 n:network-natt-rate:15 n:network-frag-size:540 n:network-dpd-enable:1 n:network-notify-enable:1 n:client-banner-enable:0 n:client-dns-used:0 b:auth-mutual-psk:XXXXXXXXXXXXXXXXXXXXXX  <– PresharedKey in base64 n:phase1-dhgroup:5 n:phase1-keylen:0Seguir leyendo

shiny-server timeout nginx

error in nginx: upstream prematurely closed connection while reading response header from upstream     In the shiny-server configuration help, there are two timeouts that can be set in the free shiny server version. app_init_timeout — Describes the amount of time (in seconds) to wait for an application to start. After this many seconds ifSeguir leyendo

Find the UUID of a filesystem and add to fstab

use blkid sudo blkid /dev/sda2: LABEL=”NTFSDISK” UUID=”8C14553212372BD7″ TYPE=”ntfs” PARTLABEL=”Basic data partition” PARTUUID=”6120d102-a321-2dg3-a3c2-abc3b31313a3″ /dev/sda1: UUID=”727cac18-044b-4504-87f1-a5aefa774bda” TYPE=”ext3″ /dev/sdb: UUID=”467c4aa9-963d-4467-8cd0-d58caaacaff4″ TYPE=”ext3″ Find UUID and add to fstab # # /etc/fstab # Created by anaconda on Fri Feb 2 13:55:13 2018 # # Accessible filesystems, by reference, are maintained under ‘/dev/disk’ # See man pages fstab(5), findfs(8), mount(8) and/orSeguir leyendo

Timeout systemctl systemd

systemctl cat Then you need to create a {service}.service file to override your settings with information from [Service] section from systemctl cat {service} command and restart daemon after that: echo “[Service] TimeoutSec=15min ExecStart=/etc/rc.d/init.d/ start ExecStop=/etc/rc.d/init.d/ stop ExecReload=/etc/rc.d/init.d/ reload” > /lib/systemd/system/{service}.service sudo systemctl daemon-reload Timeout set by systemd systemctl show SERVICE_NAME.service -p TimeoutStopUSec

How to Set Up Shiny Server nginx

An older version of this article was written by Dean Attali. Introduction While many people primarily turn to the open-source programming language R for statistical and graphics applications, Shiny is an R package that allows you to convert your R code into interactive webpages. And when combined with Shiny Server — available in both aSeguir leyendo