Re: [X2Go-User] error
On Sat, 27 Jan 2024 11:55:36 +0100 richard lucassen wrote: > On one of my laptops I am not able to set up a connection to the x2go > server. When starting a custom desktop: > > ssh-agent startx wmaker Mea culpa: NO startx in the command: ssh-agent wmaker R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] error
On one of my laptops I am not able to set up a connection to the x2go server. When starting a custom desktop: ssh-agent startx wmaker I get the black "x2go" screen and then crash. I see this in the logs: daemon.warn: Jan 26 11:41:54 /usr/libexec/WindowMaker/wmaker[483025]: (catchXError(startup.c:118)): warning: internal X error: RenderBadPicture (invalid Picture parameter) Request code: 139 Request minor code: 7 Resource ID: 0x4009d9 Error serial: 28162 I have more clients with the same version 4.1.2.2-2+b1 (Debian Testing) that connect to the same server and do not suffer from this issue. It is not an x2go problem AFAIK, but can anyone give me a hint where to start looking for a solution? Richard. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] Debian resume does not work anymore after update to 4.1.0.6
Client and server "Debian Testing" This morning I got server version 4.1.0.6 using apt. When connecting using client 4.1.2.3-1 it works, but after a resume the client says that the session is still running so the only way to get back to the server is to terminate the session and to create a new one. I downgraded the server to 4.1.0.3-7+deb12u1 and resuming works again. I run a command x environment: /usr/bin/ssh-agent /usr/bin/wmaker I'm at 1000km away from the server and as I use x2go all the time, so I won't be able for the moment to run some tests. Just FYI for the moment. I put these packages on hold: # apt-mark hold libx2go-config-perl libx2go-log-perl libx2go-server-db-perl libx2go-server-perl libx2go-utils-perl x2goserver x2goserver-common x2goserver-extensions x2goserver-x2goagent x2goserver-xsession in order to stay with version 4.1.0.3-7+deb12u1. Richard. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] x2go upgrade issues (packages with unmet dependencies)
On Thu, 1 Jun 2023 09:17:38 +0200 Stefan Baur wrote: > > I resolved this issue (Debian testing aka Bookworm) by using the > > Saimaa version: > > > > $ cat /etc/apt/sources.list.d/x2go.list > > debhttp://packages.x2go.org/debian bookworm extras saimaa > > > > Maybe this will also do the job for Ubuntu. > > Lacking an affected system to try, I don't know if it will help. > Also, there may be consequences, like if you want to switch back to > the stable repo some time later might require removing or even > purging all x2go- and nx-related packages. > > That said, the PPA for saimaa can be added like so: > > sudo add-apt-repository ppa:x2go/saimaa > sudo apt update > > Note that you might also have to remove the x2go-stable repo before > the switch to saimaa becomes active - as I said, I do not have an > affected system so I cannot test it myself. > > The commands to do that are: > sudo apt-add-repository -r ppa:x2go/stable # note the "-r" > sudo apt update. I forgot to mention that I uninstalled x2go before adding the saimaa repository. R. -- Richard Lucassen ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] APT broke X2Go,. Now neither work at all.
On Wed, 31 May 2023 11:30:11 -0400 Doug Awapwap wrote: [ 8< ] I seem to keep getting the same error with ANY use of apt now. > > How can I fix this? See my reply to Mihai Moldovan -- Richard Lucassen ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] x2go upgrade issues (packages with unmet dependencies)
On Wed, 31 May 2023 13:30:21 +0200 Mihai Moldovan wrote: > > We have this remote desktop (with x2go-server running there): > > > > * Operating System: Kubuntu 20.04 > > * KDE Plasma Version: 5.18.8 > > * KDE Frameworks Version: 5.68.0 > > * Qt Version: 5.12.8 > > * Kernel Version: 5.4.0-147-generic > > * OS Type: 64-bit > > * Processors: 12 × AMD Ryzen 5 3600 6-Core Processor > > * Memory: 62,8 GiB > > > > During package update we got: > > > >> E: > >> /var/cache/apt/archives/libx2go-server-perl_4.1.0.4-0~1975~ubuntu20.04.1_all.deb: > >> trying to overwrite '/usr/share/man/man3/X2Go::Utils.3pm.gz', > >> which is also in package libx2go-utils-perl 4.1.0.3-5 > > In particular: > > Thanks for the report. > > > You won't be able to upgrade X2Go packages just yet. The new version > of X2Go Server depends upon KDrive components that are currently > unreleased, so you'll have X2Go Server subpackages that won't be > upgradeable. I have to throw out a barrage of other releases to bring > this into an consistent state, but that will probably not be finished > until the end of this week or next week (just because it's a lot of > work and requires a lot of testing and building). I resolved this issue (Debian testing aka Bookworm) by using the Saimaa version: $ cat /etc/apt/sources.list.d/x2go.list deb http://packages.x2go.org/debian bookworm extras saimaa Maybe this will also do the job for Ubuntu. R. -- Richard Lucassen ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] [Debian repository] stable link points to buster instead of bullseye
On Thu, 19 May 2022 09:33:37 +0200 Mihai Moldovan wrote: > > I think there the "stable" link points to buster: > > > > http://packages.x2go.org/debian/dists/ > > Ah, I forgot to change the symlinks when changing the configuration > file. > > This said, the links and configs are often outdated. > > Please don't *ever* use keywords such as stable, oldstable or > testing. Always use the proper codename, like buster, bullseye or the > like. Unstable and sid are not moving targets, so both are fine, but > everything else can vary in a bad way. Codenames are guaranteed to be > stable, while keywords are moving targets. Then I'd remove the links completely although this is not very Debianish. Or you keep the links and you will be remembered by a post on this mailinglist ;-) R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] [Debian repository] stable link points to buster instead of bullseye
@ the Debian repository admin: When running "apt update" I get this warning: W: Conflicting distribution: http://packages.x2go.org/debian stable InRelease (expected stable but got buster) In /etc/apt/sources.list.d/x2go.list I have: deb http://packages.x2go.org/debian stable main I think there the "stable" link points to buster: http://packages.x2go.org/debian/dists/ R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] x2go server on debian: readonly partition
On Mon, 2 May 2022 15:23:06 +0200 Hanno Foest wrote: > > The reason I use a subdir on /tmp is that if you write in /tmp > > the /tmp dir itself is modified (run 'stat /tmp/') and now > > everything takes place on a ramdisk. > > In general, that step should not be necessary. The /tmp dir itself is > not updated, just the mounted filesystem is. You only see the /tmp dir > itself when you unmount the file system again. For example: > > [root@ ~]# stat /mnt > ... > Change: 2022-05-02 14:23:55.0 +0200 > [root@ ~]# umount /mnt > [root@ ~]# stat /mnt > ... > Change: 2021-01-06 16:44:39.735500911 +0100 Yep, you're right, thnx for pointing this out! R. -- richard lucassen https://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] x2go server on debian: readonly partition
On Mon, 2 May 2022 08:44:34 +0530 Vikas Rawal wrote: > > To mitigate the issue, I would suggest using tmpfs for /tmp - RAM > > does not wear out. > > Could one specify where x2go keeps its tmp files? In that case, a > separate tmpfs mount for it would solve the problem. Unless keeping > all of /tmp on a tmpfs is recommended. As said before, x2gocleansessions writes 4 files to /tmp each 2 seconds. What I did is add a TMPDIR variable to the shell init script (I run sysV): /etc/init.d/x2goserver mkdir -p -m 700 /tmp/x2go export TMPDIR=/tmp/x2go The reason I use a subdir on /tmp is that if you write in /tmp the /tmp dir itself is modified (run 'stat /tmp/') and now everything takes place on a ramdisk. And /tmp/ runs on tmpfs in /etc/fstab: tmpfs /tmp tmpfs defaults 0 0 Maybe you may want to create a wrapper script in case you do not run sysV. R. -- richard lucassen https://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] x2go server on debian: readonly partition
On Sun, 1 May 2022 17:38:49 +0200 Hanno Foest wrote: > Did you check if /tmp/ is really read-only when that happens? If it > is, you need to find out why. I don't know how x2go could make it ro, > so there's likey a different reason for it. If /tmp/ is on the root file system and there is some error somewhere, the root fs remounts ro. This is the default in Debian: $ grep error /etc/fstab /dev/sda3 / ext4 discard,noatime,nodiratime,errors=remount-ro 0 1 It's the "errors=remount-ro" option. R. -- richard lucassen https://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] packages.x2go.org ipv6 problem
I have no idea where to report but the ipv6 stack of packages.x2go.org does not reply: $ host packages.x2go.org packages.x2go.org is an alias for ymir.das-netzwerkteam.de. ymir.das-netzwerkteam.de has address 148.251.201.107 ymir.das-netzwerkteam.de has IPv6 address 2a01:4f8:202:1381::107 $ telnet packages.x2go.org 80 Trying 2a01:4f8:202:1381::107... ^C $ telnet -4 packages.x2go.org 80 Trying 148.251.201.107... Connected to ymir.das-netzwerkteam.de. Escape character is '^]'. ^] telnet> q Connection closed. R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Questions regarding features and configuration advice of X2go
On Tue, 21 Dec 2021 08:23:30 +0100 Jörg Kastning wrote: > @richard: Do you use this config with X2Go? Does it work? No, that just a sample of another config! I use x2go as single user. R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Questions regarding features and configuration advice of X2go
On Mon, 20 Dec 2021 17:44:06 +0100 Stefan Baur wrote: > > see "man authorized_keys" > > That's all fine for non-interactive commands or simple scripts. But > have you tried to use this with X2Go? No need for it, and for x2go I'm the only (happy) user :-) -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Questions regarding features and configuration advice of X2go
On Mon, 20 Dec 2021 16:53:44 +0100 Ulrich Sibiller wrote: > > I have no complete answer to it, but if you use keys instead of > > user/pass then you will be able to restrict ssh in > > ~/.ssh/authorized_keys > > > > from="1.2.3.4,2.3.4.5,9.8.7.6",no-port-forwarding,command="/path/to/script",no-X11-forwarding,no-agent-forwarding,no-pty > > ssh-rsa > > > > (all in 1 line) > > > > This is an example of what I use here, I think there must be many > > other options available. > > Although I only have used it with keys so far it seems not to be > restricted to keys only, see man sshd_config: > ForceCommand > Forces the execution of the command specified by > ForceCommand, ignoring any command supplied by the client and > ~/.ssh/rc if present. The command is invoked by using the user's > login shell > with the -c option. This applies to shell, command, or > subsystem execution. It is most useful inside a Match block. The > command originally supplied by the client is available in the > SSH_ORIGINAL_COMMAND environment variable. Specifying a > command of internal-sftp will force the use of an in-process SFTP > server that requires no support files when used with > ChrootDirectory. The default is none. Ok, thnx Uli for pointing this out. I'm not an authorized_keys expert ;-) R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Questions regarding features and configuration advice of X2go
On Mon, 20 Dec 2021 12:15:01 +0100 Stefan Baur wrote: > In short: forget about it. If you're allowing users SSH access for > X2Go, they WILL be able to copy data. You can make it a little harder > for them if you think you have to, but as long as they are in control > of the client hardware, they will always be able to do so. I have no complete answer to it, but if you use keys instead of user/pass then you will be able to restrict ssh in ~/.ssh/authorized_keys from="1.2.3.4,2.3.4.5,9.8.7.6",no-port-forwarding,command="/path/to/script",no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa (all in 1 line) This is an example of what I use here, I think there must be many other options available. see "man authorized_keys" HTH R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] screensaver
On Sun, 17 Oct 2021 11:48:55 +0200 richard lucassen wrote: > xset s noblank xset s off is better :) -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] screensaver
On Sun, 17 Oct 2021 10:53:50 +0200 Ulrich Sibiller wrote: Well, I did not know that xset has a default. Normally I use "xscreensaver" but not on the x2go server. I ran: xset s noblank I'll see what will happen in 10 minutes :) Thnx! R. > Probably the default screenblanker. Check with xset q. > > Uli > > richard lucassen schrieb am Sa., 16. Okt. > 2021, 22:45: > > > Hello list, > > > > After some minutes of inactivity the x2go session switches to a > > black screen. I run WindowMaker in a session (custom mode), but > > there is no active screensaver AFAICS. > > > > Is this probably x2go behaviour? > > > > R. > > > > -- > > richard lucassen > > http://contact.xaq.nl/ > > ___ > > x2go-user mailing list > > x2go-user@lists.x2go.org > > https://lists.x2go.org/listinfo/x2go-user > > -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] stable version Debian packages
On: http://packages.x2go.org/debian/dists/ The "stable" directory still points to "Buster" but should point to "Bullseye". Same goes for the other (I suppose) symlinks. There should be a new directory for "testing": Bookworm. R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] screensaver
Hello list, After some minutes of inactivity the x2go session switches to a black screen. I run WindowMaker in a session (custom mode), but there is no active screensaver AFAICS. Is this probably x2go behaviour? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] Error binding localhost
I work with x2go for many weeks and regularly put the session in "pause". This normally works well, but sometimes (randomly) I get, when resuming: Unable to create SSH tunnel for X2Go session (NX) startup: Error binding localhost: I cannot find anything about this issue in .xsession-x2go-x2go-errors. There is nothing listening on localhost: as reported and IIRC a new session after a reboot starts with display :50 but apparently it has changed to :51 What can I do to debug this? For the moment I reboot the box (lazy) as all processes are still running. R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] script after resume
On Mon, 19 Jul 2021 09:23:13 +0200 Simon Beißer wrote: > Install the package "x2goserver-extensions" and save the script under > "/usr/lib/x2go/extensions/post-resume.d/". > This is how we do it. Thnx! I just installed the package :) -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] script after resume
Hello list, Is there a way to run a script after resuming a paused session? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] bell
On Wed, 30 Jun 2021 08:28:48 +0200 Ulrich Sibiller wrote: > Well, I guess you have ""use system sound for bell" or similar > activated in your remote desktop environment. Or maybe check if one of > these options helps: > https://superuser.com/questions/1108120/how-to-disable-bash-on-windows-notification-sound-effect Uli, you're great :-) echo "set bell-style none" >> ~/.inputrc did the job. R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] bell
On Tue, 29 Jun 2021 11:34:57 +0200 Ulrich Sibiller wrote: > What do you mean by "still works"? What does xset q say? > > $ xset q | grep bell > bell percent: 50bell pitch: 400bell duration: 100 > $ xset b off > $ xset q | grep bell > bell percent: 0bell pitch: 400bell duration: 100 $ xset q | grep bell bell percent: 0bell pitch: 400bell duration: 100 But if I press e.g. at the prompt, I still hear . -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] bell
I run x2go server (custom: /usr/bin/wmaker). When starting WindowMaker I run: xset b off which should switch off the bell. But quite often the bell still works, even after logging out and in. Anyone a hint? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mouse 1 cm too low
On Sat, 17 Apr 2021 18:55:43 +0200 Ulrich Sibiller wrote: > Good to hear that! It works like a charm Uli! -- richard lucassen https://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mouse 1 cm too low
On Thu, 1 Apr 2021 13:55:16 +0200 Ulrich Sibiller wrote: > Is this still happening with nxagent 3.5.99.26? I discovered a few weeks ago that the problem had disappeared, so it might have been solved with an "apt upgrate". Sorry for late reply btw. Thnx! R. -- richard lucassen https://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mouse 1 cm too low
On Thu, 17 Dec 2020 22:06:59 +0100 Ulrich Sibiller wrote: > Quick test: I have a test machine with nxagent 3.5.99.23 where I > cannot see that behaviour. Does this also happen when you only run an > xterm in a fullscreen session? Yep. And a ctrl-alt-f ctrl-shift-alt-f sequence resolves it. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mouse 1 cm too low
On Thu, 17 Dec 2020 22:06:59 +0100 Ulrich Sibiller wrote: > Sorry, I got that wrong, should not do too many things simultaneously. Women seem to be able to ;-) > > I set client to fullscreen. I never used these shortcuts (thnx!). > > Anyway, switching to non-fullscreen and back to fullscreen seems to > > resolve the issue! > > OK, then it looks like we have an issue with fullscreen on session > creation. I need to test that myself (when I find time). > > Quick test: I have a test machine with nxagent 3.5.99.23 where I > cannot see that behaviour. Does this also happen when you only run an > xterm in a fullscreen session? I will do these tests tomorrow. I'll report the results! R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mouse 1 cm too low
On Thu, 17 Dec 2020 16:05:04 +0100 Ulrich Sibiller wrote: > Unfortunately we only test on Linux Do you also see this on a > Linux server? I tested 2 Linux servers (both sysV): 1) windowmanager WindowMaker 2) windowmanager OpenBox And the following clients: Debian Buster (systemd) Mate Debian Buster (systemd) OpenBox Debian Bullseye (sysV) WindowMaker (3 different computers) Debian Bullseye (sysV) OpenBox (3 different computers) > Please report the output of the following commands both inside the > session and on the client (outside the session): > - xdpyinfo -ext XINERAMA > - xrandr http://tmp.xaq.nl/x2go/index.html Server: > How do switch to fullscreen? There are two keyboard shortcuts: > ctrl-alt-f and ctrl-al-shift-f. Does one or the other make a > difference? I set client to fullscreen. I never used these shortcuts (thnx!). Anyway, switching to non-fullscreen and back to fullscreen seems to resolve the issue! > Are you using wayland on the client side? No, just xserver.org R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mouse 1 cm too low
On Thu, 17 Dec 2020 13:41:12 +0100 richard lucassen wrote: Tried a connection from a Debian Buster (systemd) in an OpenBox client environment: same issue: about 12cm's too high and a few cm's left. Completely unusable. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mouse 1 cm too low
On Thu, 17 Dec 2020 12:45:13 +0100 Ulrich Sibiller wrote: > The versions you mentioned are all ok/uptodate. > > > As reported, this ONLY occurs in fullscreen mode. > > Please change the window manager on the Linux client and retry. I > suggest openbox. I just tried a Mate environment on a Debian Buster, but same issue. I started OpenBox on the server: same issue. BUT: I installed OpenBox on the client and connected to the x2go server, either starting openbox or wmaker and the problem gets much much worse: the mouse click point is about 12cm higher and some 4cm to the left. Completely unusable. Tried on two different computers (both Debian Bullseye) The server runs sys-V btw. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mouse 1 cm too low
On Thu, 17 Dec 2020 11:25:10 +0100 Ulrich Sibiller wrote: > Can you please check if this is dependent on the client side window > manager? Please also report the version of nxagent on the server. I asked someone with an Apple to test it and I asked him to also test a windows version. Well, the Apple shows this issue but the Windows version seems to work well: Windows client (both on 4k and 1920x1366 screen): 4.1.2.2 Qt: 4.8.6 Apple client: version 4.1.2.2 (QT 4.8.7) Linux Debian Bullseye client: x2goclient 4.1.2.2-2 amd64 (Qt5) nxproxy 2:3.5.99.25-1 amd64 Client: custom desktop "/usr/bin/ssh-agent /usr/bin/wmaker" Linux Debian Bullseye server: nxagent 2:3.5.99.25-1 amd64 x2goserver 4.1.0.3-5 amd64 x2goserver-common 4.1.0.3-5 amd64 x2goserver-x2goagent 4.1.0.3-5 amd64 x2goserver-xsession 4.1.0.3-5 amd64 x2goserver-extensions 4.1.0.3-5 amd64 As far as I remember there have been no x2go updates in the last two months. A "zgrep x2go /var/log/dpkg.log*" shows last update was: Server: x2go: 2020-02-19 nxagent: 2020-11-10 Linux client: x2goclient: 2020-03-21 nxproxy: 2020-11-10 As reported, this ONLY occurs in fullscreen mode. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mouse 1 cm too low
On Sun, 13 Dec 2020 16:41:30 +0100 richard lucassen wrote: > I have run x2go for many years now without any problem. I have two > different servers running Debian testing and x2go 4.1.0.3-5, > multiple clients running the same OS and x2go client. I run > WindowMaker both on client and servers. This has worked for many > years. > > Weird thing: the active clicking point for the mouse is 1 cm above the > mouse. Restarting client and server does not make any difference. > AFAIK these x2go versions have not changed (underlying libraries > might have of course). I tested this on a few clients: same problem. > It make x2go almost unusable. An Apple client has the same problem. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mouse 1 cm too low
On Sun, 13 Dec 2020 16:41:30 +0100 richard lucassen wrote: > I have run x2go for many years now without any problem. I have two > different servers running Debian testing and x2go 4.1.0.3-5, > multiple clients running the same OS and x2go client. I run > WindowMaker both on client and servers. This has worked for many > years. > > Weird thing: the active clicking point for the mouse is 1 cm above the > mouse. Restarting client and server does not make any difference. > AFAIK these x2go versions have not changed (underlying libraries > might have of course). I tested this on a few clients: same problem. > It make x2go almost unusable. Apparently this only occurs in fullscreen mode. It looks like the mouse is behaving as if there were a topbar (which is not the case in fullscreen mode) Any thoughts? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] mouse 1 cm too low
Hello list, I have run x2go for many years now without any problem. I have two different servers running Debian testing and x2go 4.1.0.3-5, multiple clients running the same OS and x2go client. I run WindowMaker both on client and servers. This has worked for many years. Weird thing: the active clicking point for the mouse is 1 cm above the mouse. Restarting client and server does not make any difference. AFAIK these x2go versions have not changed (underlying libraries might have of course). I tested this on a few clients: same problem. It make x2go almost unusable. Anyone a hint what to test and where to look for this weird issue? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] gdk error
On Tue, 25 Aug 2020 10:25:10 +0200 Ulrich Sibiller wrote: > This is probably related to OpenGL. The program uses some OpenGL call > of a never OpenGL version than NX supports. Normally the application > should check the provided version but this is not the first time that > check is not (properly) done. > > I suggest to try the x2go libglx workaround as described here: > https://wiki.x2go.org/doku.php/wiki:development:glx-xlib-workaround Ok, it ends up in an error, I can find out what it is of course, but for the moment I'll use feh instead of geeqie. As it is not a showstopper, I'll wait for the built-in solution. If you want to know what's wrong, it this (I followed the Debian Buster guide and I used mesa-20.2.0-rc2): [..] Program python3 found: YES (/usr/bin/python3) ../meson.build:867:0: ERROR: ['/usr/bin/python3']> is not a valid python or it is missing setuptools > @Stefan: I think it is time to ship this lib and some wrapper script > (as described on the wiki page) with x2go. That would be a better solution :) -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] gdk error
When starting "geeqie" (an image viewer) I get this in an x2go session on all 3 servers I run. Debian Bullseye (testing), sysV, Windowmaker as wm. libx2go-config-perl 4.1.0.3-5 libx2go-log-perl4.1.0.3-5 libx2go-server-db-perl 4.1.0.3-5 libx2go-server-perl 4.1.0.3-5 libx2go-utils-perl 4.1.0.3-5 x2goserver 4.1.0.3-5 x2goserver-common 4.1.0.3-5 x2goserver-x2goagent4.1.0.3-5 (geeqie:27441): Gdk-ERROR **: 10:09:44.818: The program 'geeqie' received an X Window System error. This probably reflects a bug in the program. The error was 'BadLength (poly request too large or internal Xlib length erro'. (Details: serial 300 error_code 16 request_code 143 (GLX) minor_code 1) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the GDK_SYNCHRONIZE environment variable to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Trace/breakpoint trap Is this an x2go issue? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] error
On Wed, 12 Aug 2020 17:36:09 +0200 Stefan Baur wrote: > Hmm, could this be a disk full / read-only mount issue, or maybe a > hung/stuck NFS mount somewhere? Or an issue with "private tmp"? There is definitely something terribly wrong with this box. E.g.: I'm missing the link /dev/fd to /proc/self/fd. When I add the link manually (normally udev is in charge of this AFAIK) the x2go session starts, but cannot be terminated or suspended. There must be some bitrot somewhere. R. -- richard lucassen https://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] error
On Wed, 12 Aug 2020 20:18:35 +0200 richard lucassen wrote: > On Wed, 12 Aug 2020 20:02:10 +0200 > richard lucassen wrote: > > > Is there a way to output debug info to syslog on Debian packages? > > Yes, in /etc/x2go/x2goserver.conf > > This is what I found in syslog: > > http://tmp.xaq.nl/x2go.txt Sometimes I get a message "running session", but resuming and reconnect ends in the same error. One weird thing is that the logs say that it cannot store the port into the database, but in fact the port is in the database (port 58921): # echo "SELECT * FROM used_ports;" | sqlite3 /var/lib/x2go/x2go_sessions x2go|richard-50-1597256020_stDx2go.sh_dp24|51762 x2go|richard-50-1597256020_stDx2go.sh_dp24|58921 R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] error
On Wed, 12 Aug 2020 20:02:10 +0200 richard lucassen wrote: The error window on the client: http://tmp.xaq.nl/x2go.png -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] error
On Wed, 12 Aug 2020 20:02:10 +0200 richard lucassen wrote: > Is there a way to output debug info to syslog on Debian packages? Yes, in /etc/x2go/x2goserver.conf This is what I found in syslog: http://tmp.xaq.nl/x2go.txt -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] error
On Wed, 12 Aug 2020 20:02:10 +0200 richard lucassen wrote: The database is accessed: # stat /var/lib/x2go/x2go_sessions File: /var/lib/x2go/x2go_sessions Size: 40960 Blocks: 88 IO Block: 4096 regular file Device: 803h/2051d Inode: 525816 Links: 1 Access: (0660/-rw-rw) Uid: (0/root) Gid: ( 117/x2gouser) Access: 2020-08-12 12:40:59.375820526 +0200 Modify: 2020-08-12 20:06:42.132981042 +0200 Change: 2020-08-12 20:06:42.132981042 +0200 Birth: - -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] error
On Wed, 12 Aug 2020 17:36:09 +0200 Stefan Baur wrote: > > 16:56:12 /usr/bin/x2gostartagent: unable to insert port into > > database. Retrying (run 5). > > Hmm, could this be a disk full / read-only mount issue, or maybe a > hung/stuck NFS mount somewhere? Or an issue with "private tmp"? No NFS, I purged everything and the db file is created: ls -al /var/lib/x2go/ total 52 drwxrwx--- 2 x2gouser x2gouser 4096 Aug 12 16:22 . drwxr-xr-x 41 root root 4096 Feb 20 10:37 .. -rw-rw 1 root x2gouser 40960 Aug 12 16:22 x2go_sessions Compared to the working server this is correct. > The sessions database is at /var/lib/x2go/x2go_sessions if you're > using SQLite (the default). So you might want to check if that file > exists, how large it is, what its ownership/permissions are, and how > much disk space is available at its mountpoint. $ df / Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda3 32765712 13929784 17141824 45% / $ df -i / Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda3 2097152 286285 1810867 14% / The database is created at install, has the right permissions but is empty: # sqlite3 /var/lib/x2go/x2go_sessions SQLite version 3.32.3 2020-06-18 14:00:33 Enter ".help" for usage hints. sqlite> .tables messages mounts sessions used_ports user_messages sqlite> SELECT * FROM used_ports; sqlite> SELECT * FROM user_messages; sqlite> SELECT * FROM sessions; sqlite> SELECT * FROM mounts; sqlite> SELECT * FROM messages; sqlite> INSERT INTO messages ('mess_id', 'message') VALUES ('1','test'); sqlite> SELECT * FROM messages; 1|test sqlite> DELETE FROM messages WHERE mess_id = '1'; sqlite> SELECT * FROM messages; sqlite> .q So, nothing wrong with the database IMHO # grep x2gouser /etc/group x2gouser:x:117: (same as on working server) I'm a bit confused now... Is there a way to output debug info to syslog on Debian packages? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] error
On Wed, 12 Aug 2020 12:50:08 +0200 richard lucassen wrote: I had some time to investigate a bit further, this is what I see in syslog: user.warn: Aug 12 16:56:09 /usr/sbin/x2gocleansessions[5021]: richard-50-1597244167_stDx2go.sh_dp24: state file for this session does not exist: /tmp/.x2go-richard/C-richard-50-1597244167_stDx2go.sh_dp24/state (this can be ignored during session startups) user.warn: Aug 12 16:56:09 /usr/bin/x2gostartagent: unable to insert port into database. Retrying (run 1). user.warn: Aug 12 16:56:10 /usr/bin/x2gostartagent: unable to insert port into database. Retrying (run 2). user.warn: Aug 12 16:56:10 /usr/bin/x2gostartagent: unable to insert port into database. Retrying (run 3). user.warn: Aug 12 16:56:11 /usr/bin/x2gostartagent: unable to insert port into database. Retrying (run 4). user.warn: Aug 12 16:56:12 /usr/bin/x2gostartagent: unable to insert port into database. Retrying (run 5). -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] error
Hello list, server: Debian testing 4.1.0.3-5 client: Debian testing 4.1.2.2-2 Since this morning I get this (large) error message on *all* clients, connecting to *one* particular server that has worked for many years. I have another server, same OS, same version: no problem. The problem occurs when connecting to this perticular server. AFAIUK there has been no recent update for x2go in Debian testing. I removed all user x2go files, I removed x2go files in /var/lib/ and finally I purged the whole package, ran "apt autoremove" and purged all packages status "rc". Then I reinstalled the x2goserver: same problem. I fear it is some other package that messes up the functionality. Anyone a hint where to start? This is the message (sorry, it's bit a mess): Connection failed. /usr/lib/x2go/x2gocheckport: line 125: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory DBD::SQLite::st execute failed: UNIQUE constraint failed: used_ports.port at /usr/share/perl5/X2Go/Server/DB/SQLite3.pm line 330. /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory DBD::SQLite::st execute failed: UNIQUE constraint failed: used_ports.port at /usr/share/perl5/X2Go/Server/DB/SQLite3.pm line 330. /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory DBD::SQLite::st execute failed: UNIQUE constraint failed: used_ports.port at /usr/share/perl5/X2Go/Server/DB/SQLite3.pm line 330. /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory DBD::SQLite::st execute failed: UNIQUE constraint failed: used_ports.port at /usr/share/perl5/X2Go/Server/DB/SQLite3.pm line 330. /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory DBD::SQLite::st execute failed: UNIQUE constraint failed: used_ports.port at /usr/share/perl5/X2Go/Server/DB/SQLite3.pm line 330. /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory DBD::SQLite::st execute failed: UNIQUE constraint failed: used_ports.port at /usr/share/perl5/X2Go/Server/DB/SQLite3.pm line 330. /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory DBD::SQLite::st execute failed: UNIQUE constraint failed: used_ports.port at /usr/share/perl5/X2Go/Server/DB/SQLite3.pm line 330. /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory DBD::SQLite::st execute failed: UNIQUE constraint failed: used_ports.port at /usr/share/perl5/X2Go/Server/DB/SQLite3.pm line 330. /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory DBD::SQLite::st execute failed: UNIQUE constraint failed: used_ports.port at /usr/share/perl5/X2Go/Server/DB/SQLite3.pm line 330. /usr/lib/x2go/x2gocheckport: line 58: /dev/fd/62: No such file or directory /usr/lib/x2go/x2gocheckport: line 87: /dev/fd/62: No such file or directory DBD::SQLite::st execute failed: UNIQUE constraint failed: used_ports.port at /usr/share/perl5/X2Go/Server/DB/SQLite3.pm line 330. Unable to find free port or insert new session into database; parameters: hostname (x2go), session name (richard-50-1597218428_stDwmaker_dp24) and port (49985). -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mount dir
On Thu, 20 Feb 2020 11:34:51 +0100 richard lucassen wrote: > Hmmm, there is a link called "media" and there it is: > > media/disk/_home_richard_x2go/ > > On the x2go server there was a directory "x2go" but I removed it. The > first time I started the session it was not possible to create a link > "x2go" in /home/richard/ on the server. Is this cached somewhere > maybe? Got it, I think I created the link myself, when logging out, there is a dangling symlink. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mount dir
On Thu, 20 Feb 2020 11:21:25 +0100 Stefan Baur wrote: > > There must be missing some Debian package I think. Anyone an idea? > > You're probably missing the fuse package, or your other server is some > kind of containerized solution like LXC, where loading modules and/or > the execution of mount commands is/are blocked. Hmmm, there is a link called "media" and there it is: media/disk/_home_richard_x2go/ On the x2go server there was a directory "x2go" but I removed it. The first time I started the session it was not possible to create a link "x2go" in /home/richard/ on the server. Is this cached somewhere maybe? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mount dir
On Thu, 20 Feb 2020 11:25:48 +0100 richard lucassen wrote: And on both computers the kernel mod "fuse" is loaded. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] mount dir
On Thu, 20 Feb 2020 11:21:25 +0100 Stefan Baur wrote: > > There must be missing some Debian package I think. Anyone an idea? > > You're probably missing the fuse package, or your other server is some > kind of containerized solution like LXC, where loading modules and/or > the execution of mount commands is/are blocked. No, fuse is installed (fuse3), on both computers the same: $ dpkg --get-selections | grep fuse fusedeinstall fuse3 install libfuse2:amd64 install libfuse3-3:amd64install There is no clue whatsoever in the logs AFAICS... R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] mount dir
Hello list, I have two x2go servers running windowmaker: 1) same version (Debian Bullseye) 4.1.0.3-5 2) same client configs (except hostnames of course) Everything is ok, except that on one server "shared folders" is not mounted: $ ls -al x2go lrwxrwxrwx 1 richard richard 49 Aug 3 2018 x2go -> /tmp/.x2go-richard/media/disk/_home_richard_x2go/ $ ls -al x2go ls: cannot access 'x2go': No such file or directory There must be missing some Debian package I think. Anyone an idea? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] x2gocleansessions
Hello list, I reported this issue earlier in the year, the process "x2gocleansessions" is checking for sessions each 2 seconds. The 2 seconds is on line 166 in /usr/sbin/x2gocleansessions: while(sleep 2) I have no idea why this process is started that often, but IMHO it's making quite a lot of noise for a 2 seconds check. It writes tmp files to the tmp directory and removes them. When using an ssd this will update the stat of the /tmp/ directory each two seconds. Can anybody explain why this process is started so often? Or is it still in a sort of debug/test mode? In my case I'm a single user on a single system, I changed the line 166 to 3600, but wouldn't it be a better idea to put that time into /etc/x2go/x2goserver.conf? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Failed to start X2Go Agent Session
On Tue, 16 Oct 2018 17:56:00 +0200 Daniel Kollmer wrote: > Agent output: "Failed to start X2Go Agent session with ID > danielk-50-1539704304_stRTERMINAL_dp24. X2Go Agent terminated > unexpectedly. Aborting session startup. The complete relevant last > part of the debug log is pasted below. Sometimes an x2goclient process running on 127.0.0.1 hangs for one or another reason. After running a "killall -9 x2goclient" I can start a new session or resume a suspended session. I have no idea if that's your problem btw. Just my 2 cts, R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] tmp files
On Sat, 1 Sep 2018 17:26:36 +0200 richard lucassen wrote: > > Ok, interesting. Unfortunately I don't have an idea what might be > > causing that. Can you check with lsof who is touching the files? > > Run an strace on the pid of > "/usr/bin/perl /usr/sbin/x2gocleansessions" and you'll see the tmp > files creation. Ok, I just simply killed the beast and the server still runs. I have no idea what exactly it is doing, but it makes quite a lot of noise IMHO, run "top" and you will see it regularly see it on top of the list. If it's only made to look for stale sessions, maybe it can be run from cron once in a while? -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] tmp files
On Sat, 1 Sep 2018 11:13:01 +0200 Ulrich Sibiller wrote: > Ok, interesting. Unfortunately I don't have an idea what might be > causing that. Can you check with lsof who is touching the files? Run an strace on the pid of "/usr/bin/perl /usr/sbin/x2gocleansessions" and you'll see the tmp files creation. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] tmp files
On Sat, 1 Sep 2018 11:29:28 +0200 richard lucassen wrote: > > Ok, interesting. Unfortunately I don't have an idea what might be > > causing that. Can you check with lsof who is touching the files? > > These files only live a very short time. I noticed it when I wanted to > send an attachment which was located in /tmp/ with the email client > "Sylpheed". The popup in which the attachment directory is shown was > constantly refreshing, showing these files (4 as far as I can see). > Otherwise I wouldn't have noticed it. I'm not sure, but I'd say this is something of the later versions of x2goserver. I've never seen it before until a week ago. I run Debian testing with x2goserver 4.1.0.2-2. But once again: I'm not sure, I might have sent attachments from other diretories than /tmp/ -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] tmp files
On Sat, 1 Sep 2018 11:13:01 +0200 Ulrich Sibiller wrote: > Ok, interesting. Unfortunately I don't have an idea what might be > causing that. Can you check with lsof who is touching the files? These files only live a very short time. I noticed it when I wanted to send an attachment which was located in /tmp/ with the email client "Sylpheed". The popup in which the attachment directory is shown was constantly refreshing, showing these files (4 as far as I can see). Otherwise I wouldn't have noticed it. R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] tmp files
On Sat, 1 Sep 2018 10:03:06 +0200 Ulrich Sibiller wrote: > I don't think that there's any sense in writing 0 byte files > regularly. Are you sure x2go causes them? Have you tried with a > simple session that only runs an xterm? This happens when x2goserver is running (no client connections): root@x2go ~>stat /tmp/ File: /tmp/ Size: 580 Blocks: 0 IO Block: 4096 directory Device: 1ah/26d Inode: 11133 Links: 12 Access: (1777/drwxrwxrwt) Uid: (0/root) Gid: (0/root) Access: 2018-09-01 09:22:41.174939529 +0200 Modify: 2018-09-01 11:02:57.435297157 +0200 Change: 2018-09-01 11:02:57.435297157 +0200 Birth: - root@x2go ~>stat /tmp/ File: /tmp/ Size: 540 Blocks: 0 IO Block: 4096 directory Device: 1ah/26d Inode: 11133 Links: 12 Access: (1777/drwxrwxrwt) Uid: (0/root) Gid: (0/root) Access: 2018-09-01 09:22:41.174939529 +0200 Modify: 2018-09-01 11:02:59.767272229 +0200 Change: 2018-09-01 11:02:59.767272229 +0200 Birth: - root@x2go ~>stat /tmp/ File: /tmp/ Size: 540 Blocks: 0 IO Block: 4096 directory Device: 1ah/26d Inode: 11133 Links: 12 Access: (1777/drwxrwxrwt) Uid: (0/root) Gid: (0/root) Access: 2018-09-01 09:22:41.174939529 +0200 Modify: 2018-09-01 11:03:02.095247355 +0200 Change: 2018-09-01 11:03:02.095247355 +0200 Birth: - Then I stop x2goserver: root@x2go ~>service x2goserver stop root@x2go ~>stat /tmp/ File: /tmp/ Size: 540 Blocks: 0 IO Block: 4096 directory Device: 1ah/26d Inode: 11133 Links: 12 Access: (1777/drwxrwxrwt) Uid: (0/root) Gid: (0/root) Access: 2018-09-01 09:22:41.174939529 +0200 Modify: 2018-09-01 11:03:50.934725699 +0200 Change: 2018-09-01 11:03:50.934725699 +0200 Birth: - root@x2go ~>stat /tmp/ File: /tmp/ Size: 540 Blocks: 0 IO Block: 4096 directory Device: 1ah/26d Inode: 11133 Links: 12 Access: (1777/drwxrwxrwt) Uid: (0/root) Gid: (0/root) Access: 2018-09-01 09:22:41.174939529 +0200 Modify: 2018-09-01 11:03:50.934725699 +0200 Change: 2018-09-01 11:03:50.934725699 +0200 Birth: - root@x2go ~>stat /tmp/ File: /tmp/ Size: 540 Blocks: 0 IO Block: 4096 directory Device: 1ah/26d Inode: 11133 Links: 12 Access: (1777/drwxrwxrwt) Uid: (0/root) Gid: (0/root) Access: 2018-09-01 09:22:41.174939529 +0200 Modify: 2018-09-01 11:03:50.934725699 +0200 Change: 2018-09-01 11:03:50.934725699 +0200 Birth: - It is definitely x2goserver... R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] tmp files
On Sat, 1 Sep 2018 09:30:02 +0200 richard lucassen wrote: > The reason is that I use a tmpfs on /tmp/ but the stats of /tmp > directorie are updated on an SSD disk which causes writes to the SSD. s/writes/unnecessary writes/ -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] tmp files
Hello list, x2go-server writes each 2 seconds AFAICS four tmp files to /tmp/ -rw--- 1 rootroot 0 Sep 1 09:22 d_If2A_6JI -rw--- 1 rootroot 0 Sep 1 09:22 b21fnyFKys -rw--- 1 rootroot 0 Sep 1 09:22 FQVURek_gX -rw--- 1 rootroot 0 Sep 1 09:22 DMIsk9sy8n Is it possible to move these tmp files to /tmp/whatever/ ? The reason is that I use a tmpfs on /tmp/ but the stats of /tmp directorie are updated on an SSD disk which causes writes to the SSD. R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Maximum allowed [solved]
On Tue, 28 Aug 2018 11:38:38 +0200 richard lucassen wrote: For future googlers: I run a Debian version (testing) and on the server side there is a file called "/etc/x2go/x2goagent.options" and I needed to comment out the line with "X2GO_NXAGENT_DEFAULT_OPTIONS" (or remove "-extension BIG-REQUESTS" I suppose): [..] # Disable BIG-REQUESTS, nx-libs does not implement this extension # correctly. Leads to all sorts of weird crashes if left enabled. ###X2GO_NXAGENT_DEFAULT_OPTIONS+=" -extension BIG-REQUESTS" The problem has gone now. No need to restart the server, just start a new session. Thanks to Ulrich Sibiller (again). R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Maximum allowed
On Mon, 27 Aug 2018 15:26:04 +0200 richard lucassen wrote: > requested length exceeded (code 4) > Message-Id: <20180827152604.53712210c51522704b6ec...@lucassen.org> > Reply-To: x2go-user@lists.x2go.org > Organization: XAQ Systems > X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) > Mime-Version: 1.0 > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: 7bit > > Maybe it has nothing to do with x2go, but on my server I get this when > starting a few programs, e.g. VLC or sqlitebrowser: [..] > IIRC the program runs well on the local machine. Anyone a hint? Hmmm, when setting x2go client to a fixed screensize instead of fullscreen (which I don't want) the problem has gone. Anyone an idea? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] keyboard layout driving me insane
On Mon, 27 Aug 2018 08:18:10 -0400 Neal Becker wrote: > On client side, I have layout set to map caps lock to ctrl. I need > this also when using x2go! But it seems hard to achieve. In x2go, I > try both 'autodetect keyboard' and 'don't configure keyboard'. I try > mate, xfce, lxde. On the server side I would like to try also > configure keyboard layout, but I don't find any good way to do it on > those window managers. Unfortunately, neither KDE nor GNOME will work > (both client and server are fedora 28). > > Sometimes I seem to hit a combination that works, but then when if > the connection is terminated and I try again, it's once again not > preserving my key remapping. This is driving me nuts! Any > recommendations? See thread "client name" of a few weeks ago. The workaround Ulrich Sibiller proposed at the end of the thread works like a charm. Probably thia workaround works for you as well. HTH, R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] Maximum allowed
requested length exceeded (code 4) Message-Id: <20180827152604.53712210c51522704b6ec...@lucassen.org> Reply-To: x2go-user@lists.x2go.org Organization: XAQ Systems X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Maybe it has nothing to do with x2go, but on my server I get this when starting a few programs, e.g. VLC or sqlitebrowser: $ vlc VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6332) [55dbab76c570] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-richard' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-richard' The X11 connection broke: Maximum allowed requested length exceeded (code 4) XIO: fatal IO error 2 (No such file or directory) on X server ":50" after 433 requests (433 known processed) with 0 events remaining. QMutex: destroying locked mutex IIRC the program runs well on the local machine. Anyone a hint? -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] client name
On Thu, 2 Aug 2018 22:16:19 +0200 Ulrich Sibiller wrote: > On Thu, Aug 2, 2018 at 4:12 PM, richard lucassen > wrote: > > Ok, I already looked at the SSH_ environment variables but I cannot > > use IP :-( > > Just do a reverse lookup of the ip. When being a road warrior you can't do anything with a reverse lookup. > What exactly is the reason for the xmodmap stuff? We aim to always > ensure a proper keyboard setting. I even have code that replicates the > client's keyboard configuration (unfortunately still not in production > code). That sounds good :-) It would also be nice if the client name could be transferred to the x2go server, e.g. as parameter or environment variable to the extension scripts. That would make things much more flexible and this would be in the spirit of the x2go-extensions IMHO ;-) -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] client name
On Thu, 2 Aug 2018 15:48:26 +0200 Stefan Baur wrote: > > I use "Custom desktop" as windowmanager, I start the session with a > > script with the client name as parameter. In this way I'm able to > > find the client name of the station which /initialized/ the session. > > > > But is there a way to see which client /resumes/ an already existing > > session? > > If you can do with an IP, the SSH_CLIENT variable contains the client > IP, source port, and destination port. > Unlike some X2GO* variables, which do not get set in all session > types, this one should be available regardless of session type. Ok, I already looked at the SSH_ environment variables but I cannot use IP :-( I have never played with keyboard settings, but would it be possible to create a per client keyboard layout that is sent to the server? I want to find a proper solution for automatically mapping keys. Now I need to invoke manually the xmodmap ~/.Xmodmap.clientname to set the different keyboards settings. A single session or resuming with the same computer is no problem, the issue occurs when resuming a session using a different computer than the computer which had initiated the session. IOW: this is a follow up of the xmodmap thread ;-) R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] Debugging Server Side Issues
On Tue, 31 Jul 2018 17:01:30 -0700 (PDT) Robert Dinse wrote: >Can anyone point me to some suggestions for debugging this? > X2goserver works fine as root but not as ordinary users under enso > linux. Just a random thought: maybe you need the package "xserver-xorg-legacy". Remember: this is just a shot in the dark. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] execute xmodmap on resume
On Tue, 31 Jul 2018 15:49:53 +0200 Stefan Baur wrote: > > Hmm, this is a Q workaround: > > > > $ cat /usr/lib/x2go/extensions/post-resume.d/010_xmodmap > > #!/bin/dash > > test -f ~/.Xmodmap || exit 0 > > /usr/local/scripts/xmodmap.sh & > > > > $ cat /usr/local/scripts/xmodmap.sh > > #!/bin/dash > > sleep 10 > > exec /usr/bin/xmodmap ${HOME}/.Xmodmap > > You should be able to simplify that into one script, assuming dash > understands the syntax bash uses for this (haven't tried it): As I said: "this is a Q workaround" Q means Quick and Dirty ;-) > $ cat /usr/lib/x2go/extensions/post-resume.d/010_xmodmap > #!/bin/dash > test -f ~/.Xmodmap || exit 0 > (sleep 10; exec /usr/bin/xmodmap ${HOME}/.Xmodmap) & > > Not sure why you'd need the "exec", even. There's no need "exec" for it indeed > Instead of blindly sleeping 10 seconds, you could also check if > xmodmap returns an error when it's called too early in the process. > Maybe something like > (while ! /usr/bin/xmodmap ${HOME}/.Xmodmap ; do sleep 1 ; done) & That would be a better option indeed > Also, is there a particular reason why you need to run xmodmap > manually/scripted, rather than using the keyboard settings option > inside X2GoClient? Are you a macOS X2GoClient user, and the > autodetection we need to use on the Mac is failing for you? It's all Linux. I use a script to start WindowMaker as windowmanager ("Custom desktop") and I noticed that xmodmap keymapping is reset after a suspend/resume cycle. I needed to run "xmodmap ~/.Xmodmap" each time after a suspend/resume cycle. That's why I was trying to script it. I use the x2go-server from various devices with sometimes some weird keyboards. On some devices I mapped certain keys to functions like PgUp and PgDn because otherwise these keys need "Fn + key" combination and I'd like to keep these setting in the x2go session. BTW, as stated in the OP, I don't think it's an x2go issue. Maybe I have to play with the keyboard settings, I never did actually. R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] execute xmodmap on resume
On Tue, 31 Jul 2018 14:18:00 +0200 Stefan Baur wrote: > > Hmm, it is called "post-resume", that suggests that everything is > > up an running... > > Not necessarily. > "We're done resuming on the X2Go side of things" might not be the same > as "We're up and running on the X-Server side of things". It MAY > coincide, but I don't see a hard MUST for that. Ok, then I will keep the 10 seconds sleep time, it's a workable solution :) R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] execute xmodmap on resume
On Tue, 31 Jul 2018 14:07:06 +0200 Ulrich Sibiller wrote: > Alright, but I was refferring to your first mail where you wrote > "010-xmodmap" which does NOT match. ;-) I think you missed the first reply to my own post in which I wrote: "Oops, s/010-xmodmap/010_xmodmap/" :) -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] execute xmodmap on resume
On Fri, 27 Jul 2018 10:57:48 -0400 "John Stoffel" wrote: > It sounds like when the script runs, the Xserver isn't quite ready, > and xmodmap is waiting for that. Maybe you can start debugging by > putting: Hmm, this is a Q workaround: $ cat /usr/lib/x2go/extensions/post-resume.d/010_xmodmap #!/bin/dash test -f ~/.Xmodmap || exit 0 /usr/local/scripts/xmodmap.sh & $ cat /usr/local/scripts/xmodmap.sh #!/bin/dash sleep 10 exec /usr/bin/xmodmap ${HOME}/.Xmodmap After 10 seconds the xmodmap is executed, 5 seconds apparently is not enough. I'm not an x2go guru, but in fact it would mean IMHO that "post-resume.d" is executed before the session has really finished resuming. After resuming the session I get this when typing "'" + "e", when the 10 seconds have ended the "dead key" which is in ~/.Xmodmap is starting to work: $ 'e'e'e'eééé R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] execute xmodmap on resume
On Fri, 27 Jul 2018 10:57:48 -0400 "John Stoffel" wrote: > It sounds like when the script runs, the Xserver isn't quite ready, > and xmodmap is waiting for that. Maybe you can start debugging by > putting: > >xmodmap -verbose -pm > > before your call, to see what it prints out. And make sure the > $DISPLAY is set correctly too! $DISPLAY is set correctly. The "xmodmap -verbose -pm" in a session works fine. Writing the output to /tmp/test.txt doesn't change anything. > You can also do an 'strace xmodmap ...' call in there, to see where > it's going and what it's calling to. [..] access("/home/richard/.Xauthority", R_OK) = 0 openat(AT_FDCWD, "/home/richard/.Xauthority", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0600, st_size=100, ...}) = 0 read(4, "\1\0\0\4x2go\0\00250\0\22MIT-MAGIC-COOKIE-1"..., 4096) = 100 read(4, "", 4096) = 0 close(4)= 0 getsockname(3, {sa_family=AF_UNIX}, [124->2]) = 0 fcntl(3, F_GETFL) = 0x2 (flags O_RDWR) fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK)= 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) writev(3, [{iov_base="l\0\v\0\0\0\22\0\20\0\0\0", iov_len=12}, {iov_base="", iov_len=0}, {iov_base="MIT-MAGIC-COOKIE-1", iov_len=18}, {iov_base="\0\0", iov_len=2}, {iov_base="\360R\364\23\360\261\331\215\t\275\241en#`3", iov_len=16}, {iov_base="", iov_len=0}], 6) = 48 recvfrom(3, 0x558d1d8c28a0, 8, 0, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable) That's where ist stops. The complete strace is here: http://tmp.xaq.nl/strace.txt R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] execute xmodmap on resume
On Mon, 30 Jul 2018 01:21:48 +0200 Ulrich Sibiller wrote: > Have a look at /usr/bin/x2goserver-run-extensions, this is the place > where the extensions are called. > > The call is > > find "$X2GO_LIB_PATH/extensions/$X2GO_MODALITY.d/" -maxdepth 1 > -mindepth 1 | egrep "/[0-9]{3}_[[:alnum:]]+" | sort | while read > x2go_extension; do > > which indicates that the script name has to start with _three_ digits > followed by _ and an alphanumeric name. Your script does not match, so > I guess that's the reason it is not executed. No, the syntax is ok, the script is executed as stated in the OP... -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] execute xmodmap on resume
On Fri, 27 Jul 2018 10:57:48 -0400 "John Stoffel" wrote: > It sounds like when the script runs, the Xserver isn't quite ready, > and xmodmap is waiting for that. Hmm, it is called "post-resume", that suggests that everything is up an running... > Maybe you can start debugging by > putting: > >xmodmap -verbose -pm > > before your call, to see what it prints out. And make sure the > $DISPLAY is set correctly too! > > You can also do an 'strace xmodmap ...' call in there, to see where > it's going and what it's calling to. I tried an "&", the session is starting, but xmodmap has no result, even with an extra "sleep 5" in a separate script. I'll try the "-verbose -pm" tomorrow. Thnx for your answer, R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
Re: [X2Go-User] execute xmodmap on resume
On Wed, 25 Jul 2018 17:03:37 +0200 richard lucassen wrote: > $ cat /usr/lib/x2go/extensions/post-resume.d/010-xmodmap Oops, s/010-xmodmap/010_xmodmap/ -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user
[X2Go-User] execute xmodmap on resume
Hello list, Not an x2go problem, but maybe someone might be able to guess what is happening here. I made a chmod 755 shell script: $ cat /usr/lib/x2go/extensions/post-resume.d/010-xmodmap #!/bin/dash test -f ~/.Xmodmap || exit 0 /usr/bin/xmodmap -display $DISPLAY ~/.Xmodmap When resuming an x2go session, the script is executed, but x2go session starts but does not show up. The problem is that in one or another way, the xmodmap executable is waiting for something, but I have no idea what. Putting the xmodmap line to the background using an "&" makes the x2go session start, but the xmodmap mappings are not set. I still have to set the key mappings manually by invoking "xmodmap ~/.Xmodmap". Anyone a hint on what's going on here? R. -- richard lucassen http://contact.xaq.nl/ ___ x2go-user mailing list x2go-user@lists.x2go.org https://lists.x2go.org/listinfo/x2go-user