gdm3: Failed to parse options: Unknown option -reset (Ubuntu 18.04)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












0














I'm having the same issue as described here: my computer won't wake up after I lock the screen or put it to sleep. One of the answers suggests running sudo gdm3 -reset, which I tried. But just as some in the comments noted, I get Failed to parse options: Unknown option -reset.



I thought this deserved its own question. A quick search didn't turn up anything mentioning this specific error, and I don't know enough about gdm3 to troubleshoot this on my own effectively.



Here are the last several lines of sudo strace gdm3 -reset, in case that's helpful:



access("/etc/selinux/config", F_OK) = -1 ENOENT (No such file or directory)
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
rt_sigprocmask(SIG_BLOCK, [USR1], NULL, 8) = 0
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, st_mode=S_IFREG) = 0
mmap(NULL, 10281936, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f61862dc000
close(3) = 0
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, st_mode=S_IFREG) = 0
read(3, "# Locale name alias data base.n#"..., 4096) = 2995
read(3, "", 4096) = 0
close(3) = 0
openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/charset.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Failed to parse options: Unknown"..., 47Failed to parse options: Unknown option -reset
) = 47
exit_group(1) = ?
+++ exited with 1 +++


It seems to be looking for something in that cascade of files (something that defines -reset, perhaps?), and giving up when none of those files exists. Should they?



Any suggestions much appreciated. Thanks!



Edit: specs!



🎄 uname -r
4.15.0-42-generic
🎄 lsb_release -r
Release: 18.04
🎄 lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Stepping: 9
CPU MHz: 3938.907
CPU max MHz: 4200.0000
CPU min MHz: 800.0000
BogoMIPS: 7200.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp


...and yes, I did put a Christmas tree in my bash prompt.










share|improve this question























  • Personally I wouldn't worry about a command that may or may not fix your issue (looks to be invalid, especially since multiple others couldn't use it successfully). There were MANY recommendations in that thread (and many, many more on google) for your core problem. I would change course and try heading down a different path. If you insist on "resetting" gdm3, just reinstall the package.....
    – bgregs
    Dec 14 at 18:42










  • Here are all the three options that gdm3 has in all their glory, but as you can see reset isn't one. It's quite possible the answer you are referring to got the command wrong or somewhat less likely the code was refactored and the option removed, but either way it would be best to ping the person who suggested it and then move on to solve the actual problem you've got rather than waste your time trying to understand why a solution that doesn't work for anyone but one person doesn't work for you either.
    – undercat
    Dec 14 at 18:58










  • Actually, I just noticed that the last commit in that file prevents gdm from ignoring unknown options. That means that most likely -reset was never an option, but until recently it was discarded without an error making it look like it was a valid option. What that means to you is that instead of gdm3 -reset you just need to run gdm3 without any options for the same effect.
    – undercat
    Dec 14 at 19:09











  • @undercat Nice digging! Not to mention standard dictates that "if" it ever had existed, it would be gdm3 --reset (two hyphens). That was the big red flag in the second sentence of the OP's post. :)
    – bgregs
    Dec 14 at 19:16











  • @undercat yeah, I tried the other options before posting this :) ...anyway, good find! I will try that when I get back to work laptop.
    – acobster
    Dec 15 at 4:58















0














I'm having the same issue as described here: my computer won't wake up after I lock the screen or put it to sleep. One of the answers suggests running sudo gdm3 -reset, which I tried. But just as some in the comments noted, I get Failed to parse options: Unknown option -reset.



I thought this deserved its own question. A quick search didn't turn up anything mentioning this specific error, and I don't know enough about gdm3 to troubleshoot this on my own effectively.



Here are the last several lines of sudo strace gdm3 -reset, in case that's helpful:



access("/etc/selinux/config", F_OK) = -1 ENOENT (No such file or directory)
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
rt_sigprocmask(SIG_BLOCK, [USR1], NULL, 8) = 0
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, st_mode=S_IFREG) = 0
mmap(NULL, 10281936, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f61862dc000
close(3) = 0
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, st_mode=S_IFREG) = 0
read(3, "# Locale name alias data base.n#"..., 4096) = 2995
read(3, "", 4096) = 0
close(3) = 0
openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/charset.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Failed to parse options: Unknown"..., 47Failed to parse options: Unknown option -reset
) = 47
exit_group(1) = ?
+++ exited with 1 +++


It seems to be looking for something in that cascade of files (something that defines -reset, perhaps?), and giving up when none of those files exists. Should they?



Any suggestions much appreciated. Thanks!



Edit: specs!



🎄 uname -r
4.15.0-42-generic
🎄 lsb_release -r
Release: 18.04
🎄 lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Stepping: 9
CPU MHz: 3938.907
CPU max MHz: 4200.0000
CPU min MHz: 800.0000
BogoMIPS: 7200.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp


...and yes, I did put a Christmas tree in my bash prompt.










share|improve this question























  • Personally I wouldn't worry about a command that may or may not fix your issue (looks to be invalid, especially since multiple others couldn't use it successfully). There were MANY recommendations in that thread (and many, many more on google) for your core problem. I would change course and try heading down a different path. If you insist on "resetting" gdm3, just reinstall the package.....
    – bgregs
    Dec 14 at 18:42










  • Here are all the three options that gdm3 has in all their glory, but as you can see reset isn't one. It's quite possible the answer you are referring to got the command wrong or somewhat less likely the code was refactored and the option removed, but either way it would be best to ping the person who suggested it and then move on to solve the actual problem you've got rather than waste your time trying to understand why a solution that doesn't work for anyone but one person doesn't work for you either.
    – undercat
    Dec 14 at 18:58










  • Actually, I just noticed that the last commit in that file prevents gdm from ignoring unknown options. That means that most likely -reset was never an option, but until recently it was discarded without an error making it look like it was a valid option. What that means to you is that instead of gdm3 -reset you just need to run gdm3 without any options for the same effect.
    – undercat
    Dec 14 at 19:09











  • @undercat Nice digging! Not to mention standard dictates that "if" it ever had existed, it would be gdm3 --reset (two hyphens). That was the big red flag in the second sentence of the OP's post. :)
    – bgregs
    Dec 14 at 19:16











  • @undercat yeah, I tried the other options before posting this :) ...anyway, good find! I will try that when I get back to work laptop.
    – acobster
    Dec 15 at 4:58













0












0








0







I'm having the same issue as described here: my computer won't wake up after I lock the screen or put it to sleep. One of the answers suggests running sudo gdm3 -reset, which I tried. But just as some in the comments noted, I get Failed to parse options: Unknown option -reset.



I thought this deserved its own question. A quick search didn't turn up anything mentioning this specific error, and I don't know enough about gdm3 to troubleshoot this on my own effectively.



Here are the last several lines of sudo strace gdm3 -reset, in case that's helpful:



access("/etc/selinux/config", F_OK) = -1 ENOENT (No such file or directory)
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
rt_sigprocmask(SIG_BLOCK, [USR1], NULL, 8) = 0
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, st_mode=S_IFREG) = 0
mmap(NULL, 10281936, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f61862dc000
close(3) = 0
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, st_mode=S_IFREG) = 0
read(3, "# Locale name alias data base.n#"..., 4096) = 2995
read(3, "", 4096) = 0
close(3) = 0
openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/charset.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Failed to parse options: Unknown"..., 47Failed to parse options: Unknown option -reset
) = 47
exit_group(1) = ?
+++ exited with 1 +++


It seems to be looking for something in that cascade of files (something that defines -reset, perhaps?), and giving up when none of those files exists. Should they?



Any suggestions much appreciated. Thanks!



Edit: specs!



🎄 uname -r
4.15.0-42-generic
🎄 lsb_release -r
Release: 18.04
🎄 lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Stepping: 9
CPU MHz: 3938.907
CPU max MHz: 4200.0000
CPU min MHz: 800.0000
BogoMIPS: 7200.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp


...and yes, I did put a Christmas tree in my bash prompt.










share|improve this question















I'm having the same issue as described here: my computer won't wake up after I lock the screen or put it to sleep. One of the answers suggests running sudo gdm3 -reset, which I tried. But just as some in the comments noted, I get Failed to parse options: Unknown option -reset.



I thought this deserved its own question. A quick search didn't turn up anything mentioning this specific error, and I don't know enough about gdm3 to troubleshoot this on my own effectively.



Here are the last several lines of sudo strace gdm3 -reset, in case that's helpful:



access("/etc/selinux/config", F_OK) = -1 ENOENT (No such file or directory)
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
rt_sigprocmask(SIG_BLOCK, [USR1], NULL, 8) = 0
openat(AT_FDCWD, "/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, st_mode=S_IFREG) = 0
mmap(NULL, 10281936, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f61862dc000
close(3) = 0
openat(AT_FDCWD, "/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, st_mode=S_IFREG) = 0
read(3, "# Locale name alias data base.n#"..., 4096) = 2995
read(3, "", 4096) = 0
close(3) = 0
openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.utf8/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en/LC_MESSAGES/gdm.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f618a840f38, FUTEX_WAKE_PRIVATE, 2147483647) = 0
openat(AT_FDCWD, "/usr/share/locale/en_US.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en_US/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale/en/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en_US/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.UTF-8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en.utf8/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/share/locale-langpack/en/LC_MESSAGES/glib20.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/x86_64-linux-gnu/charset.alias", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Failed to parse options: Unknown"..., 47Failed to parse options: Unknown option -reset
) = 47
exit_group(1) = ?
+++ exited with 1 +++


It seems to be looking for something in that cascade of files (something that defines -reset, perhaps?), and giving up when none of those files exists. Should they?



Any suggestions much appreciated. Thanks!



Edit: specs!



🎄 uname -r
4.15.0-42-generic
🎄 lsb_release -r
Release: 18.04
🎄 lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
Thread(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 158
Model name: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
Stepping: 9
CPU MHz: 3938.907
CPU max MHz: 4200.0000
CPU min MHz: 800.0000
BogoMIPS: 7200.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 8192K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp


...and yes, I did put a Christmas tree in my bash prompt.







gnome3 suspend screen-lock sleep






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 14 at 18:37

























asked Dec 14 at 18:30









acobster

1193




1193











  • Personally I wouldn't worry about a command that may or may not fix your issue (looks to be invalid, especially since multiple others couldn't use it successfully). There were MANY recommendations in that thread (and many, many more on google) for your core problem. I would change course and try heading down a different path. If you insist on "resetting" gdm3, just reinstall the package.....
    – bgregs
    Dec 14 at 18:42










  • Here are all the three options that gdm3 has in all their glory, but as you can see reset isn't one. It's quite possible the answer you are referring to got the command wrong or somewhat less likely the code was refactored and the option removed, but either way it would be best to ping the person who suggested it and then move on to solve the actual problem you've got rather than waste your time trying to understand why a solution that doesn't work for anyone but one person doesn't work for you either.
    – undercat
    Dec 14 at 18:58










  • Actually, I just noticed that the last commit in that file prevents gdm from ignoring unknown options. That means that most likely -reset was never an option, but until recently it was discarded without an error making it look like it was a valid option. What that means to you is that instead of gdm3 -reset you just need to run gdm3 without any options for the same effect.
    – undercat
    Dec 14 at 19:09











  • @undercat Nice digging! Not to mention standard dictates that "if" it ever had existed, it would be gdm3 --reset (two hyphens). That was the big red flag in the second sentence of the OP's post. :)
    – bgregs
    Dec 14 at 19:16











  • @undercat yeah, I tried the other options before posting this :) ...anyway, good find! I will try that when I get back to work laptop.
    – acobster
    Dec 15 at 4:58
















  • Personally I wouldn't worry about a command that may or may not fix your issue (looks to be invalid, especially since multiple others couldn't use it successfully). There were MANY recommendations in that thread (and many, many more on google) for your core problem. I would change course and try heading down a different path. If you insist on "resetting" gdm3, just reinstall the package.....
    – bgregs
    Dec 14 at 18:42










  • Here are all the three options that gdm3 has in all their glory, but as you can see reset isn't one. It's quite possible the answer you are referring to got the command wrong or somewhat less likely the code was refactored and the option removed, but either way it would be best to ping the person who suggested it and then move on to solve the actual problem you've got rather than waste your time trying to understand why a solution that doesn't work for anyone but one person doesn't work for you either.
    – undercat
    Dec 14 at 18:58










  • Actually, I just noticed that the last commit in that file prevents gdm from ignoring unknown options. That means that most likely -reset was never an option, but until recently it was discarded without an error making it look like it was a valid option. What that means to you is that instead of gdm3 -reset you just need to run gdm3 without any options for the same effect.
    – undercat
    Dec 14 at 19:09











  • @undercat Nice digging! Not to mention standard dictates that "if" it ever had existed, it would be gdm3 --reset (two hyphens). That was the big red flag in the second sentence of the OP's post. :)
    – bgregs
    Dec 14 at 19:16











  • @undercat yeah, I tried the other options before posting this :) ...anyway, good find! I will try that when I get back to work laptop.
    – acobster
    Dec 15 at 4:58















Personally I wouldn't worry about a command that may or may not fix your issue (looks to be invalid, especially since multiple others couldn't use it successfully). There were MANY recommendations in that thread (and many, many more on google) for your core problem. I would change course and try heading down a different path. If you insist on "resetting" gdm3, just reinstall the package.....
– bgregs
Dec 14 at 18:42




Personally I wouldn't worry about a command that may or may not fix your issue (looks to be invalid, especially since multiple others couldn't use it successfully). There were MANY recommendations in that thread (and many, many more on google) for your core problem. I would change course and try heading down a different path. If you insist on "resetting" gdm3, just reinstall the package.....
– bgregs
Dec 14 at 18:42












Here are all the three options that gdm3 has in all their glory, but as you can see reset isn't one. It's quite possible the answer you are referring to got the command wrong or somewhat less likely the code was refactored and the option removed, but either way it would be best to ping the person who suggested it and then move on to solve the actual problem you've got rather than waste your time trying to understand why a solution that doesn't work for anyone but one person doesn't work for you either.
– undercat
Dec 14 at 18:58




Here are all the three options that gdm3 has in all their glory, but as you can see reset isn't one. It's quite possible the answer you are referring to got the command wrong or somewhat less likely the code was refactored and the option removed, but either way it would be best to ping the person who suggested it and then move on to solve the actual problem you've got rather than waste your time trying to understand why a solution that doesn't work for anyone but one person doesn't work for you either.
– undercat
Dec 14 at 18:58












Actually, I just noticed that the last commit in that file prevents gdm from ignoring unknown options. That means that most likely -reset was never an option, but until recently it was discarded without an error making it look like it was a valid option. What that means to you is that instead of gdm3 -reset you just need to run gdm3 without any options for the same effect.
– undercat
Dec 14 at 19:09





Actually, I just noticed that the last commit in that file prevents gdm from ignoring unknown options. That means that most likely -reset was never an option, but until recently it was discarded without an error making it look like it was a valid option. What that means to you is that instead of gdm3 -reset you just need to run gdm3 without any options for the same effect.
– undercat
Dec 14 at 19:09













@undercat Nice digging! Not to mention standard dictates that "if" it ever had existed, it would be gdm3 --reset (two hyphens). That was the big red flag in the second sentence of the OP's post. :)
– bgregs
Dec 14 at 19:16





@undercat Nice digging! Not to mention standard dictates that "if" it ever had existed, it would be gdm3 --reset (two hyphens). That was the big red flag in the second sentence of the OP's post. :)
– bgregs
Dec 14 at 19:16













@undercat yeah, I tried the other options before posting this :) ...anyway, good find! I will try that when I get back to work laptop.
– acobster
Dec 15 at 4:58




@undercat yeah, I tried the other options before posting this :) ...anyway, good find! I will try that when I get back to work laptop.
– acobster
Dec 15 at 4:58















active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f488037%2fgdm3-failed-to-parse-options-unknown-option-reset-ubuntu-18-04%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f488037%2fgdm3-failed-to-parse-options-unknown-option-reset-ubuntu-18-04%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)