Giter VIP home page Giter VIP logo

lxqt-openssh-askpass's Introduction

LXQt

LXQt is the next generation of LXDE, the Lightweight Desktop Environment. It is the product of the merge between Razor-qt and LXDE-Qt.

About this repository

This is a superproject which contains all LXQt components. After checking out this repo please do the following to initialize git submodules.

git submodule init
git submodule update --remote --rebase

Note: We require git >= 1.8.5

Contributing

If you are interested in helping or joining LXQt, please take a look at our CONTRIBUTING document

Translation

Translations can be done in LXQt-Weblate.

Translation status
Translation status

lxqt-openssh-askpass's People

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lxqt-openssh-askpass's Issues

Use Wayland, not X11/XWayland

Expected Behavior

Unlike x11-ssh-askpass, lxqt-openssh-askpass should display using wayland.

Current Behavior

Despite being a Qt application, it needs X11/XWayland to display.
2022-10-24-13:49:33:43:754541215-424x128_grim
2022-10-24-13:48:26:43:409000531-436x169_grim

Possible Solution

¯\_(ツ)_/¯

Steps to Reproduce (for bugs)
  1. Use a Wayland DE like Sway
  2. Set SSH_ASKPASS=lxqt-openssh-askpass and restart ssh-agent
  3. Trigger an askpass situation and notice that the dialog opens with XWayland
  4. One could use xeyes to verify it
Context

I'm trying to use a pure Wayland environment, but there are some leftover programs that require XWayland to function.

System Information
  • Distribution & Version: Archlinux
  • Kernel: 6.0.2.zen1-1
  • Qt Version: 5.15.6+kde+r180-2 / 6.4.0-2
  • liblxqt Version: 1.1.0-3
  • lxqt-build-tools Version: N/A
  • Package version: 1.1.0-1

systemctl service

Hello,

I found instructions given here don't work re path to SSH agent socket: https://github.com/lxqt/lxqt-openssh-askpass/blob/master/README.md

The reason for this is that if the service is started by systemctl as root, only root can read or write to the socket. I found this works:

[Unit]
Description=LXQT ssh agent

[Service]
Type=forking
ExecStart=/bin/su - myusername -c '/usr/bin/ssh-agent -a /run/user/1005/ssh-agent'

[Install]
WantedBy=default.target

In version 2.0.0 the input field is not focused automatically

With version 2.0.0, lxqt-openssh-askpass does not focus the input text field automatically anymore. This is the place where one types the password. The OK button is focused instead. Now one has to press TAB twice to reach the text input field in order to type the password.

Screenshot from 2024-05-11 12-44-08

Tested in labwc-0.7.2 and in LXQt with Openbox.

Expected Behavior

When the lxqt-openssh-askpass application is launched and focused by the window manager, the text input field where one types the passwords should be focused.

Current Behavior

Instead, the OK button is focused.

Possible Solution

Maybe it is related to the migration to Qt6.

Steps to Reproduce (for bugs)

Launch lxqt-openssh-askpass from a terminal and see that the OK button is focused.

Context

I use the application for authentication for some applications, and I have to hit two more keystrokes (TAB) in order to reach the text input field prior to typing the password.

System Information
  • Distribution & Version: NixOS unstable
  • Kernel: Linux 6.8.9
  • Qt Version: 6.7.0
  • liblxqt Version: 2.0.0
  • lxqt-build-tools Version: 2.0.0
  • Package version: 2.0.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.