# Troubles with bc\_desktop on Rocky8

**URL:** <https://discourse.openondemand.org/t/troubles-with-bc-desktop-on-rocky8/2729>\
**Category:** Get Help\
**Tags:** ondemand2\
**Created:** [June 1, 2023, 5:37pm UTC](https://discourse.openondemand.org/t/troubles-with-bc-desktop-on-rocky8/2729 "2023-06-01T17:37:12Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dacianstremtan](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/dacianstremtan/32/1614_2.png) [@dacianstremtan](https://discourse.openondemand.org/u/dacianstremtan)\
**Post date:** [June 1, 2023, 5:37pm UTC](https://discourse.openondemand.org/t/troubles-with-bc-desktop-on-rocky8/2729/1 "2023-06-01T17:37:12Z")

</div>

I cannot start xfce or mate, or gnome for that matter, sessions. All the time I get the error:  
Script starting…  
Generating connection YAML file…  
The system default contains no modules  
(env var: LMOD\_SYSTEM\_DEFAULT\_MODULES is empty)  
No changes in loaded modules

Launching desktop ‘mate’…  
cat: /etc/xdg/autostart/gnome-keyring-gpg.desktop: No such file or directory  
cat: /etc/xdg/autostart/mate-volume-control-applet.desktop: No such file or directory  
cat: /etc/xdg/autostart/pulseaudio.desktop: No such file or directory  
cat: /etc/xdg/autostart/rhsm-icon.desktop: No such file or directory  
cat: /etc/xdg/autostart/spice-vdagent.desktop: No such file or directory  
Unable to init server: Could not connect: Connection refused

\*\* (mate-session:24902): WARNING \*\*: 15:20:45.168: Cannot open display:  
Desktop ‘mate’ ended…  
Cleaning up…

OR:

Script starting…  
Generating connection YAML file…  
The system default contains no modules  
(env var: LMOD\_SYSTEM\_DEFAULT\_MODULES is empty)  
No changes in loaded modules

Launching desktop ‘xfce’…  
Unable to init server: Could not connect: Connection refused  
xfce4-session: Cannot open display: .  
Type ‘xfce4-session --help’ for usage.  
Desktop ‘xfce’ ended…  
Cleaning up…

Any help is really appreciated. We are on Rocky 8.7 on the compute node. I had no issues on CentOS 7.x

---

<div class="post-metadata">

**Author:** ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)\
**Post date:** [June 1, 2023, 10:19pm UTC](https://discourse.openondemand.org/t/troubles-with-bc-desktop-on-rocky8/2729/2 "2023-06-01T22:19:27Z")

</div>

Hello and welcome!

Sorry for the issues and that I’m not going to have a great answer on this one. Thank you first for posting the `output.log`, would it be possible to see the `vnc.log` from the session as well?

I’ve seen some variations around this now with Rocky 8 and the compute nodes having issues with the desktops. Unfortunately all we have are some other similar posts for users facing this:

> [@OOD desktop doesn't work on Rocky 8.7](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/17):
>
> So, it looks like you need to remove some packages for this to work, and I apologize because this isn’t documented anywhere and I can’t find it in our own configs so you could never have known this (and neither did I tbh). You need to remove: system-config-printer mate-power-manager Those will cause issues when launching is what I am being told. What happens if you remove those and try to connect again?

> [@Issues running vmd on ood on cluster](https://discourse.openondemand.org/t/issues-running-vmd-on-ood-on-cluster/1424/18):
>
> Just to document, we had a discussion about this as part of the SC’21 OOD User Group BoF. We think the issue is with the xfce config and not VMD specific based upon comparing screenshots of what we see at OSC with our VMD install and the screenshot already attached. Path forward is to try to first get just a basic remote desktop working by following these instructions: [Enable Interactive Desktop — Open OnDemand 2.0.13 documentation](https://osc.github.io/ood-documentation/latest/enable-desktops.html)

> [@App doesn't have desktop background](https://discourse.openondemand.org/t/app-doesnt-have-desktop-background/2493/12):
>
> We’re finding that the XFCE scripts we use do not work well on RHEL/8. We can easily replicate the same core dumps on our RHEL/8 systems. (xfsettingsd:279777): xfsettingsd-ERROR \*\*: 15:27:23.629: Failed to connect to the dbus session bus. /users/rbryant/ondemand/data/sys/dashboard/batch\_connect/sys/RStudio/output/423acdec-8ec5-4a29-9973-cfae1ef07d61/script.sh: line 28: 279777 Trace/breakpoint trap (core dumped) xfsettingsd --sm-client-disable + xfce4-panel --sm-client-disable We haven’t mig…

So far it looks like for various users the key has been either to roll back to CentOS7 or to debug further and figure out the correct packages needed.

This is something we have on our radar to look into more when time allows as you can see from the last post. Sorry I don’t have a better answer at the moment for you though, but the `vnc.log` would be nice to see to try and replicate on my end.

---

<div class="post-metadata">

**Author:** ![dacianstremtan](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/dacianstremtan/32/1614_2.png) [@dacianstremtan](https://discourse.openondemand.org/u/dacianstremtan)\
**Post date:** [June 1, 2023, 11:36pm UTC](https://discourse.openondemand.org/t/troubles-with-bc-desktop-on-rocky8/2729/3 "2023-06-01T23:36:40Z")

</div>

There is no vnc.log file created

---

<div class="post-metadata">

**Author:** ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)\
**Post date:** [June 2, 2023, 1:35pm UTC](https://discourse.openondemand.org/t/troubles-with-bc-desktop-on-rocky8/2729/4 "2023-06-02T13:35:41Z")

</div>

Sounds like `vnc` never even runs. Which `vnc` server are you using on the compute node?

---

<div class="post-metadata">

**Author:** ![dacianstremtan](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/dacianstremtan/32/1614_2.png) [@dacianstremtan](https://discourse.openondemand.org/u/dacianstremtan)\
**Post date:** [June 2, 2023, 2:26pm UTC](https://discourse.openondemand.org/t/troubles-with-bc-desktop-on-rocky8/2729/5 "2023-06-02T14:26:21Z")

</div>

We have installed TurboVNC at location /opt/turbovnc. I created symlinks to the vncserver and vncpasswd executables in the /usr/bin

---

<div class="post-metadata">

**Author:** ![travert](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/travert/32/3074_2.png) [@travert](https://discourse.openondemand.org/u/travert)\
**Post date:** [June 2, 2023, 2:35pm UTC](https://discourse.openondemand.org/t/troubles-with-bc-desktop-on-rocky8/2729/6 "2023-06-02T14:35:05Z")

</div>

Thanks for that.

What version of OOD are you using on the web-node and what is the OS? Also, what are you using for `vnc` on the web-node side?

---

<div class="post-metadata">

**Author:** ![dacianstremtan](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/dacianstremtan/32/1614_2.png) [@dacianstremtan](https://discourse.openondemand.org/u/dacianstremtan)\
**Post date:** [June 2, 2023, 2:39pm UTC](https://discourse.openondemand.org/t/troubles-with-bc-desktop-on-rocky8/2729/7 "2023-06-02T14:39:44Z")

</div>

We run ood node on Centos 7.x and the version is 2.0.29  
ondemand.x86\_64 2.0.29-1.el7 @ondemand-web

I don’t understand this question: Also, what are you using for `vnc` on the web-node side?

---

<div class="post-metadata">

**Author:** ![dacianstremtan](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/dacianstremtan/32/1614_2.png) [@dacianstremtan](https://discourse.openondemand.org/u/dacianstremtan)\
**Post date:** [June 2, 2023, 2:49pm UTC](https://discourse.openondemand.org/t/troubles-with-bc-desktop-on-rocky8/2729/8 "2023-06-02T14:49:50Z")

</div>

It’s working/ I made a mistake in trying to create a development entry in sessions for bc\_desktop in my home directory to test xfce4 session on Rocky 8. I think the vnc hint help me try the new Rocky8 image with the current production bc\_desktop application.  
Thank you for your help  
Dacian

 ![Screenshot from 2023-06-02 10-49-08](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/1/1d192a98b36543ec06872438732a6b3a7f665a3b.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [November 29, 2023, 2:50pm UTC](https://discourse.openondemand.org/t/troubles-with-bc-desktop-on-rocky8/2729/9 "2023-11-29T14:50:42Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
