boot problems after using dconf-editor...

Issues related to applications and software problems
Post Reply
bigbanana69
Posts: 46
Joined: 2017/07/03 16:55:42

boot problems after using dconf-editor...

Post by bigbanana69 » 2019/04/24 12:39:32

Hi,

I'm using CentOS 7.6 Gnome Desktop.

I installed dconf-editor to configure some settings. After configuring some setting with dconf-editor, I had rebooted the PC and on the next boot, instead of showing a login screen, it showed a terminal screen where I needed to put the root password and then run 'systemctl default' to start the regular login screen.
On the terminal screen, it's also showing some command options iike 'systemctl -xb' or ^D.

It shows the same terminal screen on boot since I had configured some settings with dconf-editor.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: boot problems after using dconf-editor...

Post by aks » 2019/04/25 19:48:32

Um so WTF? I changed some things and have had an effect. Hmph, I don't like the effect. Please solve this.
Okay so what did you change?

Please be more specific on what has changed, what you did, what the knock on effect is and what you don't like about it.

bigbanana69
Posts: 46
Joined: 2017/07/03 16:55:42

Re: boot problems after using dconf-editor...

Post by bigbanana69 » 2019/04/26 04:36:18

I'm not sure how, but after few reboots it started working properly.

Basically I had changed the settings to Nautilus to show the files by type as default, to show folders before files, and to show as list instead of the icons view.; I had changed File roller's default compressions level to max, and I had turned off automaic updates.

Then the files weren't sorted by type in the list view, but by name, so I had changed to back to icon view and they are sorted by type since then.

It doesn't shows the terminal screen at boot, after few reboots.

I was also looking for starting a 'custom command' at logon; which isn't shown in the Tweaks startup applications, but I couldn't find such settings in dconf-editor.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: boot problems after using dconf-editor...

Post by aks » 2019/04/26 18:20:02

I'm not sure how, but after few reboots it started working properly.
Well that doesn't sound good, but hey if it works ...
I was also looking for starting a 'custom command' at logon
In what way? A simple shell script or what? Also what kind of login (log into the GUI, login via console, login via ssh etc...)?

bigbanana69
Posts: 46
Joined: 2017/07/03 16:55:42

Re: boot problems after using dconf-editor...

Post by bigbanana69 » 2019/04/29 05:27:28

No, no. I wasn't thinking to start a command at boot, but at after a user's logging into gnome, something like there's an option in Tweaks to start programs after a user is logging in, just that I was thinking to start a custom command, in Tweaks in Start-up applications it only shows gui applications (no custom commands).

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: boot problems after using dconf-editor...

Post by lightman47 » 2019/04/29 11:37:04

build a .dektop file in the user's .config/autostart folder. For example, I have a bash.desktop that runs a script when the user logs in. The file looks like this:

Code: Select all

[Desktop Entry]
Type=Application
Exec=bash /scripts/netstart.sh
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=LAN login script
Name=LAN login script
Comment[en_US]=network login chores
Comment=network login chores

bigbanana69
Posts: 46
Joined: 2017/07/03 16:55:42

Re: boot problems after using dconf-editor...

Post by bigbanana69 » 2019/04/29 15:40:59

Thanks.

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: boot problems after using dconf-editor...

Post by lightman47 » 2019/04/29 16:28:46

To take it one step further - if you will want all your users to start the same program on login

While 'building' your CentOS 7 machine, and before you create your other users:

mkdir -p -m 775 /etc/skel/.config/autostart

then copy your .desktop file into this new folder. When you then create (useradd) your users they will 'inherit' that folder/file.
;-)

bigbanana69
Posts: 46
Joined: 2017/07/03 16:55:42

Re: boot problems after using dconf-editor...

Post by bigbanana69 » 2019/04/30 05:40:37

Thanks.

Post Reply