# RHEL 9 OpenNebula Sunstone noVNC Issues

**URL:** <https://forum.opennebula.io/t/rhel-9-opennebula-sunstone-novnc-issues/13823>\
**Category:** Product Support\
**Created:** [May 9, 2025, 4:21pm UTC](https://forum.opennebula.io/t/rhel-9-opennebula-sunstone-novnc-issues/13823 "2025-05-09T16:21:50Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex.shulta](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@alex.shulta](https://forum.opennebula.io/u/alex.shulta)\
**Post date:** [May 9, 2025, 4:21pm UTC](https://forum.opennebula.io/t/rhel-9-opennebula-sunstone-novnc-issues/13823/1 "2025-05-09T16:21:50Z")

</div>

I just migrated my front-end from a RHEL 8 server to a RHEL 9 server. Everything works as expected except for the VNC connections to the VMs. opennebula-novnc starts and is running without issue. I synced all of my config files, where necessary, from the old host to the new one, including my proxy config and everything.

When I attempt to launch a VNC session, it opens the new page with “Failed” and then prints two lines to /var/log/one/novnc.log:  
handler exception: [Errno 2] No such file or directory  
handler exception: [Errno 2] No such file or directory

I’m at a loss where the issue could lie since the RHEL 8 instance worked just fine. The specific errors appear to be python-related, but again, not sure where.

Here is some useful config files that are identical between the RHEL 8 server and RHEL 9:

# /etc/lighttpd/conf.d/proxy.conf

proxy.server = ( “” =\>  
(“” =\>  
(  
“host” =\> “127.0.0.1”,  
“port” =\> 9869  
)  
)  
)

#### SSL engine

ssl.engine = “enable”  
ssl.pemfile = “/etc/lighttpd/server.pem”

ssl.honor-cipher-order = “enable”  
ssl.cipher-list = “EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH”  
ssl.use-compression = “disable”

server.modules += ( “mod\_setenv” )

setenv.add-response-header = (  
“Strict-Transport-Security” =\> “max-age=63072000; includeSubDomains; preload”,  
“X-Frame-Options” =\> “DENY”,  
“X-Content-Type-Options” =\> “nosniff”,  
“X-XSS-Protection” =\> “1; mode=Block”  
)  
ssl.use-sslv2 = “disable”  
ssl.use-sslv3 = “disable”

# /etc/lighttpd/modules.conf

server.modules = (  
“mod\_access”,  
“mod\_alias”  
)  
include conf\_dir + “/conf.d/proxy.conf”

# /etc/lighttpd/lighttpd.conf

include conf\_dir + “/modules.conf”  
server.port = 443

# /etc/one/sunstone-server.conf

:vnc\_proxy\_port: 29876  
:vnc\_proxy\_support\_wss: yes  
:vnc\_proxy\_cert: /etc/lighttpd/server.pem  
:vnc\_proxy\_key:  
:vnc\_proxy\_ipv6: false  
:vnc\_request\_password: false  
:allow\_vnc\_federation: no  
#:private\_fireedge\_endpoint: [http://localhost:2616](http://localhost:2616) \< if I uncomment this, VNC gets a tunnel error  
:public\_fireedge\_endpoint: [http://localhost:2616](http://localhost:2616)

And to add, the proxy works just fine too. I connect to the web UI through the proxy.

---

<div class="post-metadata">

**Author:** ![alex.shulta](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@alex.shulta](https://forum.opennebula.io/u/alex.shulta)\
**Post date:** [May 12, 2025, 5:18pm UTC](https://forum.opennebula.io/t/rhel-9-opennebula-sunstone-novnc-issues/13823/2 "2025-05-12T17:18:10Z")

</div>

Self-solved. The sunstone-server.conf is misleading (at least for RHEL 9). On RHEL 8, I ran the proxy\_cert with both the key and the cert in one file and set that in sunstone-server.conf. In RHEL 9, that doesn’t appear to work. I bolded the statement in the config file below.

This is what I changed from above, I split the server.pem file into a .crt and .key file:  
#cert: Certificate to encrypt wss connections.  
#key: Key for wss connections. **Only necessary if not included in cert.**  
:vnc\_proxy\_cert: /etc/lighttpd/server.crt  
:vnc\_proxy\_key: /etc/lighttpd/server.key

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [May 14, 2025, 10:35am UTC](https://forum.opennebula.io/t/rhel-9-opennebula-sunstone-novnc-issues/13823/3 "2025-05-14T10:35:31Z")

</div>

Thanks @alex.shulta to share the workaround. I’ll check with the team to see if we need to add a mention on the documentation.

Cheers,

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [May 14, 2025, 4:09pm UTC](https://forum.opennebula.io/t/rhel-9-opennebula-sunstone-novnc-issues/13823/4 "2025-05-14T16:09:36Z")

</div>

Hi @alex.shulta,

I’ve checked with the team, and they mentioned that noVNC is no longer supported, but Guacamole, so probably the issue has been solved in recent versions of OpenNebula.

Check if you can install 6.10, since it’s the latest version and brings some fixes, so this issue might be solved already.

Cheers,

---

<div class="post-metadata">

**Author:** ![alex.shulta](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@alex.shulta](https://forum.opennebula.io/u/alex.shulta)\
**Post date:** [May 14, 2025, 4:12pm UTC](https://forum.opennebula.io/t/rhel-9-opennebula-sunstone-novnc-issues/13823/5 "2025-05-14T16:12:26Z")

</div>

I am running this on 6.10. I guess I didn’t mention that in my post. It was 6.10 on my RHEL 8 server and 6.10 on my RHEL 9 server.

---

<div class="post-metadata">

**Author:** ![FrancJP](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/francjp/32/7690_2.png) [@FrancJP](https://forum.opennebula.io/u/FrancJP)\
**Post date:** [May 14, 2025, 4:20pm UTC](https://forum.opennebula.io/t/rhel-9-opennebula-sunstone-novnc-issues/13823/6 "2025-05-14T16:20:08Z")

</div>

Ok, that’s weird then. In any case, I forgot to mention that on top of this, you should download the `opennebula-guacd` package and have fireedge active, and configure sunstone to communicate with fireedge. setting `:private_fireedge_endpoint` and `:public_fireedge_endpoint` in `/etc/one/sunstone-server.conf.`

More info on the documentation [Legacy Components](https://docs.opennebula.io/6.10/legacy_components/ruby_sunstone/sunstone.html)

Cheers,

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/1/14d66f1130b9cd292905f575da9b68a9f574dd03.png) [@system](https://forum.opennebula.io/u/system)\
**Post date:** [June 25, 2025, 3:47pm UTC](https://forum.opennebula.io/t/rhel-9-opennebula-sunstone-novnc-issues/13823/7 "2025-06-25T15:47:00Z")

</div>

Closed on June 25, 2025, 3:47pm UTC

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