Ask Your Question

mlaz7's profile - activity

2018-10-05 21:47:41 -0600 received badge  Notable Question (source)
2018-10-05 21:47:41 -0600 received badge  Popular Question (source)
2018-02-06 15:41:26 -0600 received badge  Famous Question (source)
2018-01-21 05:27:08 -0600 received badge  Notable Question (source)
2018-01-08 00:30:31 -0600 received badge  Popular Question (source)
2017-12-18 09:19:22 -0600 received badge  Nice Answer (source)
2017-12-13 00:18:30 -0600 received badge  Self-Learner (source)
2017-12-13 00:18:30 -0600 received badge  Teacher (source)
2017-12-13 00:17:50 -0600 received badge  Good Question (source)
2017-12-11 14:43:31 -0600 received badge  Nice Question (source)
2017-12-11 14:37:37 -0600 answered a question Fedora 27 freezes after login

So, I switched to LightDM, and after a few days of use, still no freezing. The issue seems to be with GDM, however I actually really like LightDM. I have always used GDM and never knew what I was missing. The ease with which you can customize LightDM is Awesome!!! So, for me, switching the DM is an acceptable solution. Still unsure what caused the issue in GDM in the first place, but I'm happy just not using GDM. Thanks for the suggestions guys!!

2017-12-08 21:05:01 -0600 received badge  Editor (source)
2017-12-07 10:57:04 -0600 received badge  Student (source)
2017-12-07 01:27:14 -0600 asked a question Fedora 27 freezes after login

Occasionally, after selecting my username, entering password and clicking login, i get stuck at a frozen gray screen which doesn't respond to any input. I'm running fedora 27 on gnome with wayland disabled and using the nvidia drivers for a gtx1060. On the occasions that this doesn't happen, everything seems to be working great. When it does, I have to power off computer with the power button and power back on. Any ideas what could cause this behavior??

OK, probably should have done this from the start, but below are my /var/log/Xorg.1.log and /var/log/Xorg.1.log.old. I noticed some weird got pause messages from systemd-logind in the .old file, but I'm not really sure what to make of these. Hopefully someone can use this info to help me narrow down a cause. (Sorry, I can't attach files, so these are just incredibly long blocks of code......)

Xorg.1.log:


[    13.844] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[    13.844] _XSERVTransMakeAllCOTSServerListeners: server already running
[    13.844] (--) Log file renamed from "/var/log/Xorg.pid-1437.log" to "/var/log/Xorg.1.log"
[    13.844] 
X.Org X Server 1.19.5
Release Date: 2017-10-12
[    13.844] X Protocol Version 11, Revision 0
[    13.844] Build Operating System:  4.12.9-300.fc26.x86_64 
[    13.845] Current Operating System: Linux Mike-Laptop 4.13.16-302.fc27.x86_64 #1 SMP Thu Nov 30 15:33:36 UTC 2017 x86_64
[    13.845] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.13.16-302.fc27.x86_64 root=UUID=c71e3b1d-4bb4-483b-8c33-616a59502613 ro rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 rhgb quiet LANG=en_US.UTF-8 elevator=deadline
[    13.845] Build Date: 12 October 2017  07:35:27PM
[    13.845] Build ID: xorg-x11-server 1.19.5-1.fc27 
[    13.845] Current version of pixman: 0.34.0
[    13.845]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    13.845] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    13.845] (==) Log file: "/var/log/Xorg.1.log", Time: Fri Dec  8 18:48:50 2017
[    13.845] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    13.845] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    13.845] (==) No Layout section.  Using the first Screen section.
[    13.845] (==) No screen section available. Using defaults.
[    13.845] (**) |-->Screen "Default Screen Section" (0)
[    13.845] (**) |   |-->Monitor "<default monitor="">"
[    13.845] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[    13.845] (==) Automatically adding devices
[    13.845] (==) Automatically enabling devices
[    13.845] (==) Automatically adding GPU devices
[    13.845] (==) Automatically binding GPU devices
[    13.845] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    13.845] (==) FontPath set to:
    catalogue:/etc/X11/fontpath.d,
    built-ins
[    13.845] (==) ModulePath set to "/usr/lib64/xorg/modules"
[    13.845] (II) The server relies on udev to provide the list of input devices.
    If no devices become available ...
(more)
2017-12-03 12:58:30 -0600 answered a question grub2 error: can't find command 'background_image'.

So not really an answer, but I found a work around. By applying a theme to grub I am able to change the background in the theme.txt and it works. Still don't know why I was getting the error when trying to just set the background image, and I am still somewhat curious, but at least it is working now. Thanks for your help Glenn.

2017-12-03 02:31:00 -0600 commented answer grub2 error: can't find command 'background_image'.

Thanks for the quick response. Unfortunately, after making these changes, nothing changed. Same error message, still no background.

2017-12-02 02:02:32 -0600 asked a question grub2 error: can't find command 'background_image'.

So, I have been trying to add a background image to the grub2 bootloader and been having no luck. I am running Fedora 27 and using UEFI boot. I did notice when booting grub flashes an error very quickly, and by manually editing grub.cfg and adding a sleep command at the the end, I was able to to determine that the error was:error: can't find command 'background_image'. I have included my /etc/default/grub and the /boot/efi/EFI/fedora/grub.cfg that is generated by grub2-mkconfig below if those are any help, but I think the problem is due to the missing command error. I just don't know how to solve this. Any help is greatly appreciated.

My /etc/default/grub:


GRUB_TIMEOUT=60
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=false
GRUB_TERMINAL_OUTPUT="gfxterm"
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvid$
GRUB_DISABLE_RECOVERY="true"

GRUB_TERMINAL=gfxterm
export GRUB_COLOR_NORMAL="white/black"
export GRUB_COLOR_HIGHLIGHT="yellow/red"
GRUB_BACKGROUND="/boot/efi/EFI/fedora/tardis_inside.png"
GRUB_GFXMODE=auto

and my /boot/efi/EFI/fedora/grub.cfg:


#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set pager=1

if [ -f ${config_directory}/grubenv ]; then
  load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="${saved_entry}"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  c71e3b1d-4bb4-483b-8c33-616a59502613
else
  search --no-floppy --fs-uuid --set=root c71e3b1d-4bb4-483b-8c33-616a59502613
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input gfxterm
terminal_output gfxterm
insmod part_gpt
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  AE0C-F05B
else
  search --no-floppy --fs-uuid --set=root AE0C-F05B
fi
insmod png
background_image -m stretch /EFI/fedora/tardis_inside.png
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=60
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=60
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
  source ${prefix}/user.cfg
  if [ -n "${GRUB2_PASSWORD}" ]; then
    set superusers="root"
    export superusers
    password_pbkdf2 root ${GRUB2_PASSWORD}
  fi
fi
### END /etc/grub.d/01_users ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-c71e3b1d-4bb4-483b-8c33-616a59502613' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_gpt
    insmod ext2
    if [ x$feature_platform_search_hint = xy ...
(more)