I'm able to login to GUI using root user but not from any other user. Seems Xserver issue

Hi,
Opensuse Leap 42.3 x64
Yesterday, after a system upgrade i.e. sudo apt-get upgrade, I restarted my system. After that, whenever i am entering my login credentials (other than root) on the login screen, screen is getting black, and its redirecting me to the login page again. Couldn’t find any working solution. But, when I logged in as root user, I got the desktop and its working normally. I tried creating other user from root who are standard users and tried logging and they too have the same issue.

Following is the output of some log files:
Xorg.0.log

rockr-pc:/home/rockr_backup/.local/share/xorg # cat Xorg.0.log
   922.042] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
   922.043] _XSERVTransMakeAllCOTSServerListeners: server already running
   922.044] (EE) 
Fatal server error:
   922.046] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 
   922.047] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
   922.051] (EE) Please also check the log file at "/home/rockr/.local/share/xorg/Xorg.0.log" for additional information.
   922.052] (EE) 
   922.053] (EE) Server terminated with error (1). Closing log file.

Xorg.1.log:

rockr-pc:/home/rockr_backup/.local/share/xorg # cat Xorg.1.log
   199.606] 
X.Org X Server 1.18.3
Release Date: 2016-04-04
   199.606] X Protocol Version 11, Revision 0
   199.606] Build Operating System: openSUSE SUSE LINUX
   199.606] Current Operating System: Linux rockr-pc 4.4.92-31-default #1 SMP Sun Oct 22 06:56:24 UTC 2017 (1d80e8a) x86_64
   199.606] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.92-31-default root=UUID=414e32ec-37c7-43f9-bee7-2dbe57949940 resume=/dev/sda2 splash=silent quiet showopts
   199.606] Build Date: 16 October 2017  07:19:15PM
   199.606]  
   199.606] Current version of pixman: 0.34.0
   199.606]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
   199.606] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
   199.607] (==) Log file: "/home/rockr/.local/share/xorg/Xorg.1.log", Time: Fri Nov 17 17:40:52 2017
   199.607] (==) Using config file: "/etc/X11/xorg.conf"
   199.607] (==) Using config directory: "/etc/X11/xorg.conf.d"
   199.607] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
   199.609] (==) ServerLayout "Layout"
   199.609] (**) |-->Screen "vboxvideo" (0)
   199.609] (**) |   |-->Monitor "<default monitor>"
   199.609] (**) |   |-->Device "vboxvideo"
   199.609] (==) No monitor specified for screen "vboxvideo".
    Using a default monitor configuration.
   199.609] (**) |-->Screen "vmware" (1)
   199.609] (**) |   |-->Monitor "<default monitor>"
   199.609] (**) |   |-->Device "vmware"
   199.609] (==) No monitor specified for screen "vmware".
    Using a default monitor configuration.
   199.609] (**) |-->Screen "modesetting" (2)
   199.609] (**) |   |-->Monitor "<default monitor>"
   199.610] (**) |   |-->Device "modesetting"
   199.610] (==) No monitor specified for screen "modesetting".
    Using a default monitor configuration.
   199.610] (**) |-->Screen "fbdev" (3)
   199.610] (**) |   |-->Monitor "<default monitor>"
   199.610] (**) |   |-->Device "fbdev"
   199.610] (==) No monitor specified for screen "fbdev".
    Using a default monitor configuration.
   199.610] (**) |-->Screen "vesa" (4)
   199.610] (**) |   |-->Monitor "<default monitor>"
   199.610] (**) |   |-->Device "vesa"
   199.610] (==) No monitor specified for screen "vesa".
    Using a default monitor configuration.
   199.610] (==) Automatically adding devices
   199.610] (==) Automatically enabling devices
   199.610] (==) Automatically adding GPU devices
   199.610] (==) Max clients allowed: 256, resource mask: 0x1fffff
   199.611] (WW) The directory "/usr/share/fonts/misc/sgi" does not exist.
   199.611]     Entry deleted from font path.
   199.611] (==) FontPath set to:
    /usr/share/fonts/misc:unscaled,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/ghostscript/,
    /usr/share/fonts/cyrillic:unscaled,
    /usr/share/fonts/truetype/,
    built-ins
   199.611] (==) ModulePath set to "/usr/lib64/xorg/modules"
   199.611] (**) Extension "XFree86-DGA" is disabled
   199.611] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
   199.611] (II) Loader magic: 0x80fce0
   199.611] (II) Module ABI versions:
   199.611]     X.Org ANSI C Emulation: 0.4
   199.611]     X.Org Video Driver: 20.0
   199.611]     X.Org XInput driver : 22.1
   199.611]     X.Org Server Extension : 9.0
   199.612] (++) using VT number 1

   199.612] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
   199.613] (II) xfree86: Adding drm device (/dev/dri/card0)
   200.029] (--) PCI:*(0:0:2:0) 8086:5916:1043:1490 rev 2, Mem @ 0xed000000/16777216, 0xc0000000/268435456, I/O @ 0x0000f000/64
   200.030] (II) LoadModule: "glx"
   200.030] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
   200.033] (II) Module glx: vendor="X.Org Foundation"
   200.033]     compiled for 1.18.3, module version = 1.0.0
   200.033]     ABI class: X.Org Server Extension, version 9.0
   200.033] (==) AIGLX enabled
   200.033] (II) LoadModule: "vboxvideo"
   200.033] (WW) Warning, couldn't open module vboxvideo
   200.033] (II) UnloadModule: "vboxvideo"
   200.034] (II) Unloading vboxvideo
   200.034] (EE) Failed to load module "vboxvideo" (module does not exist, 0)
   200.034] (II) LoadModule: "vmware"
   200.034] (WW) Warning, couldn't open module vmware
   200.034] (II) UnloadModule: "vmware"
   200.034] (II) Unloading vmware
   200.034] (EE) Failed to load module "vmware" (module does not exist, 0)
   200.034] (II) LoadModule: "modesetting"
   200.034] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
   200.035] (II) Module modesetting: vendor="X.Org Foundation"
   200.035]     compiled for 1.18.3, module version = 1.18.3
   200.035]     Module class: X.Org Video Driver
   200.035]     ABI class: X.Org Video Driver, version 20.0
   200.035] (II) LoadModule: "fbdev"
   200.035] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
   200.035] (II) Module fbdev: vendor="X.Org Foundation"
   200.035]     compiled for 1.18.3, module version = 0.4.4
   200.035]     Module class: X.Org Video Driver
   200.035]     ABI class: X.Org Video Driver, version 20.0
   200.035] (II) LoadModule: "vesa"
   200.035] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
   200.036] (II) Module vesa: vendor="X.Org Foundation"
   200.036]     compiled for 1.18.3, module version = 2.3.4
   200.036]     Module class: X.Org Video Driver
   200.036]     ABI class: X.Org Video Driver, version 20.0
   200.036] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
   200.036] (II) FBDEV: driver for framebuffer: fbdev
   200.036] (II) VESA: driver for VESA chipsets: vesa
   200.036] (WW) xf86OpenConsole: VT_ACTIVATE failed: Operation not permitted
   200.036] (EE) 
Fatal server error:
   200.036] (EE) xf86OpenConsole: Switching VT failed
   200.036] (EE) 
   200.036] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
   200.036] (EE) Please also check the log file at "/home/rockr/.local/share/xorg/Xorg.1.log" for additional information.
   200.036] (EE)

Output of lspci:

rockr-pc:/home/rockr_backup/.local/share/xorg # lspci
00:00.0 Host bridge: Intel Corporation Device 5904 (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02)
00:04.0 Signal processing controller: Intel Corporation Skylake Processor Thermal Subsystem (rev 02)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device 9d58 (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev ff)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
03:00.0 Network controller: Qualcomm Atheros Device 0042 (rev 31)

I have Nvidia bumblebee installed with Geforce 940MX which was working fine before this upgrade.
My system is an Asus R558U with intel Core i7, 8GB ram and 1TB HDD.

Please help me with this issue, I’m new to linux environment.

Thanks,
Amulya

We don’t use aptitude (apt-get) in openSUSE, we use an RPM package and package management system.
Also, I don’t know for sure if you really attempted an “upgrade” which in openSUSE means migrating from one major release to another or an “update” which are only minor changes but staying within the same major release.

If your root partition is BTRFS, try rolling back to before your attempted upgrade and reboot.

You can also run a DVD for whatever openSUSE version you’re running (again, are you upgrading or updating?), run and “upgrade” which should re-install your system… then <update> your system afterwards to install current versions of files.

If any of what I described is unclear, post again with your question,

TSU