Help setting up xorg.conf on Fedora KDE
SOLVED: The solution for my setup was unique as Xorg doesn't work right for me. Most users will likely get a working Xorg solution thanks to the answer below to this question. See my own solution below (using xinput) if you need an alternate solution.
Hello. I'm having trouble setting up xorg.conf on my Fedora KDE laptop. First some info then what I've tried and how it's not working. P.S. I'm a somewhat Linux newb.
Info:
- Fedora 25 (KDE laptop) from linuxcertified.com (Model LC2500)
- GDM 3.22.3
- KDE Plasma: 5.9.5
- KDE Frameworks: 5.34.0
- Qt: 5.7.1
- Kernel: 4.11.10-200.fc25.x86_64
- OS: 64 bit
What I've tried:
- Stopping lightdm, gdm, and kdm, and looks like only gdm is installed
- The following commands, via various research:
$ sudo service gdm stop # This returns the following (not sure if it's a problem)
Redirecting to /bin/systemctl stop gdm.service
$ Xorg -configure # This returns the following
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE)
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)
(EE)
Please consult the Fedora Project support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
As per research, I've tried the above in terminal mode, but am having problems there as well. When I press Cntrl+Alt+F1, it goes to a login, and goes right back to my desktop GUI after authentication. F2 looks like its just the GUI, so I use F3 currently. However, the same commands give the same results as above.
Edit: After trying the ":5" part of the marked solution, I got further but am now getting a segmentation fault. Research will continue but any help will be greatly appreciated.
Here's a snippet of the segmentation fault:
[ 340.034] (II) Module ABI versions:
[ 340.034] X.Org ANSI C Emulation: 0.4
[ 340.034] X.Org Video Driver: 23.0
[ 340.034] X.Org XInput driver : 24.1
[ 340.034] X.Org Server Extension : 10.0
[ 340.035] (--) using VT number 4
[ 340.035] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 340.035] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 340.036] (EE)
[ 340.036] (EE) Backtrace:
[ 340.037] (EE) 0: /usr/libexec/Xorg (OsLookupColor+0x139) [0x59ea19]
[ 340.038] (EE) 1: /lib64/libpthread.so.0 (funlockfile+0x50) [0x7f11a65825ff]
[ 340.038] (EE) 2: /usr/libexec/Xorg (xf86PlatformMatchDriver+0x2a4) [0x496f14]
[ 340.039] (EE) 3: /usr/libexec/Xorg (xf86BusProbe+0x9) [0x46e8e9]
[ 340.039] (EE) 4: /usr/libexec/Xorg (InitOutput+0x74a) [0x47d44a]
[ 340.040] (EE) 5: /usr/libexec/Xorg (InitFonts+0x216) [0x43aea6]
[ 340.041] (EE) 6: /lib64/libc.so.6 (__libc_start_main+0xf1) [0x7f11a61cb401]
[ 340.041] (EE) 7: /usr/libexec/Xorg (_start+0x2a) [0x424d5a]
[ 340.042] (EE)
[ 340.042 ...