Author Archives: osde8info

About osde8info

open source advocate

anarchy linux (prev arch anywhere) distro

anarchy linux (prev know as arch anywhere) distro is based off of arch linux

there is also accessible installer project for anarchy linux

Advertisements

OWASP injection testing

OWASP html & sql injection testing

linuxlite ubuntu run synaptic on remote host

linuxlite ubuntu run synaptic on remote host

this fails

$ ssh remotehost
$ synaptic

with errors

Failed to connect to Mir: Failed to connect to server socket: 
No such file or directory
Unable to init server: Could not connect: Connection refused

 

this fails

$ ssh -X remotehost
$ su -
# synaptic

with errors

X11 connection rejected because of wrong authentication.
Failed to connect to Mir: Failed to connect to server socket: 
No such file or directory
Unable to init server: Could not connect: Connection refused

(synaptic:1659): Gtk-WARNING **: cannot open display: localhost:11.0

 

this works

$ ssh -X remotehost
$ sudo synaptic

BUT with warnings

** (synaptic:1403): WARNING **: 
Couldn't connect to accessibility bus: 
Failed to connect to socket /tmp/dbus-WJ1IDwyNzq: 
Connection refused

 

linuxlite 3.8 / xubuntu 16 cpu microcode

how do i check if i have the latest linuxlite 3.8 xubuntu 16 cpu microcode

# aptitude install intel-microcode
The following NEW packages will be installed:
 intel-microcode iucode-tool{a} 
0 packages upgraded, 2 newly installed, 0 to remove and 79 not upgraded.
Need to get 1,019 kB of archives. After unpacking 1,275 kB will be used.
Do you want to continue? [Y/n/?] 
Get: 1 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main amd64 iucode-tool amd64 1.5.1-1ubuntu0.1 [33.8 kB]
Get: 2 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main amd64 intel-microcode amd64 3.20180108.0+really20170707ubuntu16.04.1 [985 kB]
Fetched 1,019 kB in 0s (5,185 kB/s) 
Selecting previously unselected package iucode-tool.
(Reading database ... 240840 files and directories currently installed.)
Preparing to unpack .../iucode-tool_1.5.1-1ubuntu0.1_amd64.deb ...
Unpacking iucode-tool (1.5.1-1ubuntu0.1) ...
Selecting previously unselected package intel-microcode.
Preparing to unpack .../intel-microcode_3.20180108.0+really20170707ubuntu16.04.1_amd64.deb ...
Unpacking intel-microcode (3.20180108.0+really20170707ubuntu16.04.1) ...

 

then reboot

# aptitude show intel-microcode
Package: intel-microcode 
State: installed
Automatically installed: no
Version: 3.20180108.0+really20170707ubuntu16.04.1

 

apache2 listen ports are now in a separate file

in apache2 the server listen ports are now in a separate file so to add a site on port :8000 you need to add 8000 to /etc/apache2/ports.conf AND add a <VirtualHost *:8000> to  yoursite.conf

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 80
Listen 8000