# Batch connect dimension issue

**URL:** <https://discourse.openondemand.org/t/batch-connect-dimension-issue/3645>\
**Category:** Get Help\
**Created:** [July 23, 2024, 5:32pm UTC](https://discourse.openondemand.org/t/batch-connect-dimension-issue/3645 "2024-07-23T17:32:43Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![garadar](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/garadar/32/1877_2.png) [@garadar](https://discourse.openondemand.org/u/garadar)\
**Post date:** [July 31, 2024, 6:38pm UTC](https://discourse.openondemand.org/t/batch-connect-dimension-issue/3645/15 "2024-07-31T18:38:38Z")

</div>

@jeff.ohrstrom I found it !! 💙

```auto
(
  export SEND_256_COLORS_TO_REMOTE=1
  export XDG_CONFIG_HOME="<%= session.staged_root.join("config") %>"
  export XDG_DATA_HOME="<%= session.staged_root.join("share") %>"
  export XDG_CACHE_HOME="$(mktemp -d)"
  module restore
  # set -x
  echo toto1
  #xfwm4 --replace --compositor=off&
  xfwm4 --compositor=off --sm-client-disable&
  echo toto2
  xsetroot -solid "#D3D3D3"
  xfsettingsd --sm-client-disable&
  xfce4-panel --sm-client-disable
) &

```

I tested with `echo toto` to debug. As the “–daemon” option is not available (Don’t know why) I tried ‘&’ to background it as you said :

> i wonder if it’s blocking so that the other commands

So I apply this logic for the following xfce4 command. It seems you only need to background `xfsettingsd --sm-client-disable&`, and look at my beautifull session:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/3/33e1dde60b3ca39c03db010f69fd8d8bbd860099.jpeg)

I am not sure it’s fully working or it’s “best practice”, but the situation is much better.

Thank you very much for all your help !

PS: I think it would be a good idea to include a screenshot of what an interactive session should look like. Until today, I thought it was normal to have a non-resizable “post-it”.

---

_[View the full topic](https://discourse.openondemand.org/t/batch-connect-dimension-issue/3645)._
