Hi,
I have tried reinstalling gnome-session after removing it now my desktop wont start. Even if I try startx still I can't get my gnome desktop to start.
Pease help.
Thank you

Dani AI

Generated

Additional, focused troubleshooting steps for a Fedora 19 GNOME session that fails to start, building on ’s troubleshooting idea and the original report from . The objective is to quickly determine whether the failure is the display manager (GDM), Xorg, a missing driver, or a broken user session, then apply the smallest safe fixes.

Quick diagnostics to capture the relevant logs and local session files:

# check display manager status and its boot logs
sudo systemctl status gdm
sudo journalctl -b -u gdm --no-pager

# look for X server errors and recent per-user session errors
grep "(EE)" /var/log/Xorg.0.log || true
tail -n 200 ~/.xsession-errors 2>/dev/null || true

# check for custom start files that can short-circuit startx
ls -l ~/.xinitrc ~/.xsession 2>/dev/null || true

Targeted repair steps that are safe to try once diagnostics are collected:

# reinstall core GNOME/X packages
sudo yum reinstall gnome-session gnome-shell gdm xorg-x11-server-Xorg

# restore the GNOME group if many packages were removed
sudo yum groupinstall "GNOME Desktop"

# ensure GDM is enabled and started
sudo systemctl enable gdm
sudo systemctl start gdm

Other useful notes and cautions: check for removed packages with sudo yum history and use yum history undo <id> to revert a removal transaction if found. Verify package files with rpm -V gnome-session. If proprietary graphics drivers are involved, confirm kernel modules exist (lsmod | grep -E 'nvidia|fglrx') and reinstall the driver package matching the running kernel if missing. Back up any home config before renaming ~/.config or running dconf reset -f / (this will clear GNOME settings). Temporarily setting SELinux to permissive (sudo setenforce 0) can help determine if an SELinux denial is blocking the session — revert with sudo setenforce 1 afterwards.

Recommended Answers

All 2 Replies

What distribution/version of Linux are you running?

In any case, you will need to fully reinstall the xorg and gnome software, or install kde, xfce, et al and try running one of those first.

Finally, when you try to run startx manually, what errors are you getting? Please post them here.

thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.