Author: skp

JPG Loading Issue

Unfortunately, this issue is unsolved for me. I found plenty of things that fixed it for other people, so maybe they will help you. If you have an idea of something else to try, please comment.

My laptop will not load jpeg files for some reason. Chrome and Internet browsing works just fine. I can see all images there, but I can’t see jpeg images in Eye of Gnome. The worst is that I can’t see the background. The desktop background is just blue.

Here’s my troubleshooting notes:

Read More

Open SSL Weak Certificate

I have a client’s VPN that was giving me a hard time. It was an Open VPN connection.

There was a comment in the Forum that I was reading about security. It sounds like it would be better to regenerate the certificates, but since I have no control over the server, I couldn’t do that.

Error Messages

There are the error messages that I was seeing in my log:

  • Cannot load certificate file <path removed>COTVPN.crt
  • OpenSSL: error:140AB18E:SSL routines:SSL_CTX_use_certificate:ca md too weak
  • Options error: Please correct these errors.

I checked my version:

<br />
$ openvpn --version<br />
OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Feb 10 2018<br />
library versions: OpenSSL 1.1.0g  2 Nov 2017, LZO 2.08<br />
Originally developed by James Yonan<br />
Copyright (C) 2002-2017 OpenVPN Technologies, Inc. &lt;sales@openvpn.net&gt;<br />
Compile time defines: enable_async_push=no enable_comp_stub=no enable_crypto=yes enable_crypto_ofb_cfb=yes enable_debug=yes enable_def_auth=yes enable_dependency_tracking=no enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=needless enable_fragment=yes enable_iproute2=yes enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_maintainer_mode=no enable_management=yes enable_multihome=yes enable_pam_dlopen=no enable_pedantic=no enable_pf=yes enable_pkcs11=yes enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_server=yes enable_shared=yes enable_shared_with_static_runtimes=no enable_silent_rules=no enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=yes enable_werror=no enable_win32_dll=yes enable_x509_alt_username=yes with_aix_soname=aix with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_sysroot=no<br />

Solution

First, I edited the VPN’s configuration file:

<br />
 sudo vi /etc/NetworkManager/system-connections/COTVPN<br />

As the last line under the [vpn] section, I added the line:

<br />
tls-cipher=DEFAULT:@SECLEVEL=0<br />

Then, I ran this command to reload the configuration:

sudo nmcli connection reload<br />

After that, it worked.

Missing Packages

Note: Earlier, I was getting these messages:

  • VPN plugin at /usr/lib/NetworkManager/nm-iodine-auth-dialog is not executable
  • VPN plugin at /usr/lib/NetworkManager/nm-vpnc-auth-dialog is not executable

I installed these two packages:

  • network-manager-iodine-gnome
  • network-manager-vpnc-gnome

Those two packages fixed those errors.

Resources

Remmina Package Issue

Just after install, I ran into an issue with Remmina not connecting with remote desktop. Come to find out, one of the previous steps I had taken had uninstalled the remmina-plugin-rdp package. I was able to download it and install it, but it broke apt-get.

Here’s the error message:

<br />
sudo apt install remmina remmina-plugin-rdp remmina-plugin-vnc remmina-plugin-nx<br />
[sudo] password for skp:<br />
Reading package lists... Done<br />
Building dependency tree<br />
Reading state information... Done<br />
You might want to run 'apt --fix-broken install' to correct these.<br />
The following packages have unmet dependencies:<br />
 libgoo-canvas-perl : Depends: libextutils-depends-perl but it is not going to be installed<br />
                      Depends: libextutils-pkgconfig-perl but it is not going to be installed<br />
 remmina : Depends: remmina-common (= 1.2.30+ppa201805311012.rabac8fe.dc846e39~ubuntu18.04.1) but 1.2.30+ppa201805301643.rabac8fe.d627b4d9~ubuntu18.04.1 is to be installed<br />
 remmina-plugin-nx : Depends: nxproxy<br />
 remmina-plugin-secret : Depends: remmina (= 1.2.30+ppa201805301643.rabac8fe.d627b4d9~ubuntu18.04.1)<br />
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).<br />

I had previously enabled this repository.
http://ppa.launchpad.net/remmina-ppa-team/remmina-next/ubuntu

That had given me version: 1.2.30.1 (git n/a)

I disabled the repository using the software and updates GUI. Then, I ran these commands:

<br />
sudo apt-get update<br />
sudo apt --fix-broken install<br />

Somehow it was enabled again. So, it seems it is fixed even with that repository.

Resources

Using BMC on my IBM Server

A while ago, I purchased a used IBM server that has been a very nice tool. Here’s the specs:
ibm x3455

I have it hooked up to a battery backup unit, which is connected with the USB cable. When the power goes out for a length of time, it powers the machine into a strange state that I cannot get it out of. The light on the front turns orange, and none of the buttons will reboot it. I have to pull the power cord and wait for it to power down. When I plug it back in, it works fine.

I found that the server does have a BMC built in that is supposed to allow for remote power control. There are several IPMI clients that I can install in Linux that should be able to control it. I was able to set the IP address for the console as well use the username and password in the BIOS of the machine.

Read More

Amazon Chime on Linux

My employer is in the process of signing up for Amazon Chime. The challenge for me is that means I need to be able to communicate with them using the tool on my Ubuntu Desktop. At this point, I’m not sure how that’s going to happen!

My First Reactions

I haven’t had the opportunity to use the tool very much, but we have had a couple of meetings so far. We have been using Zoom and Go To Meeting. Zoom has a client app that you have to install, but they do have a nice Linux client. Go To Meeting does have a nice Web Client. I can share my desktop and connect with my headset just from the webapp with out installing anything. Chime has a webapp, but it is very limited. I can’t use my headset nor share my screen. To me, that’s not acceptable for using with clients.

Attempt on Wine

I tried Scivision’s commands:

<br />
WINEPREFIX=~/.wine_chime WINEARCH=win32 winecfg<br />
WINEPREFIX=~/.wine_chime winetricks dotnet40<br />
WINEPREFIX=~/.wine_chime wine Chime*.exe<br />

I get this error message:

<br />
Unhandled Exception: BibaApplication.ApplicationServices.ApplicationRecoveryException: Failed to Register<br />
   at BibaApplication.ApplicationServices.ApplicationRestartRecoveryManager.RegisterForApplicationRecovery(RecoverySettings settings)<br />
   at BibaApplication.App.OnStartup(StartupEventArgs e)<br />
   at System.Windows.Application.&lt;.ctor&gt;b__1(Object unused)<br />
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br />
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)<br />
   at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)<br />
   at System.Windows.Threading.DispatcherOperation.InvokeImpl()<br />
   at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)<br />

I tried installing these items:

<br />
WINEPREFIX=~/.wine_chime winetricks ie8<br />
WINEPREFIX=~/.wine_chime winetricks mdac28<br />
WINEPREFIX=~/.wine_chime winetricks d3dx11_43<br />
WINEPREFIX=~/.wine_chime winetricks crypt32<br />

None of those seem to have made much difference. It does actually install here:
C:\users\skp\Application Data\Chime\Chime.exe
I can try to launch it with this:

<br />
WINEPREFIX=~/.wine_chime wine 'C:\users\skp\Application Data\Chime\Chime.exe'<br />

But, it fails to run the app itself.

I tried with mono:

<br />
$ mono /home/skp/.wine_chime/drive_c/users/skp/Application\ Data/Chime/Chime.exe<br />
The entry point method could not be loaded due to Could not load file or assembly or one of its dependencies. assembly:PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 type:&lt;unknown type&gt; member:&lt;none&gt;<br />

2nd attempt:

<br />
rm -rf ~/.wine_chime/<br />
WINEPREFIX=~/.wine_chime WINEARCH=win32 winecfg<br />
WINEPREFIX=~/.wine_chime ./winetricks dotnet45<br />
WINEPREFIX=~/.wine_chime ./winetricks ie8<br />
WINEPREFIX=~/.wine_chime wine Chime*.exe<br />

3rd attempt (I found that there is some issue with Winetricks, and it wasn’t really installing dotnet 4.0)

<br />
rm -rf ~/.wine_chime/<br />
WINEPREFIX=~/.wine_chime WINEARCH=win32 wineboot --init<br />
WINEPREFIX=~/.wine_chime wine uninstaller  # uninstall Mono<br />
WINEPREFIX=~/.wine_chime wine ./dotNetFx40_Full_x86_x64.exe<br />
WINEPREFIX=~/.wine_chime ./winetricks ie8<br />
WINEPREFIX=~/.wine_chime ./winetricks settings win10<br />
WINEPREFIX=~/.wine_chime wine Chime*.exe<br />

I had to download the dotnet framework from here:
https://www.microsoft.com/net/download/dotnet-framework-runtime
https://www.microsoft.com/en-US/Download/confirmation.aspx?id=17718

I also tried PlayOnLinux. I got a few more meaniful error messages and it let me try different Wine versions better.

Warning: This seems to have broke my system! XWindows wouldn’t work after this, so I think it was these two packages.

<br />
sudo apt-get install p11-kit:i386<br />
sudo apt-get install libp11-kit-gnome-keyring:i386<br />

In the end, I was not successful. I can’t get any part of Chime to work! Please comment if you get anything.

Resources