Skip to main content

Posts

"Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)"

"Error getting authority: Error initializing authority: Could not connect: No such file or directory (g-io-error-quark, 1)" One issue that may cause this to arise is if you managed to break your /etc/fstab We had an engineer add a line with the intended options of "nfsvers=3" but instead added "-onfsvers=3" and it broke the system fairly catastrophically.
Recent posts

Flashing a Pixel C

WARNING!!!! When you lock the bootloader.. it erases the damn device! Ugh... Anyhow.... To enable USB stuff.. Go to System | Build... tap build 7 times, click back... Developer options.. and somewhere in there you can unlock the bootloader and enable USB  # adb reboot bootloader -- The device will reboot...  then... # fastboot flashing lock

update snmp engineID to human readable value

If.. for whatever reason... you need a human readable snmp engineID [root@zion snmp]# grep -i engin /etc/snmp/snmpd.conf exactEngineID "thisIsATest" engineIDType 3 [root@zion snmp]# systemctl restart snmpd [root@zion snmp]# grep -i engi /var/lib/net-snmp/snmpd.conf engineBoots 1 oldEngineID "thisIsATest"

GDM Autologin (revisited)

The following is the configuration for that. 1) install RHEL7.3 with minimum install 2) install gdm and dependencies 3) install motif, xterm, xorg-x11-fonts-*, xorg-x11-server-Xorg and xorg-x11-xinit-session 4) systemctl set-default graphical.target 5) create /root/.Xclients  (This is called from /etc/X11/xinit/xinitrc) ----------- #!/bin/sh xclock -geometry +0+0 & xterm -ls & exec /usr/bin/mwm -multiscreen ------------ 6) create /root/.xsession  (This is called from /usr/libexec/xinit-compat) ------------ #!/bin/sh exec /etc/X11/xinit/xinitrc ------------ 7) set exec permission to /root/.Xclients and ~/.xsession # chmod gu+x /root/.Xclients /root/.xsession 8) create /etc/sysconfig/desktop. This is to disable gnome and kde completely ------------ unset GSESSION unset STARTKDE ------------ 9) create /etc/gdm/custom.conf. This is to enable automatic login with root user. -------------- [daemon] AutomaticLogin=root AutomaticLoginEnable=True ---

Automatic login to desktop - RHEL

Trying to build a machine as a Kiosk with no login needed. update /etc/gdm/custom.conf. This is to enable automatic login with root user. ------------- [daemon] AutomaticLogin=root AutomaticLoginEnable=True So, more specifically I need to have my system boot to a graphical target as a particular user... #yum -y install gdm @gnome-desktop @^graphical-server-environment @internet-browser subscription-manager register --auto-attach yum -y install gdm yum -y install motif xterm xorg-x11-fonts-* xorg-x11-server-Xorg xorg-x11-xinit xorg-x11-apps subscription-manager repos --enable=rhel-7-server-optional-rpms yum -y install xorg-x11-xinit-session systemctl set-default graphical.target cat << EOF > /etc/sysconfig/desktop unset GSESSION unset STARTKDE EOF # update the GDM file to have automatic login enabled (as root in this case) sed -i -e 's/\[daemon\]/\[daemon\]\nAutomaticLogin=morpheus\nAutomaticLoginEnable=True/g' /etc/gdm/custom.conf USERS=&

Install RHEL 7 on old HP DL380 g5

Someone at work had been running RHEL on an HP DL380 G5 and blew it up.  After several attempts at doing an installation that made me conclude the hardware was actually bad... I kept digging for the answer. Attempt install and Anaconda could not find any disks - try a Drivers Disk (dd.img) both cciss and hpsa.   -- once we did that, when the system would reboot it would say it could not find a disk. hmmm. Boot from your installation media and interrupt the startup at grub. Add hpsa.hpsa_allow_any=1 hpsa.hpsa_simple_mode=1 to the line starting with linuxefi press CTRL-X to boot. Once the system restarts after the install, you need to once again interrupt the startup and add the line from above. After the system starts, edit /etc/default/grub and add those 2 parameters to the end of the line starting with GRUB_CMDLINE_LINUX (which likely has quiet at the end of the line currently). then run # cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg.orig # grub2-mkconfig -o /boot/grub2

Plex and LetsEncrypt

Work in Progress: Plex and LetsEncrypt So... I'm not entirely sure where to begin with all this. And this write-up is a mess (right now). I was not certain this was going to work and therefore I was not keeping absolute notes. Apache webserver allowing 80/443 through my firewall. - www.linuxrevolution.com - plex.linuxrevolution.com Plex Media Server currently running on OSX Mac Mini at port 32400 (standard port) I own a domain "linuxrevolution.com" and I also have a Plex Media Server running on any particular system (Mac Mini/OSX, Nvidia Shield TV, Linux). On my webserver, I am using CertBot - create a webroot (vhost) on your Apache Server. wget https://dl.eff.org/certbot-auto chmod a+x certbot-auto ./certbot-auto ./certbot-auto certonly -d plex.linuxrevolution.com --webroot openssl pkcs12 -export -out ~/plex_linuxrevolution_com.pfx \ -inkey /etc/letsencrypt/archive/plex.linuxrevolution.com/privkey1.pem \ -in /etc/letsencrypt/archive/plex