Git Product home page Git Product logo

lxc-guac-setup's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lxc-guac-setup's Issues

TOTP not registering after first start

TOTP not registering after first start

Debian 10, up to date (2024/02/10)
Fresh install using the documentation, only the Guacamole part. I'm using this nginx conf for now. I've already have a separate Nginx server.

First login using guacadmin/guacadmin, land on the totp page. scan the QR on my TOTP app, register the code.
Not working, get a Verification failed.

Updated instructions

First off, your instructions totally saved me from a disastrous day.

But I did have to make some tweaks to get it to work, possibly because things have changed a bit over 2 years. I was working with Proxmox 7.2, and the below command doesn't work on Debian 10 anymore.

add-apt-repository ppa:remmina-ppa-team/freerdp-daily

Doesn't add properly in Debian 10, I kept getting a stack trace error. I specifically was using the debian-10-standard_10.7-1_amd64.tar.gz template.

Instead, based on instructions provided by MysticRyuujin who wrote the guac-installer script, this is the command set that should be used:

apt update && apt upgrade
apt install software-properties-common gnupg sudo
sudo bash -c 'echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list.d/backports.list'
sudo apt update && sudo apt -y -t buster-backports install freerdp2-dev libpulse-dev freerdp2-x11
adduser remotegod
usermod -aG sudo remotegod
systemctl reboot

Also, in your instructions you didn't mention either setting the container to DHCP or defining a static IP and Gateway, so took me a bit to figure out why my container didn't have a network connection. (This was my first time spinning up an LXC container)

And incase you want to add some more ways to ingress, here's the Kubernetes Traefik ingress that I use

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: guacamole
  namespace: networking
  annotations:
    coredns.io/hostname: "guac.${SECRET_DEV_DOMAIN}"
    cert-manager.io/cluster-issuer: letsencrypt-production
    traefik.ingress.kubernetes.io/router.entrypoints: "websecure"
    traefik.ingress.kubernetes.io/router.middlewares: networking-chain-guacamole@kubernetescrd
spec:
  ingressClassName: traefik
  rules:
    - host: &host "guac.${SECRET_DEV_DOMAIN}"
      http:
        paths:
          - backend:
              service:
                name: guacamole
                port:
                  number: 80
            path: /
            pathType: Prefix
  tls:
    - hosts:
        - *host
      secretName: *host
---
apiVersion: v1
kind: Service
metadata:
  name: guacamole
  namespace: networking
spec:
  ports:
    - port: 80
      protocol: TCP
      targetPort: 8080
---
apiVersion: v1
kind: Endpoints
metadata:
  name: guacamole
  namespace: networking
subsets:
  - addresses:
      - ip: "192.168.xxx.xxx"
    ports:
      - port: 8080
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: middlewares-guacamole-addprefix
  namespace: networking
spec:
  addPrefix:
    prefix: "/guacamole"
---
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: chain-guacamole
  namespace: networking
spec:
  chain:
    middlewares:
      - name: middlewares-guacamole-addprefix  # this might not be needed for 1.4.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.