Le Thu, Apr 13, 2023 at 05:26:47PM +0200, Landry Breuil a écrit : > Hi, > > here's a port for py-x2go and pyhoca-cli, an alternative to the > fullblown x2goclient QT client, cf > https://wiki.x2go.org/doku.php/doc:usage:pyhoca-cli > > works fine in lightweight testing, feels slower/sluggish but i havent > tried tweaking all the possible options. > > feedback and testing welcome ! i havent ported > https://wiki.x2go.org/doku.php/doc:usage:pyhoca-gui which uses > wxpython..
new versions of the ports, now selfhosting tarballs for git head for both projects, and an extra diff to enable the x2go plugin in remmina. cf https://remmina.org/x2go/ so far i havent been lucky running x2go from remmina, it crashes when spawning the x2go window (which still runs, but remmina dies due to threads/locks ?) feedback still welcome !
pyhoca-cli-x2go_2.tgz
Description: application/tar-gz
? remmina-x2go.diff
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/remmina/Makefile,v
retrieving revision 1.58
diff -u -r1.58 Makefile
--- Makefile 3 Mar 2023 09:47:09 -0000 1.58
+++ Makefile 21 Apr 2023 14:29:02 -0000
@@ -3,6 +3,7 @@
V= 1.4.29
DISTNAME= remmina-${V}
WRKDIST=
${WRKDIR}/Remmina-v${V}-fb19eb5f11f206ffb442a9e0c519cb0f2cb3fd8b
+REVISION = 0
CATEGORIES= x11 net
@@ -12,7 +13,7 @@
PERMIT_PACKAGE= Yes
WANTLIB += ${MODPY_WANTLIB}
-WANTLIB += avahi-client avahi-common avahi-ui-gtk3 c cairo crypto
+WANTLIB += X11 avahi-client avahi-common avahi-ui-gtk3 c cairo crypto
WANTLIB += cups freerdp-client2 freerdp2 gcrypt gdk-3 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gtk-3 intl
WANTLIB += json-glib-1.0 pango-1.0 pthread secret-1 sodium
spice-client-glib-2.0
@@ -44,6 +45,7 @@
RUN_DEPENDS= devel/desktop-file-utils \
devel/py-gobject3${MODPY_FLAVOR} \
misc/shared-mime-info \
+ net/pyhoca-cli${MODPY_FLAVOR} \
x11/gtk+3,-guic
# Appindicator is only used by Ubuntu's Unity.
@@ -52,6 +54,9 @@
-DWITH_UPDATE_DESKTOP_DB=OFF
CFLAGS += -I${X11BASE}/include -I${LOCALBASE}/include
+
+# enable x2go
+CONFIGURE_ARGS += -DWITH_X2GO=ON
# disable phone-home
CONFIGURE_ARGS += -DWITH_NEWS=OFF
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/remmina/pkg/PLIST,v
retrieving revision 1.17
diff -u -r1.17 PLIST
--- pkg/PLIST 3 Mar 2023 09:05:41 -0000 1.17
+++ pkg/PLIST 21 Apr 2023 14:29:02 -0000
@@ -20,6 +20,7 @@
@so lib/remmina/plugins/remmina-plugin-secret.so
@so lib/remmina/plugins/remmina-plugin-spice.so
@so lib/remmina/plugins/remmina-plugin-vnc.so
+@so lib/remmina/plugins/remmina-plugin-x2go.so
@man man/man1/remmina-file-wrapper.1
@man man/man1/remmina.1
share/applications/org.remmina.Remmina-file.desktop
@@ -75,6 +76,8 @@
share/icons/hicolor/scalable/emblems/org.remmina.Remmina-tool-symbolic.svg
share/icons/hicolor/scalable/emblems/org.remmina.Remmina-vnc-ssh-symbolic.svg
share/icons/hicolor/scalable/emblems/org.remmina.Remmina-vnc-symbolic.svg
+share/icons/hicolor/scalable/emblems/org.remmina.Remmina-x2go-ssh-symbolic.svg
+share/icons/hicolor/scalable/emblems/org.remmina.Remmina-x2go-symbolic.svg
share/locale/ar/LC_MESSAGES/remmina.mo
share/locale/ast/LC_MESSAGES/remmina.mo
share/locale/ber/
