Open AbrahamCornell opened 2 years ago
Try this:
sudo snap start ike-qt-lts
/snap/bin/ike-qt-lts.qikea
I was confused first too but those two commands worked for me. I am using Ubuntu 20.04 LTS.
Try this:
sudo snap start ike-qt-lts
/snap/bin/ike-qt-lts.qikea
I was confused first too but those two commands worked for me. I am using Ubuntu 20.04 LTS.
Thanks @FrittenLoverMarvin, that works! The GUI opens. 👍
I got to the UI screen thanks to @FrittenLoverMarvin too but when I import a .vpn file and try to open the connection it does not react.
This is in the terminal:
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules" Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate' Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector' Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version' Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/10-hinting-slight.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/30-metric-aliases.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/40-nonlatin.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/45-generic.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/45-latin.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/49-sansserif.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/50-user.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/51-local.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/60-generic.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/60-latin.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 34: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 35: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 36: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/65-fonts-persian.conf", line 36: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/65-nonlatin.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/69-unifont.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/69-unifont.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/70-no-bitmaps.conf", line 8: unknown element "description" Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/80-delicious.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/80-delicious.conf", line 6: invalid attribute 'version' Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 4: unknown element "its:rules" Fontconfig warning: "/etc/fonts/conf.d/90-synthetic.conf", line 5: unknown element "its:translateRule" Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'translate' Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 5: invalid attribute 'selector' Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'xmlns:its' Fontconfig error: "/etc/fonts/conf.d/90-synthetic.conf", line 6: invalid attribute 'version' Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf QGtkStyle could not resolve GTK. Make sure you have installed the proper libraries. Qt: Session management error: Could not open network socket
Try this:
sudo snap start ike-qt-lts
/snap/bin/ike-qt-lts.qikea
I was confused first too but those two commands worked for me. I am using Ubuntu 20.04 LTS.
i can start the gui with sudo /snap/bin/ike-qt.qikea but i cannot create or import any vpn profile and save it. I get there error in syslog:
Oct 17 10:12:28 spicelab kernel: [ 795.932811] audit: type=1400 audit(1665994348.053:314): apparmor="DENIED" operation="capable" profile="snap.ike-qt.qikea" pid=5372 comm="qikea" capability=23 capname="sys_nice"
Try this:
sudo snap start ike-qt-lts
/snap/bin/ike-qt-lts.qikea
I was confused first too but those two commands worked for me. I am using Ubuntu 20.04 LTS.i can start the gui with sudo /snap/bin/ike-qt.qikea but i cannot create or import any vpn profile and save it. I get there error in syslog:
Oct 17 10:12:28 spicelab kernel: [ 795.932811] audit: type=1400 audit(1665994348.053:314): apparmor="DENIED" operation="capable" profile="snap.ike-qt.qikea" pid=5372 comm="qikea" capability=23 capname="sys_nice"
Did you find a workaround in the meantime, @phimic?
Try this:
sudo snap start ike-qt-lts
/snap/bin/ike-qt-lts.qikea
I was confused first too but those two commands worked for me. I am using Ubuntu 20.04 LTS.i can start the gui with sudo /snap/bin/ike-qt.qikea but i cannot create or import any vpn profile and save it. I get there error in syslog:
Oct 17 10:12:28 spicelab kernel: [ 795.932811] audit: type=1400 audit(1665994348.053:314): apparmor="DENIED" operation="capable" profile="snap.ike-qt.qikea" pid=5372 comm="qikea" capability=23 capname="sys_nice"
Did you find a workaround in the meantime, @phimic?
i did the followoing:
# clone git repo xlinuxmanx/ike
git clone https://github.com/xlinuxmanx/ike.git
# rm snapcraft file in snap dir
cd snap && rm snapcraft.yaml
# apply patch
wget https://raw.githubusercontent.com/tomchiverton/ike/ff7893b4e198bf1a3abbc42c803efaabdfe036cf/snap/snapcraft.yaml
# install snapcraft
sudo snap install scnapcraft
# run snapcraft in working dir
sudo snapcraft
# install snap with devmode flag
sudo install --devmode ./ike-qt-lts_2.2.1_amd64.snap
# create config
sudo touch /etc/iked.conf
sudo nano /etc/iked.conf:
#
# sample client iked.conf file
#
daemon
{
# bind to ports
socket ike 500;
socket natt 4500;
# log output
log_level error;
log_file "/var/log/iked.log";
# pcap_decrypt "/var/log/ike-decrypt.pcap";
# pcap_encrypt "/var/log/ike-encrypt.pcap";
# retry settings
retry_delay 10;
retry_count 2;
}
# start ike daemon
sudo snap run ike-qt-lts.iked
# create snap alias
sudo snap alias ike-qt-lts.qikea qikea
# finally start the GUI
sudo qikea
i hope this helps!
Regards, Phiilipp
Try this:
sudo snap start ike-qt-lts
/snap/bin/ike-qt-lts.qikea
I was confused first too but those two commands worked for me. I am using Ubuntu 20.04 LTS.i can start the gui with sudo /snap/bin/ike-qt.qikea but i cannot create or import any vpn profile and save it. I get there error in syslog:
Oct 17 10:12:28 spicelab kernel: [ 795.932811] audit: type=1400 audit(1665994348.053:314): apparmor="DENIED" operation="capable" profile="snap.ike-qt.qikea" pid=5372 comm="qikea" capability=23 capname="sys_nice"
Did you find a workaround in the meantime, @phimic?
i did the followoing:
# clone git repo xlinuxmanx/ike git clone https://github.com/xlinuxmanx/ike.git # rm snapcraft file in snap dir cd snap && rm snapcraft.yaml # apply patch wget https://raw.githubusercontent.com/tomchiverton/ike/ff7893b4e198bf1a3abbc42c803efaabdfe036cf/snap/snapcraft.yaml # install snapcraft sudo snap install scnapcraft # run snapcraft in working dir sudo snapcraft # install snap with devmode flag sudo install --devmode ./ike-qt-lts_2.2.1_amd64.snap # create config sudo touch /etc/iked.conf sudo nano /etc/iked.conf: # # sample client iked.conf file # daemon { # bind to ports socket ike 500; socket natt 4500; # log output log_level error; log_file "/var/log/iked.log"; # pcap_decrypt "/var/log/ike-decrypt.pcap"; # pcap_encrypt "/var/log/ike-encrypt.pcap"; # retry settings retry_delay 10; retry_count 2; } # start ike daemon sudo snap run ike-qt-lts.iked # create snap alias sudo snap alias ike-qt-lts.qikea qikea # finally start the GUI sudo qikea
i hope this helps!
Regards, Phiilipp
Thanks x1000, this really helped. If you don't really need apparmor on the VM, you can also use this to disable it:
#https://gist.github.com/shqear93/8be4c58adff3c27f53096105e6ca2c7b
sudo mkdir -p /etc/default/grub.d
echo 'GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT apparmor=0"' \
| sudo tee /etc/default/grub.d/apparmor.cfg
sudo update-grub
sudo reboot
Then, install it normally:
sudo snap install ike-qt-lts
sudo touch /etc/iked.conf
sudo snap run ike-qt-lts.iked
sudo snap alias ike-qt-lts.qikea qikea
sudo qikea
I recently added the similar approach that works for me to the fork @ https://github.com/tomchiverton/ike/wiki
Hey there, do you have an idiot-proof manual about getting this to work?
I just have a PDF from a Fritz!Box 7490 and no clue how to go on.
Using the Ubuntu Store on Ubuntu 22.04 LTS I installed https://snapcraft.io/ike-qt-lts and tried
sudo snap start ike-qt
in the terminal but I do not see the graphical interface. 🤔 Maybe @tomchiverton knows something too.Thanks!