ksmserver segfault [SOLVED]

Everything about X, Gnome, KDE, ... and everything running on it

ksmserver segfault [SOLVED]

Postby ckosloff » 2019-07-15 18:27

I just upgraded my main computer form stretch to buster, which resulted in inability to logon to my desktop (KDE), because of the abve mentioned segfault in ksmserver.
I am looking into two solutions, both depend on being able to log into terminal without going through desktop.
1.
Insist with dist-upgrade until bug is solved.
2.
Load an alternative desktop (xfce), from terminal

So, basically I need help on launching a terminal if desktop is unusable.

Thank you,
Last edited by ckosloff on 2019-07-20 12:25, edited 1 time in total.
User avatar
ckosloff
 
Posts: 444
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: ksmserver segfault

Postby Dai_trying » 2019-07-15 20:22

Can you Ctrl+Alt+F1 (or other F keys) to get another tty open?
Dai_trying
 
Posts: 707
Joined: 2016-01-07 12:25

Re: ksmserver segfault

Postby Segfault » 2019-07-15 20:22

So, basically I need help on launching a terminal if desktop is unusable.

Basically, put 'exec xterm' into your ~/.xinitrc and run startx.

However, somehow I think this is not what you are looking for. :roll:
Segfault
 
Posts: 895
Joined: 2005-09-24 12:24

Re: ksmserver segfault

Postby GarryRicketson » 2019-07-15 22:53

There should be options in the login screen, where you can select which DE or WM you want, this does depend what display manager you are using, with lightgdm it is up in the upper right corner, a little wrench like thing.
You can also disable or not use a display manager ,
from: https://unix.stackexchange.com/questions/15527/how-to-boot-debian-into-text-mode-without-using-gui Fake display manager

There's a way to specifically avoid starting a display manager on Debian. The scripts that start display managers at boot time check if they are the default display manager, to ensure that only one display manager will be run. So set a fictitious default display manager. Make sure that /etc/X11/default-display-manager exists but doesn't contain the name of a display manager (e.g. make it empty).

If you do disable the display manager, you can still use 'startx', and start XFCE4 or a WM ,whatever,...What segfault says, is correct, but the same I am not sure if that is what you are looking for,
So, basically I need help on launching a terminal if desktop is unusable

The ctrl+alt+f1 (2,3,4,etc) is ok , if all you want is a terminal, but you probably will not be able to run 'startx' and start another DE or WM from another tty.
I believe for KDE, the display manager is KDM, and looking at one image,(older) there is a cog wheel, clearly labelled, it says "session type", that would be where you could select
a different DE, the other image, newer, is much different, and no text, to identify the options, just a arrow pointing down, a power "button", and another arrow thing, horrible the way modern DE,and display managers do things, but sorry , that is another topic, if you move your mouse around and play the "clicky dicky,click the icon" game, one of them should give you a menu where you can select Xfce, if it is installed.
Below might give some idea, :
https://www.makeuseof.com/tag/choose-switch-linux-display-managers/
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: ksmserver segfault

Postby ckosloff » 2019-07-16 01:46

Dai_trying wrote:Can you Ctrl+Alt+F1 (or other F keys) to get another tty open?

Yes, thank you, I had forgotten that key combination.
User avatar
ckosloff
 
Posts: 444
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: ksmserver segfault

Postby ckosloff » 2019-07-16 01:49

There is no responsive button in KDE after the segfault.
Will try all tomorrow, too late now.
User avatar
ckosloff
 
Posts: 444
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: ksmserver segfault

Postby ckosloff » 2019-07-16 17:21

SOL completely.
I did manage to launch alternative terminal and shutdown sddm and the failed instance of KDE desktop.
Dist-upgrade did not fix anything, reported everything up to date, just some packages to be removed by autoremove.
So I decided to fire up smxi and install xfce.
Rebooting system only showed black screen, startx did not launch.
During install I was offered the choice to use sddm or lightdm, chose sddm, but would like to revert to lightdm, I know there is a file that can be edited to do that, but I forgot where it is.
Please help.
User avatar
ckosloff
 
Posts: 444
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: ksmserver segfault

Postby Hallvor » 2019-07-16 19:36

Try

Code: Select all
# dpkg-reconfigure sddm


or


Code: Select all
# dpkg-reconfigure lightdm
Lenovo Thinkpad T440S, Intel Core i7-4600U CPU @ 2.10GHz, 8 GB RAM, 256 GB SSD, Debian Buster (KDE)
User avatar
Hallvor
 
Posts: 927
Joined: 2009-04-16 18:35
Location: Norway

Re: ksmserver segfault

Postby GarryRicketson » 2019-07-17 01:58

Yup, that is what it says in the link I posted earlier as well :
https://www.makeuseof.com/tag/choose-switch-linux-display-managers/
For Debian:

The procedure is similar to Ubuntu: replace the path to your old display manager to the new one in /etc/X11/default-display-manager. You have to edit the file as root. Alternatively, run
Code: Select all
sudo dpkg-reconfigure yourdisplaymanager

and choose the new display manager.

.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: ksmserver segfault

Postby giaur » 2019-07-17 05:01

I think you are lost, this happens sometimes after large upgrade. Better reinstall system, I don't think you can fix it, since all desktop environments don't work.
giaur
 
Posts: 120
Joined: 2013-03-08 07:03

Re: ksmserver segfault

Postby ckosloff » 2019-07-17 11:59

I am thinking of reinstalling system, will wait till Saturday for official release of buster, right now it is RC3.
Will try to fix in the meantime.
Thank you.
User avatar
ckosloff
 
Posts: 444
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: ksmserver segfault

Postby GarryRicketson » 2019-07-17 13:00

https://www.debian.org/releases/buster/
Debian 10.0 was released July 6th, 2019.
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: ksmserver segfault

Postby ckosloff » 2019-07-17 16:42

Do you mean that buster is the new stable now?
I thought that release was next Saturday, not realizing that July 6th. is also a Saturday.
User avatar
ckosloff
 
Posts: 444
Joined: 2011-12-29 15:08
Location: South Florida, USA

Re: ksmserver segfault

Postby None1975 » 2019-07-17 16:56

ckosloff wrote:Do you mean that buster is the new stable now?

Yes, it is. And Stretch is oldstable.
User avatar
None1975
 
Posts: 901
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

Re: ksmserver segfault

Postby ckosloff » 2019-07-17 20:00

On another note, i wiped clean the system partition, formatted to ext4, set bootable flag, mount point to / all from install CD.
The problem is I cannot install nvidia driver because it conflicts with nouveau.
Tried
Code: Select all
apt purge nouveau
but apt could not find package nouveau.
New question: how to remove package nouveau?
User avatar
ckosloff
 
Posts: 444
Joined: 2011-12-29 15:08
Location: South Florida, USA

Next

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 15 guests

fashionable