Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-09-30 11:21:32

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

creating new account and try to login get failsafe session message

I have created new account , but when i tried to login it I get that pop up message
Unable to load a failsafe session (xfce zorin lite), the main account and the root account work good without that error
Unable to determine failsafe session name. Possible causes xconfd isn't running (D-Bus setup problem);
environment variable $XDG_CONFIG_DIRS is set incorrectly (must include "/etc") or xfce4-session is installed incorrectly.
(xfce zorin lite)

Last edited by ahmeteid (2022-09-30 11:32:46)

Offline

#2 2022-09-30 17:43:51

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: creating new account and try to login get failsafe session message

This is just a warning that a failsafe session doesn't exist. One will be created on first use. Interesting that you got a popup message though - usually its just logged into a log file.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2022-09-30 20:10:27

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

Re: creating new account and try to login get failsafe session message

ToZ wrote:

This is just a warning that a failsafe session doesn't exist. One will be created on first use. Interesting that you got a popup message though - usually its just logged into a log file.

but it is prevent me to login to the new accounts

Offline

#4 2022-09-30 22:29:22

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: creating new account and try to login get failsafe session message

How did you create the new account?

How are you logging in? Display manger (e.g. lightdm) or xinit?

Is there an ~/.xsession-errors file for the new account that you could share?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2022-10-01 00:02:24

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

Re: creating new account and try to login get failsafe session message

ToZ wrote:

How did you create the new account?

How are you logging in? Display manger (e.g. lightdm) or xinit?

Is there an ~/.xsession-errors file for the new account that you could share?

i created it by gui app(users and groups),
but when i create anthor one by commandline useradd passwd , i get acount with loop login, may that because replacing the xfce4panel that i did before, but i didn't have that problem with root , or the my main account?

Offline

#6 2022-10-01 00:12:09

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: creating new account and try to login get failsafe session message

ahmeteid wrote:

but when i create anthor one by commandline useradd passwd , i get acount with loop login,

What command did you use, and what parameters? Can you post back the full command?


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#7 2022-10-01 00:24:13

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

Re: creating new account and try to login get failsafe session message

ToZ wrote:
ahmeteid wrote:

but when i create anthor one by commandline useradd passwd , i get acount with loop login,

What command did you use, and what parameters? Can you post back the full command?

eid@eid-HP-Compaq-6005-Pro-SFF-PC:~$ sudo -i
root@eid-HP-Compaq-6005-Pro-SFF-PC:~# useradd ahmeteid
root@eid-HP-Compaq-6005-Pro-SFF-PC:~# passwd ahmeteid
New password:
Retype new password:
passwd: password updated successfully
root@eid-HP-Compaq-6005-Pro-SFF-PC:~#

Last edited by ahmeteid (2022-10-01 00:25:49)

Offline

#8 2022-10-01 01:24:34

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 10,948

Re: creating new account and try to login get failsafe session message

You didn't specify to make a home directory for the new user. Have a look at:

man useradd

...specifically the "-m" parameter.

You would need to use something like:

sudo useradd -m -s SHELL -G GROUP USERNAME

...where:
- SHELL is the path to the shell you want to use (e.g. /bin/bash)
- GROUP is the name of any additional groups you want this user to be part of (e.g. sudo)
- USERNAME is the new username

So to make a new user who is able to run admin commands using sudo:

sudo useradd -m -s /bin/bash -G sudo toz

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#9 2022-10-01 16:23:35

ahmeteid
Member
Registered: 2022-08-15
Posts: 65

Re: creating new account and try to login get failsafe session message

ToZ wrote:

You didn't specify to make a home directory for the new user. Have a look at:

man useradd

...specifically the "-m" parameter.

You would need to use something like:

sudo useradd -m -s SHELL -G GROUP USERNAME

...where:
- SHELL is the path to the shell you want to use (e.g. /bin/bash)
- GROUP is the name of any additional groups you want this user to be part of (e.g. sudo)
- USERNAME is the new username

So to make a new user who is able to run admin commands using sudo:

sudo useradd -m -s /bin/bash -G sudo toz

it doesn't  worked with me i still get the gui message box:

Unable to determine failsafe session name. Possible causes xconfd isn't running (D-Bus setup problem);
environment variable $XDG_CONFIG_DIRS is set incorrectly (must include "/etc") or xfce4-session is installed incorrectly.
i think in reinstalling my distro, thank u very much

Last edited by ahmeteid (2022-10-01 16:40:35)

Offline

Board footer

Powered by FluxBB