Subject: KDE needs pty to work.

From: Arne Wichmann <[email-masked]>
Date: Sun, 1 Dec 2024 19:54:03 +0100

Package: x2gobroker-agent
Version: 0.0.4.3-4

Hello.

We had some problems getting KDE to work with x2gobroker-agent.pl . They
could be solved by allowing PTY's like in the appended patch:

--- x2gobroker-agent.pl 2024-08-19 12:47:08.593650476 +0200
+++ x2gobroker-agent.pl.distrib 2023-05-19 10:54:13.000000000 +0200
@@ -90,9 +90,6 @@
 {
        my ($uid, $uidNumber, $gidNumber, $home, $pubkey, $authkeyfile)=@_;

-       #martin allow pty, kde isnt running otherwise
-       $pubkey =~ s/no-pty,//;
-
        # rewrite %%, %u, %U, %G and %h in authkeyfile string
        $authkeyfile =~ s/%u/$uid/;
        $authkeyfile =~ s/%U/$uidNumber/;
@@ -125,9 +122,6 @@
 {
        my ($uid, $uidNumber, $gidNumber, $home, $pubkey, $authkeyfile)=@_;

-       #martin allow pty, kde isnt running otherwise
-       $pubkey =~ s/no-pty,//;
-
        # rewrite %%, %u, %U, %G and %h in authkeyfile string
        $authkeyfile =~ s/%u/$uid/;
        $authkeyfile =~ s/%U/$uidNumber/;
---

cu

AW
-- 
Arne Wichmann, Försterstraße 32, 66111 Saarbrücken