Login Menu - Infinite Loop

With the new version of parrot 4.16. I have been running into login issues. After after passing the hard-drive encrypted password. I end up at the login menu. I try to login, and it attempts to launch a new window, but it seems to fail and resolve back to login menu. I know it is the correct password. I also see that it tells me password incorrect when I input an incorrect password.

The weird thing analyzed is:
If I first login into Windows 10, then restart and login into Parrot, I don’t run into this issue and it logins in fine. This seems to be the only workaround to by pass the login menu loop.

It is important to mention that I have a nvidia GTX graphics card on the laptop. I’m also wondering if there have been any changes with parrot from 3.11 to 4.16. Something with lightdm, GDM3, etc? How do I know which one I have?

Thanks in advance!


What version of Parrot are you running? (4.16)

What method did you use to install Parrot? (USB-Parrot Image)

Configured to multiboot with other systems? (yes, but separate hard-drive)

You are using dual boot so maybe it’s a problem with the mount system. Just a guess only. I would change the password, check for any error in logs if not just reinstall.

@UserOfMouse Where are the login logs?

To be honest, I don’t know currently. So someone elses will have to answer that. -o-

I have used dual boot and I too have the same issue. If you fixed it please share it.

Pls, I have login loop(it returns back to login page instead of desktop) with my linux. The first time I experienced it, I reinstalled the Os and now it happened once again. I’ve been trying to fix it, all to no avail. I want to solve the problem instead of avoiding it by OS re-installation.
The problem started after my laptop was forced to shutdown at a critical battery level.
Attempt so far:
:fountain_pen:startx works for root not user
:fountain_pen:user .Xauthority is rw
:fountain_pen:new display mode install, lightdm reconfiguredrestarted.
:fountain_pen:new user created, yet can’t getin to desktop except root
:fountain_pen:update, upgrade didn’t solve it.

Dualboot with win10
ParrotSec 4.6 installed GTK graphical

This is one of the few occasions you need to login to root.

After doing so cd into the home directory of the problem username. Change ownership of .Xauthority in that home directory:

chown UsernameHere .Xauthority

After doing this logout of root and login as that username.

1 Like

you can also try
(to bring up TTY on Parrot OS use Ctrl+Alt+F1
to get back to your graphical desktop environment Ctrl+Alt+F7)

When you are into the shell (tty) ,
Run ls -lA , If you see the lines

-rw------- 1 root root 51 May 6 11:24 .Xauthority
-rw------- 1 root root 5406 May 6 11:24 .ICEauthority

then you need to do:

chown username:username .Xauthority
chown username:username .ICEauthority

Here change ‘username’ with your username


Thanks. pls, my xsession errors screenshot is attached here.

I also have similar problem, I tried reinstalling lightdm, installing other login managers, changing ownership for .Xauthority and .ICEauthority, I even just gave all permissions, startx command works and gets me in GUI easily but I want a permanent solution. I reinstalled parrot two times after upgrading the same problem occurs. Please help

// below is the .xsession I don’t know how it helps but just for the sake of confirmation
/etc/X11/Xsession: 65: cat: not found
Xsession: X session started for praveshishere at Saturday 28 November 2020 10:50:12 AM IST
WARNING: tempfile is deprecated; consider using mktemp instead.
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:1
dbus-update-activation-environment: setting XAUTHORITY=/home/praveshishere/.Xauthority
localuser:praveshishere being added to access control list
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting MAIL=/var/mail/praveshishere
dbus-update-activation-environment: setting USER=praveshishere
dbus-update-activation-environment: setting LC_TIME=en_IN
dbus-update-activation-environment: setting XDG_SESSION_TYPE=tty
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting HOME=/home/praveshishere
dbus-update-activation-environment: setting QT4_IM_MODULE=fcitx
dbus-update-activation-environment: setting HUSHLOGIN=FALSE
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting LC_MONETARY=en_IN
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting LOGNAME=praveshishere
dbus-update-activation-environment: setting GTK_IM_MODULE=fcitx
dbus-update-activation-environment: setting JOURNAL_STREAM=8:27895
dbus-update-activation-environment: setting _=/usr/bin/startx
dbus-update-activation-environment: setting XDG_SESSION_CLASS=user
dbus-update-activation-environment: setting TERM=linux
dbus-update-activation-environment: setting WINDOWPATH=1
dbus-update-activation-environment: setting PATH=/home/praveshishere/.local/bin:/snap/bin:/usr/sandbox/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/games:/usr/local/sbin:/usr/sbin:/sbin:/snap/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
dbus-update-activation-environment: setting INVOCATION_ID=be46f000a5704151aa4bc0f2121c0a35
dbus-update-activation-environment: setting LC_ADDRESS=en_IN
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting DISPLAY=:1
dbus-update-activation-environment: setting LANG=en_IN
dbus-update-activation-environment: setting LC_TELEPHONE=en_IN
dbus-update-activation-environment: setting LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:
dbus-update-activation-environment: setting XAUTHORITY=/home/praveshishere/.Xauthority
dbus-update-activation-environment: setting XMODIFIERS=@im=fcitx
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting LC_NAME=en_IN
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting LC_MEASUREMENT=en_IN
dbus-update-activation-environment: setting LC_IDENTIFICATION=en_IN
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting QT_IM_MODULE=fcitx
dbus-update-activation-environment: setting JAVA_HOME=/usr/lib/jvm/jdk-15.0.1
dbus-update-activation-environment: setting PWD=/home/praveshishere
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/
dbus-update-activation-environment: setting CLUTTER_IM_MODULE=fcitx
dbus-update-activation-environment: setting LC_NUMERIC=en_IN
dbus-update-activation-environment: setting LC_PAPER=en_IN
** Message: 10:50:13.269: couldn’t access control socket: /run/user/1000/keyring/control: No such file or directory
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
x-session-manager[10582]: WARNING: Unable to find provider ‘’ of required component ‘dock’
Window manager warning: Log level 128: unsetenv() is not thread-safe and should not be used after threads are created
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh

(caja:10762): Gtk-WARNING **: 10:50:16.408: Failed to register client: GDBus.Error:org.gnome.SessionManager.AlreadyRegistered: Unable to register client
Cannot read ‘/var/log/kern.log’
Initializing caja-image-converter extension
Initializing caja-open-terminal extension

(mate-volume-control-status-icon:10805): Gdk-CRITICAL **: 10:50:17.554: gdk_window_thaw_toplevel_updates: assertion ‘window->update_and_descendants_freeze_count > 0’ failed
Initializing caja-xattr-tags extension

(mate-power-manager:10772): Gdk-CRITICAL **: 10:50:17.885: gdk_window_thaw_toplevel_updates: assertion ‘window->update_and_descendants_freeze_count > 0’ failed
blueman-applet 10.50.17 WARNING PluginManager:148 __load_plugin: Not loading DhcpClient because its conflict has higher priority
blueman-applet 10.50.18 WARNING PluginManager:148 __load_plugin: Not loading PPPSupport because its conflict has higher priority
blueman-tray version 2.1.4 starting
There is an instance already running
blueman-applet 10.50.43 WARNING DiscvManager:109 update_menuitems: warning: Adapter is None