boot problems after using dconf-editor...
-
- Posts: 46
- Joined: 2017/07/03 16:55:42
boot problems after using dconf-editor...
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.
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.
Re: boot problems after using dconf-editor...
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.
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.
-
- Posts: 46
- Joined: 2017/07/03 16:55:42
Re: boot problems after using dconf-editor...
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.
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.
Re: boot problems after using dconf-editor...
Well that doesn't sound good, but hey if it works ...I'm not sure how, but after few reboots it started working properly.
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...)?I was also looking for starting a 'custom command' at logon
-
- Posts: 46
- Joined: 2017/07/03 16:55:42
Re: boot problems after using dconf-editor...
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).
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: boot problems after using dconf-editor...
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
-
- Posts: 46
- Joined: 2017/07/03 16:55:42
-
- Posts: 1522
- Joined: 2014/05/21 20:16:00
- Location: Central New York, USA
Re: boot problems after using dconf-editor...
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.
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.
-
- Posts: 46
- Joined: 2017/07/03 16:55:42