LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 06-03-2015, 12:07 PM   #1
peter576
Member
 
Registered: Nov 2009
Distribution: Debian 8 (64bit)
Posts: 32

Rep: Reputation: 0
Debian 8 loops login


hi
i'm using Debian 8 on a Sony NW21SF laptop. A new problem came up recently, when i try to login, it dropes me back to the login screen. I can use the X-window-system if i login as root on a tty terminal and type "startx". Any suggestions?

thank you
 
Old 06-03-2015, 12:19 PM   #2
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I have to mention that if you try to log in as root from the graphical login screen you will see this behavior. Thet's probably not what you're doing but felt it worth typing for completeness.
Secondly, which DE or window manager do you use and which login manager? If default it will be GNOME DE with gdm3 so it's worth selecting "fallback mode", if present, or ensuring Wayland isn't selected (or is if it isn't).
If none of that helps I would be tempted to rename (using mv on the command line) the hidden directories which hold the setting for your DE -- sorry, I am not at my machine to find them but a google should produce them. It could be that the update installed DE components not compatible with your settings or that your settings are corrupt in some way.
You could even just try running the apt-get update and upgrade cycle again and see whether it fixes itself.
 
Old 06-03-2015, 02:11 PM   #3
peter576
Member
 
Registered: Nov 2009
Distribution: Debian 8 (64bit)
Posts: 32

Original Poster
Rep: Reputation: 0
i can't find this option, i don't really understand what i'm doing. Is this a config file?

thanks
 
Old 06-03-2015, 02:17 PM   #4
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
At the GRUB menu, highlight the Debian 8 entry and press "e" then add this to the end of the line that starts with "linux":
Code:
systemd.unit=multi-user.target
Then press <Ctrl>+x to boot the modified entry.

This will boot up to a console (TTY, text only) log in after which you can try `startx` as a regular user.

Does the desktop start then?

Which desktop environment are you using?

Do not use your graphical desktop as root.
 
Old 06-04-2015, 12:00 PM   #5
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by peter576 View Post
i can't find this option, i don't really understand what i'm doing. Is this a config file?

thanks
Assuming this is a default Debian install then, when you see the graphical login, there should be a little "cog" icon which you press to select session type before you log in.
To get to the command line or shell as it is generally called from that same screen you can press Ctrl+Alt+F2 (or another of the first 7 F keys butone will put you. Back at the graphical login.
 
Old 06-20-2015, 12:13 AM   #6
cabrioleur
LQ Newbie
 
Registered: Jun 2015
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by peter576 View Post
hi
i'm using Debian 8 on a Sony NW21SF laptop. A new problem came up recently, when i try to login, it dropes me back to the login screen. I can use the X-window-system if i login as root on a tty terminal and type "startx". Any suggestions?

thank you
It sounds more like a permissions problem. Make sure that you are the owner of the home directory. Change it with
Code:
chown -Rfv user /home/user
(substitute user with your username).

If this does not help, remove (or change the names if you intend to keep them) these files from your home directory:
.xinitrc
.xsession
.Xauthority

That should suffice.
 
  


Reply

Tags
debian, login, xwindow


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is unrolled loops and how to check and know unrolled loops of cpu in ubuntu zerop Linux - Kernel 4 07-31-2014 10:22 PM
KDE login loops back to itself davcefai Debian 4 06-22-2006 02:26 PM
Can't login in Debian RVR777 Linux - Software 12 04-03-2006 04:41 PM
Login loops to Login Halsafar Linux - Newbie 41 03-14-2006 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration