# OOD desktop doesn't work on Rocky 8.7

**URL:** https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601
**Category:** Get Help
**Created:** [April 6, 2023, 6:28pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601 "2023-04-06T18:28:19Z")
**Posts on this page:** 19
**Page:** 1

<div class="post-metadata">

### Author: ![gp4r](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gp4r/32/62_2.png) [@gp4r](https://discourse.openondemand.org/u/gp4r)
#### Post date: [April 6, 2023, 6:28pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/1 "2023-04-06T18:28:20Z")

</div>

Hello,

I am testing ood desktop with Rocky 8.7 compute node. However, ood desktop keeps failing to start MATE on the node.  
I followed MATE instructions from Rocky “[MATE Desktop - Documentation](https://docs.rockylinux.org/guides/desktop/mate_installation/)”

Here is the error log.

Setting VNC password…  
Starting VNC server…

Desktop ‘TurboVNC: udc-aj36-24:1 (gp4r)’ started on display udc-aj36-24:1

Log file is vnc.log  
Successfully started VNC server on udc-aj36-24:5901…  
Script starting…  
Starting websocket server…  
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  
cat: /etc/xdg/autostart/xfce4-power-manager.desktop: No such file or directory  
WebSocket server settings:

- Listen on :9584
- No SSL/TLS support (no cert file)
- Backgrounding (daemon)  
Scanning VNC log file for user authentications…  
Generating connection YAML file…  
mate-session[124600]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/rhsm-icon.desktop: Key file does not start with a group  
mate-session[124600]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55d5e34fb8b0 finalized while still in-construction  
mate-session[124600]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.  
mate-session[124600]: WARNING: could not read /home/gp4r/.config/autostart/rhsm-icon.desktop  
mate-session[124600]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/spice-vdagent.desktop: Key file does not start with a group  
mate-session[124600]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55d5e34fb970 finalized while still in-construction  
mate-session[124600]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.  
mate-session[124600]: WARNING: could not read /home/gp4r/.config/autostart/spice-vdagent.desktop  
mate-session[124600]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/pulseaudio.desktop: Key file does not start with a group  
mate-session[124600]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55d5e34fbaf0 finalized while still in-construction  
mate-session[124600]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.  
mate-session[124600]: WARNING: could not read /home/gp4r/.config/autostart/pulseaudio.desktop  
mate-session[124600]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/gnome-keyring-gpg.desktop: Key file does not start with a group  
mate-session[124600]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55d5e34fbbb0 finalized while still in-construction  
mate-session[124600]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.  
mate-session[124600]: WARNING: could not read /home/gp4r/.config/autostart/gnome-keyring-gpg.desktop  
mate-session[124600]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/mate-volume-control-applet.desktop: Key file does not start with a group  
mate-session[124600]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55d5e34fbbb0 finalized while still in-construction  
mate-session[124600]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.  
mate-session[124600]: WARNING: could not read /home/gp4r/.config/autostart/mate-volume-control-applet.desktop  
mate-session[124600]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/xfce4-power-manager.desktop: Key file does not start with a group  
mate-session[124600]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55d5e34fbaf0 finalized while still in-construction  
mate-session[124600]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.  
mate-session[124600]: WARNING: could not read /home/gp4r/.config/autostart/xfce4-power-manager.desktop  
ALSA lib pulse.c:243:(pulse\_connect) PulseAudio: Unable to connect: Connection refused

\*\* (mate-settings-daemon:124638): WARNING \*\*: 14:12:59.993: Could not open RFKILL control device, please verify your installation

ERROR: NVIDIA driver is not loaded

gnome-keyring-daemon: insufficient process capabilities, insecure memory might get used  
\*\* Message: 14:13:00.721: couldn’t access control socket: /tmp/928741/keyring/control: No such file or directory  
gnome-keyring-daemon: insufficient process capabilities, insecure memory might get used  
gnome-keyring-daemon: insufficient process capabilities, insecure memory might get used

(mate-power-manager:124682): PowerManager-ERROR \*\*: 14:13:00.881: Error in dbus - GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied  
SSH\_AUTH\_SOCK=/tmp/928741/keyring/ssh

(polkit-mate-authentication-agent-1:124708): polkit-mate-1-WARNING \*\*: 14:13:00.907: Unable to determine the session we are in: No session for pid 124708  
Initializing caja-image-converter extension  
Initializing caja-xattr-tags extension  
Initializing caja-sendto extension  
Initializing caja-open-terminal extension  
Initializing caja-wallpaper extension  
SELinux Troubleshooter: Applet requires SELinux be enabled to run  
mate-session[124600]: WARNING: Detected that screensaver has left the bus  
abrt-applet: Problem connecting to dbus

(mate-settings-daemon:124638): GLib-GObject-CRITICAL \*\*: 14:13:06.832: g\_object\_unref: assertion ‘G\_IS\_OBJECT (object)’ failed

(mate-settings-daemon:124638): GLib-GObject-CRITICAL \*\*: 14:13:06.832: g\_object\_unref: assertion ‘G\_IS\_OBJECT (object)’ failed  
[1680804780,000,xklavier.c:xkl\_engine\_start\_listen/] The backend does not require manual layout management - but it is provided by the application  
Desktop ‘mate’ ended…  
Cleaning up…  
Killing Xvnc process ID 124533

I would appreciate it if you could help me how to resolve this issue.

Thank you

---

<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: [April 6, 2023, 7:28pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/2 "2023-04-06T19:28:49Z")

</div>

What version of OOD are you running?

> [@gp4r](#):
>
> SELinux Troubleshooter: Applet requires SELinux be enabled to run  
> mate-session[124600]: WARNING: Detected that screensaver has left the bus  
> abrt-applet: Problem connecting to dbus
> 
> (mate-settings-daemon:124638): GLib-GObject-CRITICAL \*\*: 14:13:06.832: g\_object\_unref: assertion ‘G\_IS\_OBJECT (object)’ failed
> 
> (mate-settings-daemon:124638): GLib-GObject-CRITICAL \*\*: 14:13:06.832: g\_object\_unref: assertion ‘G\_IS\_OBJECT (object)’ failed  
> [1680804780,000,xklavier.c:xkl\_engine\_start\_listen/] The backend does not require manual layout management - but it is provided by the application  
> Desktop ‘mate’ ended…

These lines are jumping out at me. Is SELinux enabled on your system?

---

<div class="post-metadata">

### Author: ![gp4r](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gp4r/32/62_2.png) [@gp4r](https://discourse.openondemand.org/u/gp4r)
#### Post date: [April 6, 2023, 7:37pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/3 "2023-04-06T19:37:41Z")

</div>

OOD 3.0 on Rocky 8.7

I saw the message but SELinux is disabled on both OOD and the compute node.

```auto
SELinux status: disabled
```

---

<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: [April 6, 2023, 9:10pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/4 "2023-04-06T21:10:01Z")

</div>

Could you post the `submit/*.yml` you are using for the desktop along with the `form.yml`? I’m thinking the SELinux is a dead end, and I want to see what is being passed back as this launches.

---

<div class="post-metadata">

### Author: ![gp4r](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gp4r/32/62_2.png) [@gp4r](https://discourse.openondemand.org/u/gp4r)
#### Post date: [April 6, 2023, 9:15pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/5 "2023-04-06T21:15:46Z")

</div>

we don’t have submit folder

> Blockquote  
> [root@ood-dev uva\_desktop]# ls  
> CHANGELOG.md form.yml LICENSE.txt manifest.yml submit.yml.erb template

```auto
[root@ood-dev uva_desktop]# cat form.yml
# Batch Connect app configuration file
#
# @note Used to define the submitted cluster, title, description, and
# hard-coded/user-defined attributes that make up this Batch Connect app.
---

# **MUST** set cluster id here that matches cluster configuration file located
# under /etc/ood/config/clusters.d/*.yml
# @example Use the Owens cluster at Ohio Supercomputer Center
# cluster: "owens"
cluster: "rivanna"

form:
  - desktop
  - bc_vnc_idle
  - bc_vnc_resolution
  - node_type
  - bc_account
  - bc_num_hours
  - num_cores
  - num_memory
  - gpu_type
  - num_gpu
  - option
  - optional_group

attributes:
  desktop: "mate"
  bc_vnc_idle: 0
  bc_vnc_resolution:
    required: true
  num_cores:
    widget: "number_field"
    label: "Number of cores"
    value: 1
    min: 1
    max: 40
    step: 1
  num_memory:
    widget: "number_field"
    label: "Memory Request in GB ( maximum 256G )"
    value: 6
    min: 6
    max: 256
    step: 1
  bc_account:
    label: "Required: Allocation Name"
  node_type:
    widget: select
    label: "Rivanna Partition"
    options:
      - ["Standard", "standard"]
      - ["GPU", "gpu"]
      - ["BII", "bii"]
      - ["BII-GPU", "bii-gpu"]
      - ["Dev", "dev"]
      - ["Instructional", "instructional"]
      - ["CHASE", "pcore"]

    help: |
      - **Standard** - (*1-40 cores*) Rivanna node in the standard partition.
      - **Bii,Bii-gpu** - (*1-40 cores*) Rivanna partition for Biocomplexity Institute and Initiative.
      - **GPU** - (*1-28 cores*) Rivanna node that has NVIDIA GPU.
      - **Dev** - (*1-8 cores*) For short sessions (= 1 hour) with no
        SU charge; walltime is strictly limited to an hour.
      - **Learn More** - [Rivanna Queuing Policies]

      [Rivanna Queuing Policies]: https://www.rc.virginia.edu/userinfo/rivanna/queues/

  gpu_type:
    widget: select
    label: "Optional: GPU type for GPU partition"
    options:
      - ["default", "--gres=gpu:"]
      - ["NVIDIA A100", "--gres=gpu:a100:"]
      - ["NVIDIA V100", "--gres=gpu:v100:"]
      - ["NVIDIA P100", "--gres=gpu:p100:"]
      - ["NVIDIA K80", "--gres=gpu:k80:"]
      - ["NVIDIA RTX2080", "--gres=gpu:rtx2080:"]
  num_gpu:
    widget: "number_field"
    label: "Optional: Number of GPUs ( 1 ~ 4)"
    value: 1
    min: 1
    max: 4
    step: 1
  option:
    label: "Optional: Slurm Option"
  optional_group:
    label: "Optional: Group (for access to software or storage)"

```

---

<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: [April 6, 2023, 9:21pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/6 "2023-04-06T21:21:45Z")

</div>

The `submit.yml.erb` would be the file if there’s no `submit` folder.

---

<div class="post-metadata">

### Author: ![gp4r](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gp4r/32/62_2.png) [@gp4r](https://discourse.openondemand.org/u/gp4r)
#### Post date: [April 10, 2023, 11:06pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/7 "2023-04-10T23:06:38Z")

</div>

Here is the submit.yml.erb

```auto
---
batch_connect:
  template: vnc
script:
  queue_name: "<%= node_type %>"
  native:
    - "-J"
    - "ood_desktop"
    - "-N"
    - "1"
    - "--cpus-per-task"
    - "<%= num_cores %>"
    - "--mem"
    - "<%= num_memory %>G"
    - "--output=desktop_open_ondemand.log"
    <%- unless option == "" -%>
    - "<%= option %>"
    <%- end -%>

```

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/2/2ee89e2204f7d38c679f5ed97fa4d9b3b555401d.png)

---

<div class="post-metadata">

### Author: ![gp4r](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gp4r/32/62_2.png) [@gp4r](https://discourse.openondemand.org/u/gp4r)
#### Post date: [April 11, 2023, 3:41pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/8 "2023-04-11T15:41:43Z")

</div>

I tested it on 4 different environments. They submitted a job to the same host (CentOS 7.9).

The results are;

1. OOD 1.6 on Centos 7.8 - Success
2. OOD 2.0.32 on Centos 7.9 - Success
3. OOD 3.0 on Centos 7.8 - Failed to connect to server
4. OOD 3.0 on Rocky 8.7 - Failed to connect to server

Is there something changed in 3.0 to connect VNC?

---

<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: [April 11, 2023, 4:00pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/9 "2023-04-11T16:00:46Z")

</div>

No, there shouldn’t be a change, but I’m wondering if enforcement around an OOD convention is causing the issue.

If you look at the docs, anything under that root directory of the app _will be treated as a `form.yml`_ and as such, OOD thinks it is an app. To ensure it is looking at those `submit.yml` and `your_cluster.yml` files correctly, you need to create a directory in the apps root such as `submit/` and land the `submit.yml.erb` there while also adding the following to the app’s `form.yml`:

```yaml
...
submit: "submit/my_submit.yml.erb"`
...

```

Which you can see here:  
[https://osc.github.io/ood-documentation/latest/enable-desktops/custom-job-submission.html](https://osc.github.io/ood-documentation/latest/enable-desktops/custom-job-submission.html)

Then, for the cluster to work right using the docs here:  
[https://osc.github.io/ood-documentation/latest/enable-desktops/add-cluster.html](https://osc.github.io/ood-documentation/latest/enable-desktops/add-cluster.html)

You will want a `my_cluster.yml` in the `clusters.d/` dir you make, and then make sure the name of that file matches what you add to the `form.yml`:

```yaml
...
cluster: "my_cluster"
...

```

Once you have that all setup, what happens at submit for the job?

It may be that previous versions did not enforce this file structure as strictly and why they worked, but there should be this separation of `submit`s, `form`s, and `cluster` files to help make sense of what the various `yml` files do.

---

<div class="post-metadata">

### Author: ![gp4r](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gp4r/32/62_2.png) [@gp4r](https://discourse.openondemand.org/u/gp4r)
#### Post date: [April 11, 2023, 4:55pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/10 "2023-04-11T16:55:34Z")

</div>

Thanks for the suggestions.  
I created “/etc/ood/config/apps/uva\_desktop/rivanna.yml”

```auto
---
title: "Desktop"
cluster: "rivanna"
submit: "submit/submit.yml.erb"

```

and moved “submit.yml.erb” into submit folder.  
However, I got `sbatch: error: Batch job submission failed: No partition specified or system default partition` Slurm error.

I moved “submit.yml.erb” back to root directory and I was able to submit a job.

But still no VNC error.

---

<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: [April 11, 2023, 7:03pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/11 "2023-04-11T19:03:05Z")

</div>

You will want to leave that file in the `submit` folder or OOD will not recognize it as the `submit`. That is called out in the Danger banner in the docs:  
[https://osc.github.io/ood-documentation/latest/enable-desktops/custom-job-submission.html](https://osc.github.io/ood-documentation/latest/enable-desktops/custom-job-submission.html)

Ensure you have the `rivanna.yml` cluster file in the `/etc/ood/config/clusters.d/` directory.

Your app directory should have the following form at the end:

```auto
uva_desktop/rivanna.yml
uva_desktop/submit/submit.yml.erb

```

And the `uva_desktop/rivannv.yml` should have:

```yaml
---
title: "Desktop"
cluster: "rivanna"
submit: "submit/submit.yml.erb"

```

And at that point, is this when you get the `sbatch: error: Batch job submission failed: No partition specified or system default partition Slurm error.` error?

---

<div class="post-metadata">

### Author: ![gp4r](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gp4r/32/62_2.png) [@gp4r](https://discourse.openondemand.org/u/gp4r)
#### Post date: [April 11, 2023, 7:28pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/12 "2023-04-11T19:28:49Z")

</div>

I misunderstood and created submit folder in /var/www/ood/apps/sys/uva\_desktop.

I moved the submit folder into /etc/ood/config/apps/uva\_desktop/ and I have no issue submitting a job.

However, VNC still doesn’t work.

---

<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: [April 11, 2023, 9:20pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/13 "2023-04-11T21:20:45Z")

</div>

Ok, is the error that `sbatch: error: Batch job submission failed: No partition specified or system default partition Slurm error` message at this point or something else now?

---

<div class="post-metadata">

### Author: ![gp4r](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gp4r/32/62_2.png) [@gp4r](https://discourse.openondemand.org/u/gp4r)
#### Post date: [April 11, 2023, 9:43pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/14 "2023-04-11T21:43:54Z")

</div>

no more Slurm error messages. Only VNC connection is the issue.

---

<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: [April 12, 2023, 12:46pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/15 "2023-04-12T12:46:21Z")

</div>

Could you post the output of the `output.log` and `vnc.log` from the session.

---

<div class="post-metadata">

### Author: ![gp4r](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gp4r/32/62_2.png) [@gp4r](https://discourse.openondemand.org/u/gp4r)
#### Post date: [April 12, 2023, 1:18pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/16 "2023-04-12T13:18:36Z")

</div>

```auto
Setting VNC password...
Starting VNC server...

WARNING: udc-ba27-18:9 is taken because of /tmp/.X9-lock
Remove this file if there is no X server udc-ba27-18:9
Killing Xvnc process ID 31149
Xvnc process ID 31149 already killed
Xvnc did not appear to shut down cleanly. Removing /tmp/.X11-unix/X9
Xvnc did not appear to shut down cleanly. Removing /tmp/.X9-lock

WARNING: udc-ba27-18:1 is taken because of /tmp/.X1-lock
Remove this file if there is no X server udc-ba27-18:1

WARNING: udc-ba27-18:2 is taken because of /tmp/.X2-lock
Remove this file if there is no X server udc-ba27-18:2

WARNING: udc-ba27-18:3 is taken because of /tmp/.X3-lock
Remove this file if there is no X server udc-ba27-18:3

WARNING: udc-ba27-18:4 is taken because of /tmp/.X4-lock
Remove this file if there is no X server udc-ba27-18:4

WARNING: udc-ba27-18:5 is taken because of /tmp/.X5-lock
Remove this file if there is no X server udc-ba27-18:5

WARNING: udc-ba27-18:6 is taken because of /tmp/.X6-lock
Remove this file if there is no X server udc-ba27-18:6

WARNING: udc-ba27-18:7 is taken because of /tmp/.X7-lock
Remove this file if there is no X server udc-ba27-18:7

WARNING: udc-ba27-18:8 is taken because of /tmp/.X8-lock
Remove this file if there is no X server udc-ba27-18:8

Desktop 'TurboVNC: udc-ba27-18:9 (gp4r)' started on display udc-ba27-18:9

Log file is vnc.log
Successfully started VNC server on udc-ba27-18:5909...
Script starting...
Starting websocket server...
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/pulseaudio.desktop: No such file or directory
cat: /etc/xdg/autostart/rhsm-icon.desktop: No such file or directory
cat: /etc/xdg/autostart/xfce4-power-manager.desktop: No such file or directory
WebSocket server settings:
  - Listen on :10043
  - Flash security policy server
  - No SSL/TLS support (no cert file)
  - Backgrounding (daemon)
Scanning VNC log file for user authentications...
Generating connection YAML file...
generating cookie with syscall
generating cookie with syscall
generating cookie with syscall
generating cookie with syscall
mate-session[8096]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/rhsm-icon.desktop: Key file does not start with a group
mate-session[8096]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x1885250 finalized while still in-construction
mate-session[8096]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[8096]: WARNING: could not read /home/gp4r/.config/autostart/rhsm-icon.desktop
mate-session[8096]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/pulseaudio.desktop: Key file does not start with a group
mate-session[8096]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x18854c0 finalized while still in-construction
mate-session[8096]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[8096]: WARNING: could not read /home/gp4r/.config/autostart/pulseaudio.desktop
mate-session[8096]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/gnome-keyring-gpg.desktop: Key file does not start with a group
mate-session[8096]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x18854c0 finalized while still in-construction
mate-session[8096]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[8096]: WARNING: could not read /home/gp4r/.config/autostart/gnome-keyring-gpg.desktop
mate-session[8096]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/xfce4-power-manager.desktop: Key file does not start with a group
mate-session[8096]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x7f25b800a6a0 finalized while still in-construction
mate-session[8096]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[8096]: WARNING: could not read /home/gp4r/.config/autostart/xfce4-power-manager.desktop
SELinux Troubleshooter: Applet requires SELinux be enabled to run.

ERROR: NVIDIA driver is not loaded

ERROR: Unable to load info from any available system

***ERROR***
TI:09:05:27	TH:0x24e7060	FI:gpm-manager.c	FN:gpm_manager_systemd_inhibit,1784
 - Error in dbus - GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied
Traceback:
	mate-power-manager() [0x418b9f]
	mate-power-manager() [0x411220]
	/lib64/libgobject-2.0.so.0(g_type_create_instance+0x1fb) [0x7f342724260b]
	/lib64/libgobject-2.0.so.0(+0x1528d) [0x7f342722628d]
	/lib64/libgobject-2.0.so.0(g_object_new_with_properties+0x27d) [0x7f3427227b3d]
	/lib64/libgobject-2.0.so.0(g_object_new+0xc1) [0x7f3427228521]
	mate-power-manager() [0x411a22]
	mate-power-manager() [0x4080b8]
	/lib64/libc.so.6(__libc_start_main+0xf5) [0x7f3426631555]
	mate-power-manager() [0x4083db]

(nm-applet:8198): nm-applet-WARNING **: 09:05:27.486: NetworkManager is not running
Initializing caja-image-converter extension
Initializing caja-open-terminal extension
/usr/share/system-config-printer/applet.py:44: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify
system-config-printer-applet: failed to start NewPrinterNotification service
system-config-printer-applet: failed to start PrinterDriversInstaller service: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.99089" is not allowed to own the service "com.redhat.PrinterDriversInstaller" due to security policies in the configuration file

```

I have attached the log file.

I saw the Desktop session that was created by ood 3.0 in ood 2.0 and 1.6 since we are sharing the home directory. I was able to access the existing desktop session from ood 2.0 and ood 1.6 without any issues.

---

<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: [April 13, 2023, 3:24pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/17 "2023-04-13T15:24:15Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![gp4r](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gp4r/32/62_2.png) [@gp4r](https://discourse.openondemand.org/u/gp4r)
#### Post date: [August 10, 2023, 4:26pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/18 "2023-08-10T16:26:32Z")

</div>

Sorry for the late response. I was busy with other projects.

I removed two packages but still can’t connect VNC. Here is the output log.

```auto
Setting VNC password...
Starting VNC server...

Desktop 'TurboVNC: udc-aj40-29:1 (gp4r)' started on display udc-aj40-29:1

Log file is vnc.log
Successfully started VNC server on udc-aj40-29:5901...
Script starting...
Starting websocket server...
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
cat: /etc/xdg/autostart/xfce4-power-manager.desktop: No such file or directory
mate-session[20219]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/rhsm-icon.desktop: Key file does not start with a group
mate-session[20219]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55fd84f790b0 finalized while still in-construction
mate-session[20219]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[20219]: WARNING: could not read /home/gp4r/.config/autostart/rhsm-icon.desktop
mate-session[20219]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/spice-vdagent.desktop: Key file does not start with a group
mate-session[20219]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55fd84f79170 finalized while still in-construction
mate-session[20219]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[20219]: WARNING: could not read /home/gp4r/.config/autostart/spice-vdagent.desktop
mate-session[20219]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/pulseaudio.desktop: Key file does not start with a group
mate-session[20219]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55fd84f792f0 finalized while still in-construction
mate-session[20219]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[20219]: WARNING: could not read /home/gp4r/.config/autostart/pulseaudio.desktop
mate-session[20219]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/gnome-keyring-gpg.desktop: Key file does not start with a group
mate-session[20219]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55fd84f793b0 finalized while still in-construction
mate-session[20219]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[20219]: WARNING: could not read /home/gp4r/.config/autostart/gnome-keyring-gpg.desktop
mate-session[20219]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/mate-volume-control-applet.desktop: Key file does not start with a group
mate-session[20219]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55fd84f793b0 finalized while still in-construction
mate-session[20219]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[20219]: WARNING: could not read /home/gp4r/.config/autostart/mate-volume-control-applet.desktop
mate-session[20219]: WARNING: Could not parse desktop file /home/gp4r/.config/autostart/xfce4-power-manager.desktop: Key file does not start with a group
mate-session[20219]: GLib-GObject-CRITICAL: object GsmAutostartApp 0x55fd84f792f0 finalized while still in-construction
mate-session[20219]: GLib-GObject-CRITICAL: Custom constructor for class GsmAutostartApp returned NULL (which is invalid). Please use GInitable instead.
mate-session[20219]: WARNING: could not read /home/gp4r/.config/autostart/xfce4-power-manager.desktop
ALSA lib pulse.c:243:(pulse_connect) PulseAudio: Unable to connect: Connection refused

**(mate-settings-daemon:20253): WARNING**: 12:19:45.777: Could not open RFKILL control device, please verify your installation
WebSocket server settings:
  - Listen on :54929
  - No SSL/TLS support (no cert file)
  - Backgrounding (daemon)
Scanning VNC log file for user authentications...
Generating connection YAML file...
gnome-keyring-daemon: insufficient process capabilities, insecure memory might get used
** Message: 12:19:46.651: couldn't access control socket: /tmp/928741/keyring/control: No such file or directory

ERROR: NVIDIA driver is not loaded

gnome-keyring-daemon: insufficient process capabilities, insecure memory might get used
gnome-keyring-daemon: insufficient process capabilities, insecure memory might get used

(polkit-mate-authentication-agent-1:20338): polkit-mate-1-WARNING **: 12:19:46.765: Unable to determine the session we are in: No session for pid 20338
SSH_AUTH_SOCK=/tmp/928741/keyring/ssh
Initializing caja-image-converter extension
Initializing caja-xattr-tags extension
Initializing caja-sendto extension
Initializing caja-open-terminal extension
Initializing caja-wallpaper extension
SELinux Troubleshooter: Applet requires SELinux be enabled to run
mate-session[20219]: WARNING: Detected that screensaver has left the bus
abrt-applet: Problem connecting to dbus

(mate-settings-daemon:20253): GLib-GObject-CRITICAL **: 12:19:52.357: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(mate-settings-daemon:20253): GLib-GObject-CRITICAL **: 12:19:52.357: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[1691684386,000,xklavier.c:xkl_engine_start_listen/] The backend does not require manual layout management - but it is provided by the application
Desktop 'mate' ended...
Cleaning up...
Killing Xvnc process ID 20150

```

vnc.log

```auto
TurboVNC Server (Xvnc) 64-bit v2.2.6 (build 20210221)
Copyright (C) 1999-2021 The VirtualGL Project and many others (see README.txt)
Visit http://www.TurboVNC.org for more information on TurboVNC

10/08/2023 12:19:43 Using security configuration file /etc/turbovncserver-security.conf
10/08/2023 12:19:43 Enabled security type 'tlsvnc'
10/08/2023 12:19:43 Enabled security type 'tlsotp'
10/08/2023 12:19:43 Enabled security type 'tlsplain'
10/08/2023 12:19:43 Enabled security type 'x509vnc'
10/08/2023 12:19:43 Enabled security type 'x509otp'
10/08/2023 12:19:43 Enabled security type 'x509plain'
10/08/2023 12:19:43 Enabled security type 'vnc'
10/08/2023 12:19:43 Enabled security type 'otp'
10/08/2023 12:19:43 Enabled security type 'unixlogin'
10/08/2023 12:19:43 Enabled security type 'plain'
10/08/2023 12:19:43 Desktop name 'TurboVNC: udc-aj40-29:1 (gp4r)' (udc-aj40-29:1)
10/08/2023 12:19:43 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
10/08/2023 12:19:43 Listening for VNC connections on TCP port 5901
10/08/2023 12:19:43 Interface 0.0.0.0
10/08/2023 12:19:43 Framebuffer: BGRX 8/8/8/8
10/08/2023 12:19:43 New desktop size: 800 x 600
10/08/2023 12:19:43 New screen layout:
10/08/2023 12:19:43 0x00000040 (output 0x00000040): 800x600+0+0
10/08/2023 12:19:43 Maximum clipboard transfer size: 1048576 bytes
10/08/2023 12:19:43 VNC extension running!

```

---

<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: [February 6, 2024, 4:26pm UTC](https://discourse.openondemand.org/t/ood-desktop-doesnt-work-on-rocky-8-7/2601/19 "2024-02-06T16:26:40Z")

</div>

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