Skip to main content
Share Your Experience: Take the 2024 Developer Survey
19 votes
Accepted

How to execute command before user login on linux

Introduction To run a program in graphical environement before a user logged in a graphical environment depend on your display manager. A display manager is in charge to provide you a login interface ...
Kiwy's user avatar
  • 9,575
7 votes
Accepted

Why GNOME Display Manager always read .profile?

Your problems with .bashrc are unrelated. .profile needs to be compatible with all sh-compatible shells, whereas of course .bashrc is specific to Bash and should generally not be sourced by other ...
tripleee's user avatar
  • 7,743
5 votes
Accepted

How to configure gdm for login into a sway session?

Is sway compatible with gdm? yes Does gdm support wayland or only Xorg? gdm3 itself runs on wayland. It supports both wayland and Xorg sessions. How to configure gdm for sway? You are missing ...
mviereck's user avatar
  • 2,485
5 votes
Accepted

Xorg Conf: NVIDIA performance settings for AC/battery?

I got it! After searching the web again, I've found this site on reddit. Basically the change is: PerfLevelSrc to 0x2233, which means: fixed for battery (22) and dynamic for AC (33) ...
Michael Hirschler's user avatar
5 votes

how to disable gdm and graphical interface on RHEL 8.2

As pointed out by @jordanm, and reinforced by RHEL support (thanks to Joe W. for a prompt response) we can disable via: # systemctl set-default multi-user.target # systemctl isolate multi-user....
martin's user avatar
  • 203
3 votes

OEL6 Slow boot && Millions of socket files in /tmp/orbit-gdm

I'm having the same problem on RHEL6.8 with an 800 megabyte /tmp/orbit-walker directory (walker is my username). This prevented my system from booting. I found the problem by adding init=/bin/bash ...
rickwalker's user avatar
3 votes

How to find out the current (active) XServer DISPLAY number?

Here's an example with two servers running on the same host. I used startx to launch both of them, as you can see from the output of pstree -pl below. The first child process with $DISPLAY set is ....
Metamorphic's user avatar
  • 1,189
3 votes
Accepted

Only one X Screen working; how to get two X Screens?

After much research and experimentation (with .conf files and otherwise) I was never able to determine the root cause of this issue. I did eventually get two X Screens working again by doing a full re-...
Babak's user avatar
  • 141
3 votes
Accepted

Fedora 33: Installing Nvidia Drivers from Nvidia

Edit /etc/sysconfig/grub and append rd.driver.blacklist=nouveau to end of GRUB_CMDLINE_LINUX=”…”. ## Example row with Fedora 33 BTRFS ## GRUB_CMDLINE_LINUX="rhgb quiet rd.driver.blacklist=nouveau&...
NerdThatNoOneLikes's user avatar
3 votes

USB camera not working, recognized as keyboard

I have the same error and I've added a couple of ignores at the X11 configuration. First, check the cam is listed as a keyboard with the command xinput list, then create a file called /etc/X11/xorg....
Carlos Saltos's user avatar
2 votes

How to find out the current (active) XServer DISPLAY number?

This is my solution based on other answers: #!/bin/bash DISPLAY="" # Guess the active DISPLAY while read session; do # Explode to needed variables set -- $session; tty=$2; display=$3 # ...
Adam Wallner's user avatar
2 votes

How to find out the current (active) XServer DISPLAY number?

Next script lists user name and display number for logged in users when the corresponding terminal is active. w -hs | \ awk -v tty="$(cat /sys/class/tty/tty0/active)" \ '$2 == tty && $3 !=...
Quatro por Quatro's user avatar
2 votes

How to disable virtual keyboard on GDM screen

On screen keyboard driving you mad? Get rid of it by clicking the accessibility icon in the upper right. You can then select "Off" for the keyboard.
Michael Hampton's user avatar
2 votes
Accepted

GNOME3/GDM first login fails but second login succeeds

I just realized that for some reason, the first key I press on my USB keyboard does not get registered.
Sreehari's user avatar
  • 131
2 votes

Debian 10 (buster) - gdm3 only starts after "systemctl restart gdm3"

wiki.debian.org DebianTesting has specific instructions for gdm apt-get --reinstall install gdm3 apt-get --reinstall install gnome apt-get --reinstall install gnome-shell dpkg-reconfigure gdm3
rbltaster's user avatar
2 votes
Accepted

Ubuntu, detect new display

OK, so you have an HP Elitebook 850 G5, which does not seem to have the optional discrete Radeon R59 GPU installed, and so it's working with just the Intel GPU that's integrated into the processor. So ...
telcoM's user avatar
  • 98.1k
2 votes
Accepted

Boot hangs at "Reached target Graphical Interface" on Arch after system update (no virtualbox)

K, the solution was this, credit to @cweagans for helping me out with this! systemctl disable gdm.service yay --remove gdm yay --sync --refresh gdm systemctl enable gdm.service reboot Works!
Elijah Lynn's user avatar
  • 1,085
2 votes
Accepted

GNOME/gdm disable reveal password button

Just set the dconf property disable-show-password in /org/gnome/desktop/lockdown to true for the gdm and your own user. gsettings set org.gnome.desktop.lockdown disable-show-password true Side note: I'...
Kippi's user avatar
  • 41
2 votes

Unmet Dependencies ubuntu-desktop

What worked for me: I simply installed the task-package of ubuntu-desktop. You can install it by: sudo apt install ubuntu-desktop^ ^ means task package If you prefer GUI: sudo apt install tasksel ...
Error404's user avatar
  • 182
2 votes
Accepted

How do I handle PGP issues when installing gnome

The signing key for Alexander Epaneshnikov expired on Jan 20, 2022. It looks like you will need to wait for the package maintainer to update the signing key. Additional options suggested on the Arch ...
fuzzydrawrings's user avatar
2 votes
Accepted

gdm doen't start on Debian 11

Try adding this line: [Install] WantedBy=graphical.target to the gdm.service. For editing you can use: sudo -e /lib/systemd/system/gdm.service and finally try to enable gdm service: rebooting: sudo ...
Edgar Magallon's user avatar
1 vote
Accepted

Blinking cursor after debian 9 to 10 dist-upgrade

I found out what was my problem The nvidia driver did not installed itself when I dist-upgraded because the new kernel-headers package in the buster repo was not installed(it was missing dependencies) ...
Gaspé Dannick Larochelle's user avatar
1 vote

Blinking cursor after debian 9 to 10 dist-upgrade

I would try this: Make sure all of the things you purged that were installed when the system worked are installed and not broken and make sure they are configured. apt-get fix-missing, apt-get fix-...
Michael Prokopec's user avatar
1 vote
Accepted

Error when using xmonad on Debian Buster after distribution upgrade

Problem solved, but was unrelated. I'll post how I debugged this problem. I needed to check /var/log/Xorg.0.log, but the file was somehow truncated so that I missed the error. login in another tty ...
Gauthier's user avatar
  • 870
1 vote

Debian 10 (buster) - gdm3 only starts after "systemctl restart gdm3"

Experienced a similiar issue without gnome starting at boot. dmesg (for me) showed a segfault in gnome-shell due to weyland. Updating the daemon.conf in /etc/gdm3/ with "WaylandEnable=false" removed ...
Alchemist apf's user avatar
1 vote

GDM Can't unlock screen

I uninstalled xorg-xprop and this problem gone away.
Kadu Diógenes's user avatar
1 vote
Accepted

Why does SaK kill gdm, which is running on a different VT?

Linux SaK kills all processes which have the current tty open. See https://elixir.bootlin.com/linux/v4.17/source/drivers/tty/tty_io.c#L2700 systemd-logind appears to open all active ttys. You can ...
sourcejedi's user avatar
  • 50.7k
1 vote
Accepted

How to disable virtual keyboard on GDM screen

Based on musings by Michael Hampton, I tried to make sure that I was running gdm and not some other manager. I installed system-switch-displaymanager via sudo dnf install -y system-switch-...
Sardathrion - against SE abuse's user avatar
1 vote
Accepted

$GDM_USER has no access to $XDG_DATA after manually changing location of $XDG_DATA

I believe the main problem here is that /etc/profile.d/xdg_dirs.sh is not sourced when starting gdm since it's now using wayland and not X (Xsession script is not started anymore) IMHO, you shouldn't ...
Bigon's user avatar
  • 2,192

Only top scored, non community-wiki answers of a minimum length are eligible