🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.user
Article #344

Re: xfce only shows a black screen

#344
From: Greg Wooledge
Date: Mon, 02 Nov 2026 13:00
52 lines
3604 bytes
On Sun, Nov 01, 2026 at 23:25:25 -0800, Donald MacDougall wrote:
> After that when I started it up again, logged in and typed 'startx', 
> instead of seeing the normal desktop, all I see is a black screen with a mouse
> cursor in the middle which I can move around at will but it does nothing. 

> I'm on Wayland obviously with lightdm

If you run startx, you are starting an X session, not a Wayland
session.  It sounds like your X session isn't starting your window
manager, or else your window manager isn't configured to show anything
by default.

Also, if you ran startx, your session is *not* under the control of
lightdm.  startx is an alternative way of starting an X session.

I don't even know whether lightdm can start a Wayland session, or if
it's only capable of starting X sessions.

So, we have two (or more) different ways we can approach this.  My
first inclination would be to see whether startx can be made to work
at all.  Try running:

    startx startxfce4

If that works, then we know X sessions work, and that XFCE works if
invoked as the X session manager.  You can make this your default
session manager by editing or creating the ~/.xsession file and
putting:

    exec startxfce4

inside it.  Also, if you happen to have a ~/.xinitrc file, you should
probably rename that (or merge its contents into ~/.xsession) so that
it doesn't interfere.

In theory, lightdm should also respect the ~/.xsession file, and launch
XFCE for you after you login, assuming lightdm is configured to start
an X session.

If you expected lightdm to run at boot time, then we might also want
to check on that service.  I would start with something like:

    systemctl status lightdm

and see if that has any error messages that you can work on.  If it
got disabled somehow, then maybe this would work:

    systemctl enable lightdm
    systemctl start lightdm

Although I don't understand why it would have been disabled, unless
you typed or pasted something as root by accident.
Technical Details
Message-ID: <NUZNL-9phY-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NUZNL-9phY-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Greg Wooledge <greg@wooledge.org>
Newsgroups: linux.debian.user
Subject: Re: xfce only shows a black screen
Date: Mon, 02 Nov 2026 14:00:01 +0100
Message-ID: <NUZNL-9phY-1@gated-at.bofh.it>
References: <NUZNL-9phY-3@gated-at.bofh.it>
X-Mailbox-Line: From debian-user-request@lists.debian.org  Mon Nov  2 12:56:39 2026
Old-Return-Path: <greg@wooledge.org>
X-Amavis-Spam-Status: No, score=-1.899 tagged_above=-10000 required=5.3
 tests=[BAYES_00=-1.9, GB_FAKE_RF=0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight: using cached result; rate: -4.6
Mail-Followup-To: debian-user@lists.debian.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Mailing-List: <debian-user@lists.debian.org> archive/latest/832672
List-ID: <debian-user.lists.debian.org>
List-URL: <https://lists.debian.org/debian-user/>
List-Archive: https://lists.debian.org/msgid-search/20261102125624.GA7729@wooledge.org
Approved: robomod@news.nic.it
Lines: 52
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Mon, 2 Nov 2026 07:56:24 -0500
X-Original-Message-ID: <20261102125624.GA7729@wooledge.org>
X-Original-References: <6144efd8-8159-42dd-b023-ec69e16a604b@usc.edu>