Two X Servers running

I am running to a weird issue. After installation of Suse Enterprise Linux Desktop (this is a custom installation created using kiwi), I found that we are running two X servers one on tty7 (default) and one on tty2.
When I dug deep into the issue, the following is observed. The system onstartup runs only one X Server on tty7 with all the related services as user “gdm” on tty7. This I noticed by logging into console in tty1 before logging in at Xconsole in tty7. But immediately after logging in, when I run ps -aef | grep tty2, I found there is an X session started. All the processes were running under the username in which I logged in at tty7. This unnecessarily consumes additional resources.

The process tree which starts the second session is like this. “gdm-session-worker (pam/gdm–password)” → “gdm-x-session --run-script gnome” → “/usr/bin/X vt2 …”

Need to understand which process is triggering gdm-session-worker
The desktop is gnome and window manager is gdm
Any hint in what could be going wrong?
Thank you

This is a bit confusing. First you choose LEAP 15.0 from the prefix of the title and now you say

When it is SLES/SLED, you are wrong because these are the openSUSE forums. Please then go to Rancher Labs (same credentials as here).

Thank you hcvv, I have now posted in the suse forum as well.

But since the problem is more do to do with gdm/gnome configuration, it is still relevant with LEAP 15 as well. Any suggestion here may hopefully address the issue.

It is just the way that “gdm” works.

I would not call it “two X servers”. I would call it two graphic sessions under the one X server.

Can you show us

ps -elf|grep X

It’s not a Gnome Wayland session with Xwayland running as well perhaps?

Hi
Yes, responded the same on the SUSE forum :wink: