After logging in, my screen sometimes returns to the login, or to a black screen 14 April 2022, 18:18:57 I am using XFCE and openRC.
Re: After logging in, my screen sometimes returns to the login, or to a black screen Reply #1 – 14 April 2022, 21:52:35 Do you have xfce4-screensaver running?
Re: After logging in, my screen sometimes returns to the login, or to a black screen Reply #2 – 14 April 2022, 23:52:36 I suspect this is a new install?If so then most likely you home directories were not properly created. https://wiki.archlinux.org/title/XDG_user_directorieshttps://bbs.archlinux.org/viewtopic.php?id=137576Since i have nothing else to go on... I'll go with that?
Re: After logging in, my screen sometimes returns to the login, or to a black screen Reply #3 – 19 April 2022, 02:24:44 Nope, still happening, and i don't have a screensaver.
Re: After logging in, my screen sometimes returns to the login, or to a black screen Reply #4 – 19 April 2022, 02:43:32 In my experience, this typically happens if your desktop environment program or window manager crashes for some reason, what DE/WM are you running and did you recently update/change it? If so can you try reverting back to a previous version?
Re: After logging in, my screen sometimes returns to the login, or to a black screen Reply #5 – 20 April 2022, 00:35:43 well then my next guess would be you have a configuration error in lightdm or whatever sm you are using. if lightdm i would check the settings /etc/lightdm/lightdm.conf i think the file is located there... double check the arch/artix wiki. Did you set it up for autologin? maybe disable that and see if you can login manually from the display manager? there areual a few ways to setup lightdm and the wiki can give specifics on that.also if you ctrl-alt=-f4 to get to the shell you colud try runnings startxfce4QuoteStarting XfceIs it possible to start Xfce when I login on the console?Yes, there are three different ways to do this:You can just login with the command startxfce4You can add exec startxfce4 to your .xinitrc in your home directory and simply use startx.You can put the following in your .bash_profile/.bashrc if you want Xfce to start automatically when you login on tty1:Code: [Select]if [ "$(tty)" = "/dev/tty1" -o "$(tty)" = "/dev/vc/1" ] ; then startxfce4fiIs it possible to use Xfce with DMs?Yes. It's probably the default behavior of most distributions.Setting up LXDMLXDM is the display manager of LXDE, but it is universal. It has no GNOME or KDE dependencies, a nice interface and is very complete. Most distributions have a package available that you can install. Regarding the configuration, check the presence of a file (or add) /usr/share/xsessions/06xfce4.desktop (the location may differ depending on the distributions), such as:Code: [Select][Desktop Entry]Encoding=UTF-8Name=Xfce4Comment=Use this session to run Xfce4 as your desktop environmentTryExec=/usr/bin/startxfce4Exec=/usr/bin/startxfce4Icon=/usr/local/share/pixmaps/xfce4_xicon1.pngType=ApplicationLines TryExec and Exec may also differ between distributions.Setting up SLiMIf you want to avoid GNOME or KDE dependencies and have a more attractive interface than XDM, you can give SLiM a try. See the SLiM manual for more information.Setting up GDMIf you installed Xfce system-wide and you want to use the GNOME Display Manager (gdm) to start your Xfce session, you will have to create a .desktop file to teach gdm how to start the Xfce session. This is a sample desktop file, Xfce.desktop:Code: [Select] [Desktop Entry] Encoding=UTF-8 Name=Xfce4 Comment=Use this session to run Xfce 4.4 as your desktop environment Exec=/usr/local/bin/startxfce4 Icon=/usr/local/share/pixmaps/xfce4_xicon1.png Type=ApplicationIt is usually enough to simply copy the example file to the session directory used by gdm; this directory is usually located in /etc/dm/Sessions, /etc/X11/gdm/Sessions, /usr/share/xsessions, /usr/X11/share/gnome/xsessions or some other location. Refer to the documentation of your system for details. You need to restart gdm after you created the file.Setting up KDMIf you installed Xfce system-wide and you want to use the KDE Display Manager (kdm) to start your Xfce session, you will have to create a .desktop file to teach kdm how to start the Xfce session.First you need to find where kdm searches for its .desktop files: locate kde.desktopCommon locations are /usr/share/apps/kdm/sessions or /usr/local/share/kdm/sessions. Once you found the kdm session directory, you need to create a new file named Xfce.desktop with the following:Code: [Select] [Desktop Entry] Encoding=UTF-8 Type=XSession Exec=/usr/local/bin/startxfce4 TryExec=/usr/local/bin/startxfce4 Name=Xfce4 Comment=The Xfce4 Desktop EnvironmentLogin problemsWhen I start Xfce a dialog pops up saying "Could not look up internet address for..."Xfce simply wants your hostname to be in /etc/hosts. Example input: 127.0.0.1 localhostLogout problemsWhen I try to log out by pressing the logout button in the panel, I get a dialog asking me whether I want to quit the panel and/or xfce4-session-logout reports that no session manager is running, but it is!For some reason, your X applications cannot connect to the session manager. Possible causes for this are: your hostname cannot be resolved (see Login problems section), your home partition or partition containing /tmp is filled up, your hostname contains non-ascii characters (no umlauts allowed, in particular) or either ~/.ICEauthority or /tmp/.ICE-unix have wrong permissions. Check .xsession-errors for clues.Back To Tophttps://wiki.xfce.org/faq Last Edit: 20 April 2022, 01:15:52 by strajder
Re: After logging in, my screen sometimes returns to the login, or to a black screen Reply #6 – 20 April 2022, 01:06:17 @cat herders of linux Please use the code and quote tags in the future. You are currently creating huge unreadable posts.In your previous post here, it was enough to link to the article. Last Edit: 20 April 2022, 01:17:12 by strajder 1 Likes
Re: After logging in, my screen sometimes returns to the login, or to a black screen Reply #7 – 20 April 2022, 02:33:14 Aye cap'n! My apologies!where are the codes located at. i'm an old timer and i forgot somethings
Re: After logging in, my screen sometimes returns to the login, or to a black screen Reply #8 – 20 April 2022, 23:39:38 Quote from: Magotrap – on 19 April 2022, 02:24:44Nope, still happening, and i don't have a screensaver.Is your session restored when you log in again? I mean, your applications are still opened etc.This looks like a normal screen locking behaviour. Do you also have xfce4-power-manager running? There is a setting inside it to turn off the screen and optionally lock it on idle timeout. The screen can be locked via light-locker, for example.If this is not the case, then look into /var/log/Xorg.0.log and ~/.xsession-errors after the issue happens and check what is written there.