# VNC Configuration file ?

**URL:** <https://forums.suse.com/t/vnc-configuration-file/34343>\
**Category:** SLES Configure-Administer\
**Created:** [September 9, 2019, 11:31pm UTC](https://forums.suse.com/t/vnc-configuration-file/34343 "2019-09-09T23:31:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cisaksen](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cisaksen](https://forums.suse.com/u/cisaksen)\
**Post date:** [September 9, 2019, 11:31pm UTC](https://forums.suse.com/t/vnc-configuration-file/34343/1 "2019-09-09T23:31:31Z")

</div>

Does anyone know where SUSE moved the VNC configuration file ?

It was /etc/xinetd.d/vnc in SUSE 12, in SUSE 15 /etc/xinetd.d doesn’t even exist.  
Did a search for vnc in /etc and only found a folder called vnc with a tls cert and key in it and a vnc file in pam.d.

thanks

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [September 10, 2019, 1:08am UTC](https://forums.suse.com/t/vnc-configuration-file/34343/2 "2019-09-10T01:08:18Z")

</div>

[QUOTE=cisaksen;58417]Does anyone know where SUSE moved the VNC configuration file ?

It was /etc/xinetd.d/vnc in SUSE 12, in SUSE 15 /etc/xinetd.d doesn’t even exist.  
Did a search for vnc in /etc and only found a folder called vnc with a tls cert and key in it and a vnc file in pam.d.

thanks[/QUOTE]  
Hi  
Likely a systemd service now 😉

Did you follow this document? [https://www.suse.com/documentation/sles-15/book\_sle\_admin/data/cha\_vnc.html](https://www.suse.com/documentation/sles-15/book_sle_admin/data/cha_vnc.html)

I see this one as well? [https://www.server-world.info/en/note?os=SUSE\_Linux\_Enterprise\_15&p=desktop&f=4](https://www.server-world.info/en/note?os=SUSE_Linux_Enterprise_15&p=desktop&f=4)

---

<div class="post-metadata">

**Author:** ![cisaksen](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cisaksen](https://forums.suse.com/u/cisaksen)\
**Post date:** [September 10, 2019, 3:32pm UTC](https://forums.suse.com/t/vnc-configuration-file/34343/3 "2019-09-10T15:32:35Z")

</div>

Yes and neither helps find this file. This file used to have the session configuration information, screen resolution etc… for each VNC session allowed. I’m guessing that it has either moved to a new location outside /etc (doesn’t make sense to do this), or it was renamed, or moved into another file. Maybe I’ll open a case.

If it is a systemd service -I’m really starting to hate it. Not everything has to move to systemd. It’s not the answer to everything and it never should have been. Already running into problems with other applications that do not run well under systemd and ran fine as an init.d service. Sorry just venting a little.

---

<div class="post-metadata">

**Author:** ![cisaksen](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@cisaksen](https://forums.suse.com/u/cisaksen)\
**Post date:** [September 10, 2019, 10:45pm UTC](https://forums.suse.com/t/vnc-configuration-file/34343/4 "2019-09-10T22:45:45Z")

</div>

After some more digging I found this in the /usr/lib/systemd/system/Xvnc@.service file.

[Unit]  
Description=Xvnc Server

[Service]  
ExecStart=/usr/lib/vnc/with-vnc-key.sh /usr/bin/Xvnc -noreset -inetd -once -query localhost -geometry 1024x768 -securitytypes X509None,None -X509Key /etc/vnc/tls.key -X509Cert /etc/vnc/tls.cert -log \*:syslog:30 -extension MIT-SHM  
User=vnc  
StandardInput=socket  
StandardOutput=socket  
StandardError=syslog

So it seems that it is now a systemd service and instead of having a single service support multiple sessions. You now have to have multiple services to support each session.  
How is this better than it was before ?
