This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Change default session

Tags: None
(comma "," separated)
kari0ca
Registered Member
Posts
5
Karma
0

Change default session

Sat Jul 12, 2014 2:28 pm
Hi there,
I have kubuntu 13.04 and recently i've made the update of some aplications and after that i only can login at the XBMC session, before this problem, i didn't even realized that i had a session for the XBMC.

So at the desktop environment i only can log in on this session, and i can't use the operating system, only the XMBC application

After that problem happened, i can change to the terminal mode (Ctrl+Alt+F1) at login and see if i could change the session or fix this problem, the thing is i can see the files that have the configuraton of the session, but i can't change them effectively.
for instance: i can see the session files on ~/.kde/share/config/sessions/ kmix and kwin and both seems to be ok.
at /var/lib/AccountsServices/users/ i can see my user file, and there, on the XSession parameter, there is XBMC. If i change this value and reboot my machine, nothing happens
at /usr/share/xsessions i can see both files: kde-plasma.desktop and XBMC.desktop, so i think that the solution would be to change the session on my user file, but even doing that, after a reboot, the file is changed to have the session XBMC.

How can i change the session effectively?
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Change default session

Sat Jul 12, 2014 3:03 pm
You could:

1) deinstall and purge xbmc
2) add a new user, login in his name and see whether the problem persists
3) rename ~/.kde while not logged in and see whether an ordinary session starts

Also, what exactly have you done? Is your kdm set to autologin?


Debian testing
kari0ca
Registered Member
Posts
5
Karma
0

Re: Change default session

Sat Jul 12, 2014 11:39 pm
Hi Toad,

Thank you for your answer, i will answer what i have done.
1) uninstall and purge XBMC is not a good option, because i use it and this program and i have several configurations that i don't want to do again.
2) Tested and did not worked.
3) Tested too, but the only session available was the XMBC

The problem apeared when i did the update to xbmc gothan 13.1.
i've tried to enter in recovery mode, and there do a dpkg recover broken packages, but none of that worked.

here goes an image of my login screen (there is a link because the forum can't determine the dimensions of the image):
http://i60.tinypic.com/e8o5j5.jpg
there is only one option of session
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Change default session

Sat Jul 12, 2014 11:42 pm
Can you check for the presence of a ~/.xinitrc file?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
luebking
Karma
0

Re: Change default session

Sun Jul 13, 2014 5:26 am
You could try to just move /usr/share/xsessions/XBMC.desktop away:
Code: Select all
sudo mv /usr/share/xsessions/XBMC.desktop /usr/share/XBMC.desktop

Then restart LXDM(?)
Code: Select all
sudo telinit 3; sleep 4; sudo telinit 5
kari0ca
Registered Member
Posts
5
Karma
0

Re: Change default session

Sun Jul 13, 2014 1:11 pm
To the first question: No i don't have an .xinitrc file on my profile

about the second option, moving the XBMC.desktop only removed the session from login screen, when i log in, the system seems to only authenticate and stays with wallpaper.

the command "sudo telinit 3; sleep 4; sudo telinit 5" did nothing that i have noted
luebking
Karma
0

Re: Change default session

Sun Jul 13, 2014 6:06 pm
telinit is the sysv way to change the runlevel - i was not aware that ubuntu switched to systemd?

what do you men "only removes the session" - can you now select a kde session?
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Change default session

Mon Jul 14, 2014 10:21 am
While installing xbmc were any other packages removed? Have a look at /var/log/apt/history.log - if the Xbuntus have it, that is...


Debian testing
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Change default session

Mon Jul 14, 2014 11:31 am
Can you please verify that all dependencies of the "kubuntu-desktop" package are installed?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
kari0ca
Registered Member
Posts
5
Karma
0

Re: Change default session

Thu Jul 17, 2014 11:24 pm
bcooksley wrote:Can you please verify that all dependencies of the "kubuntu-desktop" package are installed?

how can i do that from the command line?
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Change default session  Topic is solved

Fri Jul 18, 2014 6:30 am
Code: Select all
sudo apt-get install --reinstall kubuntu-desktop


That way all the dependencies get pulled in again :)


Debian testing
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: Change default session

Fri Jul 18, 2014 9:20 am
As root, please run the following two commands and provide their output here:
Code: Select all
dpkg --audit
apt-get install kubuntu-desktop

Please note that if all is well, then "dpkg --audit" will return nothing.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
kari0ca
Registered Member
Posts
5
Karma
0

Re: Change default session

Sat Jul 19, 2014 1:03 am
toad wrote:
Code: Select all
sudo apt-get install --reinstall kubuntu-desktop


That way all the dependencies get pulled in again :)

Thank you very much Toad, that solved my problem.
Now i can choose the session that i want!
User avatar
toad
Global Moderator
Posts
1258
Karma
7
OS

Re: Change default session

Sat Jul 19, 2014 8:21 am
Coolio, enjoy your kubuntu :)


Debian testing


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]