Bug 473501 - SSH_AUTH_SOCK is empty if Konsole is launched by Ctrl+Alt+T
Summary: SSH_AUTH_SOCK is empty if Konsole is launched by Ctrl+Alt+T
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-18 09:14 UTC by Pellaeon Lin
Modified: 2023-09-21 03:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pellaeon Lin 2023-08-18 09:14:03 UTC
SUMMARY

SSH_AUTH_SOCK is empty if Konsole is launched by Ctrl+Alt+T. SSH_AUTH_SOCK is set normally if Konsole is launched from the start menu.

In Yakuake the variable is also set normally.

STEPS TO REPRODUCE
1. Press Ctrl+Alt+T to launch Konsole
2. run `echo $SSH_AUTH_SOCK`

OBSERVED RESULT
$SSH_AUTH_SOCK is not set

EXPECTED RESULT
$SSH_AUTH_SOCK should be set. In my case it should be set to `/run/user/1000/openssh_agent`


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 23.04
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

This bug only occurs in Wayland, not X11.
Comment 1 Ben Bonacci 2023-08-22 11:34:03 UTC
I could not reproduce this bug with the provided instructions. Is your SSH agent set up correctly and Konsole is using the right profile? Does this behavior continue with a different terminal emulator or tty? 
I suspect this might be a configuration problem not related to Konsole.
Comment 2 Bug Janitor Service 2023-09-06 03:45:23 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2023-09-21 03:46:19 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!