Unable to log into KDE/GUI

I’m running OpenSUSE 12.3. Yesterday, I uninstalled/reinstalled GCC via YaST. One of the updates removed some plasma packages (so I couldn’t add a calendar/terminal shortcut to my toolbar), so I reinstalled plasma for KDE, finished my work, and shut down for the day. Today, I’m confronted with a new login screen (it’s bland and gray) and, though it acknowledges my correct username/password combo and will attempt to start my desktop, I cannot get past this screen into my KDE. Does anyone have some ideas how to fix?

OH! I can start a terminal, log in as me or root or my “guest”, and maneuver and make files and directories and such, so it’s just the GUI?

Anywho, thanks for any help you can give.

That’s most likely xdm.
Install the package kdm to get back KDE’s login manager.

OH! I can start a terminal, log in as me or root or my “guest”, and maneuver and make files and directories and such, so it’s just the GUI?

Can you login to another desktop session by clicking on the gear symbol in kdm? (IceWM should be installed by default)

Please post your repo list:

zypper lr -d

and the content of /var/log/kdm.log.

What happens when you run “startkde” in a terminal window (inside IceWM)?
X itself seems to work since otherwise you wouldn’t get any login screen and drop back to text mode.

I can’t download any new packages/software because I can’t connect to the internet now via that computer. ifconfig shows wlan0 as up, but neither can I ping nor zypper anything for install/upgrade.

startkde returns

$DISPLAY is not set or cannot connect to the X server

Here’s the output from my zypper lr -d command:

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

—±---------------------------------------±---------------------------------------±--------±--------±---------±-------±----------------------------------------------------------------------------------------------------±-------
1 | Java:packages | Java:packages | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/Java:/packages/openSUSE_12.3/ |
2 | devel:gcc | devel:gcc | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/devel:/gcc/openSUSE_12.3/ |
3 | download.opensuse.org-oss | Main Repository (DEBUG) | Yes | Yes | 99 | yast2 | http://download.opensuse.org/debug/distribution/12.3/repo/oss/ |
4 | download.opensuse.org-update | Update Repository (DEBUG) | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/debug/update/12.3/ |
5 | home:Mailaender:branches:Java:packages | home:Mailaender:branches:Java:packages | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/Mailaender:/branches:/Java:/packages/openSUSE_12.3/ |
6 | home:beyerle:gcc48 | home:beyerle:gcc48 | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/repositories/home:/beyerle:/gcc48/openSUSE_12.3/ |
7 | openSUSE-12.3-1.7 | openSUSE-12.3-1.7 | Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-Slimtype_DVD_A_DS8A8SH_6A7149410948 |
8 | packman-essentials | packman-essentials | Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_12.3/Essentials/ |
9 | packman-multimedia | packman-multimedia | Yes | Yes | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_12.3/Multimedia/ |
10 | repo-debug | openSUSE-12.3-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/distribution/12.3/repo/oss/ |
11 | repo-debug-update | openSUSE-12.3-Update-Debug | No | Yes | 99 | NONE | http://download.opensuse.org/debug/update/12.3/ |
12 | repo-debug-update-non-oss | openSUSE-12.3-Update-Debug-Non-Oss | No | Yes | 99 | NONE | http://download.opensuse.org/debug/update/12.3-non-oss/ |
13 | repo-non-oss | openSUSE-12.3-Non-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/12.3/repo/non-oss/ |
14 | repo-oss | openSUSE-12.3-Oss | Yes | Yes | 99 | yast2 | http://download.opensuse.org/distribution/12.3/repo/oss/ |
15 | repo-source | openSUSE-12.3-Source | No | Yes | 99 | NONE | http://download.opensuse.org/source/distribution/12.3/repo/oss/ |
16 | repo-update | openSUSE-12.3-Update | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.3/ |
17 | repo-update-non-oss | openSUSE-12.3-Update-Non-Oss | Yes | Yes | 99 | rpm-md | http://download.opensuse.org/update/12.3-non-oss/ |

And my kdm.log file:

X.Org X Server 1.13.2
Release Date: 2013-01-24
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux linux-jxnf.site 3.7.10-1.32-pae #1 SMP Thu May 8 00:09:34 UTC 2014 (5978d00) i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.7.10-1.32-pae root=UUID=c3d271cd-e599-4286-8d79-b11627ba7bd8 resume=/dev/disk/by-id/ata-TOSHIBA_MK8057GSC_2198T2HVT-part3 splash=silent quiet showopts
Build Date: 17 April 2014 05:37:55AM

Current version of pixman: 0.28.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.0.log”, Time: Thu Jun 12 09:35:26 2014
(==) Using config directory: “/etc/X11/xorg.conf.d”
(==) Using system config directory “/usr/share/X11/xorg.conf.d”
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension SECURITY
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
failed to open /usr/lib/dri/updates/i965_dri.so: /usr/lib/dri/updates/i965_dri.so: cannot open shared object file: No such file or directory
klauncher(836) kdemain: No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(829)/kdecore (KTimeZone): KSystemTimeZones: ktimezoned initialize() D-Bus call failed: “Not connected to D-Bus server”

kdmgreet(829)/kdecore (KTimeZone): No time zone information obtained from ktimezoned
[mi] Increasing EQ size to 512 to prevent dropped events.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Compat map for group 2 redefined
> Using new definition
> Warning: Compat map for group 3 redefined
> Using new definition
> Warning: Compat map for group 4 redefined
> Using new definition
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Compat map for group 2 redefined
> Using new definition
> Warning: Compat map for group 3 redefined
> Using new definition
> Warning: Compat map for group 4 redefined
> Using new definition
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Compat map for group 2 redefined
> Using new definition
> Warning: Compat map for group 3 redefined
> Using new definition
> Warning: Compat map for group 4 redefined
> Using new definition
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Compat map for group 2 redefined
> Using new definition
> Warning: Compat map for group 3 redefined
> Using new definition
> Warning: Compat map for group 4 redefined
> Using new definition
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Compat map for group 2 redefined
> Using new definition
> Warning: Compat map for group 3 redefined
> Using new definition
> Warning: Compat map for group 4 redefined
> Using new definition
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Compat map for group 2 redefined
> Using new definition
> Warning: Compat map for group 3 redefined
> Using new definition
> Warning: Compat map for group 4 redefined
> Using new definition
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Compat map for group 2 redefined
> Using new definition
> Warning: Compat map for group 3 redefined
> Using new definition
> Warning: Compat map for group 4 redefined
> Using new definition
Errors from xkbcomp are not fatal to the X server
Server terminated successfully (0). Closing log file.

Well, the interface is up, but there is no connection established.
Use nmcli to connect. “nmcli c” shows all configured connections, “nmcli up id connectionname” connects.

Or switch to ifup in YaST and setup the connection in YaST. (YaST can be started in text mode as well)

startkde returns

I said, run it in a terminal window (inside IceWM f.e.).
This doesn’t work in text mode obviously.

Here’s the output from my zypper lr -d command:

So you installed gcc from that home:beyerle repo?
gcc itself should not matter, but the libstdc++ from there could probably give problems.
Ditto for the devel:gcc repo.

And my kdm.log file:

Doesn’t really show any problem.
What about ~/.xsession-errors-:0? The last lines should suffice.

I am WHOLLY unfamiliar with IceWM, so please, gimme a while to research that and find out how to use it. Right now all I’ve got on that computer is a command prompt.

So you installed gcc from that home:beyerle repo?
gcc itself should not matter, but the libstdc++ from there could probably give problems.
Ditto for the devel:gcc repo.

Yes, I re-installed GCC from the home:beyerle repo. Should I uninstall and install from the normal download.opensuse.org repos? (Though, I can get YaST to reconnect to the download.opensuse.org website)

Here’s the three lines from my .xsession-errors file:

/etc/X11/xdm/Xsession: line 217: /etc/X11/xinit/xinitrc.common: No such file or directory
/etc/X11/xdm/sys.xsession: line 170: /etc/X11/xinit/xinitrc.common: No such file or directory
GPG_AGENT_INFO=/tmp/gpg-dXrxjQ/S.gpg-agent:1040:1; export GPG_AGENT_INFO;

And, here’s what I got from trying to connect with nmcli:

** (process:1721): WARNING **: async_got_type: could not read properties for /org/freedesktop/NetworkManager/ActiveConnection/7: Method “Get” with signature “ss” on interface “org.freedesktop.DBus.Properties” doesn’t exist

** (process:1721): WARNING **: async_got_type: could not read properties for /org/freedesktop/NetworkManager/ActiveConnection/7: Method “Get” with signature “ss” on interface “org.freedesktop.DBus.Properties” doesn’t exist

Error: Connection activation failed: Creating object for path ‘/org/freedesktop/NetworkManager/ActiveConnection/7’ failed in libnm-glib.

Well it is not completely different.
You have a start menu in the bottom left corner (should be structured similarily to KDE’s) and you can run applications from the terminal window as well.

Try to run “startkde” in an xterm. Does KDE start or do you get an error message?

Yes, I re-installed GCC from the home:beyerle repo. Should I uninstall and install from the normal download.opensuse.org repos? (Though, I can get YaST to reconnect to the download.opensuse.org website)

That won’t be necessary I think. But that libstdc++ might have caused those packages to be uninstalled in the first place.

Here’s the three lines from my .xsession-errors file:

That log file is from the current IceWM session. Try to start KDE, then switch to text mode and rename the file to be able to post it later on. (sorry, should have mentioned that right from the start)
At least those lines show that you miss xinit. Try to install that as well, and xorg-x11.

And, here’s what I got from trying to connect with nmcli:

Can you please post what you entered exactly, and the output of “nmcli c”.

startkde still gives me

$DISPLAY is not set or cannot connect to the X server.

When I try to open xterm as either root and my username, I get

xterm: Xt error: Can’t open display:
xterm: DISPLAY is not set

Lessee, what else was there? Oh yeah,

Can you please post what you entered exactly, and the output of “nmcli c”.

When I type nmcli c I get

** (process:8138): WARNING: **: Could not initialize NMCLient /org/freedesktop/NetworkManager: THe name org.freedesktop.NetowrkManager was not privided by any .service files
Error: nmcli (0.9.6.4) and NetworkManager (unknown) versions don’t match. Force execution using --nocheck, but the results are unpredictable.

Whereas, previously, I typed in nmcli c up id <networkname> iface wlan0 and sent it to a text file

And, unfortunately, I can’t install init or xorg directly from the other computer (the “broken” one) cuz I can’t get a connection out to the internet. Is there a way for me to get it from this computer onto a flash drive, transfer to the wonky laptop, and install from there? I imagine there is, though I have a weird and wild imagination which runs away from me from time-to-time, and… well, now I forgot what I was thinking.

Well, your Xorg seems to be completely broken then, if not even the $DISPLAY variable is set.
I’m surprised that you can even login to IceWM actually.

You could try to set it manually (export DISPLAY “:0”), but I don’t think this makes sense, as the main problem is the network now I’d say.

When I type nmcli c I get

Whereas, previously, I typed in nmcli c up id <networkname> iface wlan0 and sent it to a text file

Try to use the --nocheck nocheck option, as suggested.
Is NetworkManager actually running? Is it activated in YaST?
Try “sudo systemctl start NetworkManager.service”.

And as I said already, you could also switch to ifup in YaST. Just run it with “kdesu /sbin/yast2” f.e.

And, unfortunately, I can’t install init or xorg directly from the other computer (the “broken” one) cuz I can’t get a connection out to the internet. Is there a way for me to get it from this computer onto a flash drive, transfer to the wonky laptop, and install from there? I imagine there is, though I have a weird and wild imagination which runs away from me from time-to-time, and… well, now I forgot what I was thinking.

The problem is that you seem to be missing quite a few packages, and I’m not even sure which ones.
I suppose the easiest way would be to download an installation DVD (or maybe the NETinstall CD) and burn it or copy it to an USB stick with dd or SUSE Imagewriter.
Then boot it and select “Upgrade an existing installation”. This should hopefully fix your system.

Hmm, ok, I’ll give the NETInstall a go and try to do the upgrade thing. If it doesn’t work, I’ll get back to you.

I appreciate your patience.