Skip to main content

Posts

Showing posts with the label remote

Set up VNC login without console login in Ubuntu Gnome environment

 It is said that GNOME does not support VNC connection without logging in by default. So you have to do the following annoying task. 1) gnome-remote-desktop settings Open "Settings" in gnome-remote-desktop, select "Sharing", Find "Remote Desktop" or "Screen Sharing" and disable it.  2) Install x11vnc sudo apt update sudo apt install x11vnc 3) Set x11vnc password x11vnc -storepasswd 4) Set auto-start at boot (create x11vnc.service file) sudo nano /etc/systemd/system/x11vnc.service Contents

rsyslog file log to remote syslog

 1. rsyslog    [file-A]     <--->    [remote rsyslog] 1) Edit conf file (The filename is your choice.)   @: udp   @@: tcp /etc/rsyslog.d/01-testlog.conf $ModLoad imfile # Default Apache Access Log $InputFileName /var/log/haproxy.log #$InputFileName /var/log/httpd/access_log #$InputFileTag httpd-access-default: #$InputFileStateFile stat-httpd-access #$InputFileSeverity info $InputFileFacility local4 $InputRunFileMonitor $InputFilePollInterval 10 local4.* @127.0.0.1:514 2) ignore local4 from /var/log/message and /var/log/syslog   edit /etc/rsyslog.conf Before: *.*;auth,authpriv.none    -/var/log/syslog After: *.*;!(local4.*);auth,authpriv.none    -/var/log/syslog Before: *.=debug;\   auth,authpriv.none;\   news.none;mail.none -/var/log/debug *.=info;*.=notice;*.=warn;\   auth,authpriv.none;\   cron,daemon.none;\   mail,news.none    -/var/log/messages  After: *...