Putty prematurely terminates when clicking the Connect button while running in a Wayland session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
putty (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
## Bug reproducing instructions
1. Ensure you're in a Wayland session.
2. Launch a text terminal emulator.
3. Run the `putty` command to launch Putty.
4. In the "Session > Specify the destination you want to connect to" panel, type any character into the "Host Name (or IP address)" field, then click the "Open" button at the bottom.
## Current behavior
The application window will close with the "1" exit status code. In the text terminal emulator, the following error message is printed:
```text
PuTTY: unable to load font "server:fixed"
```
If you launch Putty using the following command(forcing it to be run on XWayland), the problem will no longer be reproduced:
```sh
env GDK_BACKEND=x11 putty
```
This bug has already been fixed in the Fedora packaging: <https:/
## Expected behavior
No crashes.
## Additional information
### OS release
Ubuntu 24.04
### Processor architecture
AMD64
### Desktop environment
KDE Plasma
### Putty version
```text
PuTTY: Release 0.81
Build platform: 64-bit Unix (GTK + X11)
Compiler: gcc 13.2.0
Compiled against GTK version 3.24.41
Source commit: a8601a72a918dfc
```
### `putty` package version
0.81-1
### Locale settings
```sh
LANG=zh_TW.UTF-8
LANGUAGE=
LC_CTYPE=
LC_NUMERIC=
LC_TIME=zh_TW.UTF-8
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=zh_TW.UTF-8
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATI
LC_ALL=
```
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: putty 0.81-1
ProcVersionSign
Uname: Linux 6.11.0-21-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Sun Apr 13 19:51:55 2025
InstallationDate: Installed on 2025-02-04 (68 days ago)
InstallationMedia: Ubuntu 24.04.1 LTS "Noble Numbat" - Release amd64 (20240827.1)
SourcePackage: putty
UpgradeStatus: No upgrade log present (probably fresh install)
I believe this is fixed more thoroughly upstream as of version 0.83. /git.tartarus. org/?p= simon/putty. git;a=commit; h=b088d77d580b8 f7e01482aa184db 6cf3b46d74eb /git.tartarus. org/?p= simon/putty. git;a=commit; h=7f4cccde2ae53 c083ababaaea19b e4a9c45b7091 /git.tartarus. org/?p= simon/putty. git;a=commit; h=6155365076c47 a852d9d4e3e0a43 7787ac747d28 /git.tartarus. org/?p= simon/putty. git;a=commit; h=293be04298e91 b0b0a86230df60e 72346da9987f )
(relevant commits: on main:
https:/
https:/
https:/
all cherry-picked on 0.83 release branch as
https:/