Skip to content

How to install GeneralsOnlineZH on linux with steam or proton

Hey there,

finally I've figured out how to play Generals Online under linux using proton or steam.

This is just a copy of my example section for proton.

I have to assume a lot upfront since steam does the heavy lifting of figuring out what software is mandatory.

# Assumed you have protontricks installed
# Assumed you have steam installed
# Assumed you have command and conquer zero hour installed with english language
# Assumed you have started command and conquer at least once before
#   installing generals online
# Assumed you want to install generals online
# Assumed you've downloaded the GeneralsOnline.exe from
#   ref: https://www.playgenerals.online/
protontricks-launch --appid 2732960 "/path/to/the/GeneralsOnline_setup_*.exe"
# Choose "/path/to/steam/steamapps/common/Command & Conquer Generals - Zero Hour/Generals.exe"
# Assumed you want to start your game with mangohud
mangohud protontricks-launch --appid 2732960 "/path/to/steam/steamapps/common/Command & Conquer Generals - Zero Hour/GeneralsOnlineZH.exe"
# Click on Multiplayer->Online and login via steam

That's it. Enjoy it and see you on the battlefield commander!

Nextcloud polls is broken / no poll is loaded / nextcloud.log screams >>unknown config key<<

I am not an heavy user of the nextcloud polls application, so this issue could be an oldie but goldie.

I am working on a nextcloud version 30.0.5.1 and I wanted to create a poll.

First discovery, all polls are gone and I was not able to configure anything Preference section. A tail on the nextcloud.log told me that apps/polls/lib/Controller/PollController.php is producing a unknown config key log entry.

Long story short, this link from the closed issue/3806 pointed me to the right direct.
Logged in as admin, I've opened the settings/admin/polls and disabled and enabled the Enable the poll creation globally option. After that and a page reload as a user, almost all is working fine. There is only one open issue with the "copy link to clipboard" option :-.

Fixing: >>cachyos error: archlinux-keyring signature from christian hesse is unknonw trust<<

I wanted to install cachyos from medium cachyos-kde-linux-240609.iso and on multiple systems and everytime the installer failed with the following error:

cachyos error: archlinux-keyring signature from christian hesse is unknonw trust

How where I able to fix it?

I've opened the terminal and ran the following commands:

sudo pacman-key --refresh-keys sudo pacman-key --populate sudo pacman -S archlinux-keyring

After that, the installation runs through without any issues.

How to use sshfs under windows to mount a filesystem via a BastionHost/JumpHost

Today, I had the "joy" to work on a linux machine and edit a lot of files. The problem is, I had to use a Windows 10 as host OS.
Furthermore, the remote machine was available only via a bastion host/jump host. So it took me some time to make this possible.

I was not able to make sshfs-win working. WinSCP is a fallback option but this would result in edit a file -> save a file -> upload a file. I wanted to avoid the step upload a file.

What comes after this line is a snapshot of my created howto. I hope it will save you some time. It took me a lot to figure it out.

Given is, that you need to mount a filesystem via sshfs.

Following up, I will provide a guide how to do this by using a Windows 10 machine.

Bonus task, we are using a jumphost.

Steps

1.) Ensure you are running wsl2

  • wsl1 does not have a working fuse
  • Open a powershell and run wsl --list --verbose
  • If the VERSION says something bigger 1, you are fine
  • Else
    • Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
    • Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
    • Download wsl_update_x64.msi from https://aka.ms/wsl2kernel
    • Install the msi
    • wsl --set-version <string: Distro like Debian> 2
    • Wait
    • wsl --list --verbose should output something like 2 in column VERSION

2.) Ensure you've sshfs installed

  • Open the shell to your wsl linux
  • test -f /usr/bin/sshfs && echo "sshfs already installed" || sudo apt install sshfs -y

3.) Configure your ssh

  • Open the shell to your wsl linux
  • test -d ~/.ssh || mkdir ~/.ssh;
  • Add content like the following in your ~/.ssh/config file
  • sudo bash -c "echo '#enable option' >> /etc/fuse.conf"
  • sudo bash -c "echo 'user_allow_other' >> /etc/fuse.conf"

Example content of the ssh config file

HOST my.main.host-username
  HostName my.main.host
  ProxyJump my.bastion.host-username
  User username
  #optional but recommended
  IdentityFile ~/.ssh/my_private_key

HOST my.bastion.host-username
  HostName my.bastion.host
  User username
  #optional but recommended
  IdentityFile ~/.ssh/my_private_key

4.) Mount and umount the filesystem

  • You can add the following lines to your alias
  • Assumed is, that the path ~/network/host.main.my exists
  • ssh my.main.host-username
  • id -a
  • exit
  • Not down the number for uid and gid
    • Example:
    • For the output uid=1337(artodeto) gid=4711(bazzline) groups=...
    • uid is 1337
    • gid is 4711
  • mount: sshfs -o ProxyJump=my.bastion.host-username,allow_other,uid=<int: number>,gid=<int: number> my.main.host-username:/my/path ~/network/host.main.my