Hello everyone,
we have run into a peculiar issue with our setup.
First and foremost let me say that X forwarding using ssh -X or ssh -Y works fine and doesn't show any irregularities. Trying to use the X forwarding of slurm however results in a weird situation. We are using it like: srun --pty --x11 bash And then run something like glxgears. The program starts up normal however whenever you increase the window size beyond a certain size the connection to the X server gets broken and glxgears crashes. The same is true for any other program using X, some don't even start as their inital window size is too large, others crash as soon as you resize them beyond a certain point.
We have no clue what might be the cause only that it seems to be related to how slurm does the XForwarding.
We've tried X11Parameters both with and without host_authority.
We're running 25.05.0
Any help or idea would be very appreciated.
Cheers,
Felix
This message and any attachments are for the sole use of the intended recipient(s). It may contain information that is confidential and privileged. If you are not the intended recipient of this message, you are prohibited from printing, copying, forwarding or saving it. Please delete the message and attachments and notify the sender immediately.
Hey everyone,
additional info is that this shows up in the log whenever the X connection errors out:
[2025-06-06T20:05:57.959] [2858.extern stepmgr] error: _half_duplex: wrote -1 of 4096 [2025-06-06T20:06:33.786] [2858.extern stepmgr] error: _half_duplex: wrote -1 of 4096
It seems that the rpc connection that transfer the data has problems.
Cheers,
Felix
On 6/6/25 12:13 AM, Felix Winterhalter via slurm-users wrote:
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hello everyone,
we have run into a peculiar issue with our setup.
First and foremost let me say that X forwarding using ssh -X or ssh -Y works fine and doesn't show any irregularities. Trying to use the X forwarding of slurm however results in a weird situation. We are using it like: srun --pty --x11 bash And then run something like glxgears. The program starts up normal however whenever you increase the window size beyond a certain size the connection to the X server gets broken and glxgears crashes. The same is true for any other program using X, some don't even start as their inital window size is too large, others crash as soon as you resize them beyond a certain point.
We have no clue what might be the cause only that it seems to be related to how slurm does the XForwarding.
We've tried X11Parameters both with and without host_authority.
We're running 25.05.0
Any help or idea would be very appreciated.
Cheers,
Felix
This message and any attachments are for the sole use of the intended recipient(s). It may contain information that is confidential and privileged. If you are not the intended recipient of this message, you are prohibited from printing, copying, forwarding or saving it. Please delete the message and attachments and notify the sender immediately.
-- slurm-users mailing list -- slurm-users@lists.schedmd.com To unsubscribe send an email to slurm-users-leave@lists.schedmd.com
This message and any attachments are for the sole use of the intended recipient(s). It may contain information that is confidential and privileged. If you are not the intended recipient of this message, you are prohibited from printing, copying, forwarding or saving it. Please delete the message and attachments and notify the sender immediately.