Ask Your Question

what is the contents of .xinitrc for f28?

asked 2018-07-22 15:16:16 -0600

billwilliams gravatar image

updated 2018-07-22 16:29:58 -0600

with nouveau or nvidia drivers, startx starts X session and immediately terminates without errors

I have no .xinitrc… maybe startx ends because there is nothing to do?

What should .xinitrc contain?

I can start fluxbox or use xinit to start an x session I guess with twm… so X itself is ok. There is something wrong or missing with how the normal desktop environment is supposed to be started.

I had a problem recently with dnf update --best --allow-erasing deleting a huge number of packages. I don't know what could be missing or what to check for.



edit retag flag offensive close merge delete


xinit from the command line DOES start an x-session with a terminal window. I don't know how to start the "normal" graphical desktop, whatever that is or however it is chosen.

I'm not using gdm


billwilliams gravatar imagebillwilliams ( 2018-07-22 15:23:05 -0600 )edit

1 Answer

Sort by » oldest newest most voted

answered 2018-07-22 16:41:17 -0600

billwilliams gravatar image

dnf -y group install "Fedora Workstation"

I can't prove it but I guess this was deleted by the dnf update --best --allow-erasing I was told to use by the system.

Helpful threads here and here

edit flag offensive delete link more


In /etc/dnf/dnf.conf I set


This disables the autoremove feature, which in some cases can remove much too much.

If you like the autoremove feature, run

dnf mark install '*'

after first install. That would reduce the risk of autoremoving too many packages.

villykruse gravatar imagevillykruse ( 2018-07-23 00:47:15 -0600 )edit

Thank you!

billwilliams gravatar imagebillwilliams ( 2018-07-23 04:18:58 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2018-07-22 15:16:16 -0600

Seen: 261 times

Last updated: Jul 22 '18