LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 04-16-2020, 11:04 AM   #16
hello.world
LQ Newbie
 
Registered: Apr 2020
Location: USA
Distribution: LFS
Posts: 22

Original Poster
Rep: Reputation: Disabled

OK, I just tried something.

I booted the system and logged in as my normal user (command-line only). Then, I issued the following command:
Code:
startx > ~/.x-session-errors 2&>1
Here, I got the "Unable to load failsafe session" popup as I have been for a while. However, I tried looking at the contents of .x-session-errors (via cat .x-session-errors) and there was nothing there. Then, I looked at the contents of the file "1", and it contained the "X server is already running..." line. However, it was my first time starting X after booting. The file even includes today's date/time, so I know I'm not looking at old output. Here is the entire file:
Code:
xauth:  file /home/vr/.serverauth.573 does not exist


X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.5.3 x86_64 
Current Operating System: Linux VR-LFS 5.5.3 #1 SMP Fri Mar 27 17:37:39 CDT 2020 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.5.3-lfs-9.1 root=/dev/sda9
Build Date: 26 March 2020  11:17:19AM
 
Current version of pixman: 0.38.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 16 10:51:20 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) AMDGPU(0): [KMS] Kernel modesetting enabled.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> ignored
>                   X11 cannot support keycodes above 255.
>                   This warning only shows for the first high keycode.
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
/usr/bin/startxfce4: X server already running on display :0
/usr/bin/iceauth:  creating new authority file /run/user/1000/ICEauthority
xfce4-session: No GPG agent found
xfce4-session: No SSH authentication agent found

(xfce4-session:616): xfce4-session-WARNING **: 10:51:22.210: xfsm_manager_load_session: Something wrong with /home/vr/.cache/sessions/xfce4-session-VR-LFS:0, Does it exist? Permissions issue?
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
Sorry I took so long to get back to you.
 
Old 04-17-2020, 02:11 AM   #17
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ondoho View Post
That measn you didn't enter the commands exactly as I typed them.
Probably one space too many somewhere.
I have to apologise:
The command was/is wrong. Where it reads
Code:
2&>1
it should actually read
Code:
2>&1
Sorry.
 
Old 04-20-2020, 09:00 PM   #18
hello.world
LQ Newbie
 
Registered: Apr 2020
Location: USA
Distribution: LFS
Posts: 22

Original Poster
Rep: Reputation: Disabled
No worries, we all make typos.

Here is the output of the command:
Code:
xauth:  file /home/vr/.serverauth.569 does not exist


X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.5.3 x86_64 
Current Operating System: Linux VR-LFS 5.5.3 #1 SMP Fri Mar 27 17:37:39 CDT 2020 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.5.3-lfs-9.1 root=/dev/sda9
Build Date: 26 March 2020  11:17:19AM
 
Current version of pixman: 0.38.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 20 10:56:39 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) AMDGPU(0): [KMS] Kernel modesetting enabled.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> ignored
>                   X11 cannot support keycodes above 255.
>                   This warning only shows for the first high keycode.
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
/usr/bin/startxfce4: X server already running on display :0
/usr/bin/iceauth:  creating new authority file /run/user/1000/ICEauthority
xfce4-session: No GPG agent found
xfce4-session: No SSH authentication agent found

(xfce4-session:612): xfce4-session-WARNING **: 10:56:41.146: xfsm_manager_load_session: Something wrong with /home/vr/.cache/sessions/xfce4-session-VR-LFS:0, Does it exist? Permissions issue?
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
Again, I see that it thinks X is already running, even though it was my first time running startx after booting the system.
 
Old 04-21-2020, 01:59 AM   #19
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by hello.world View Post
Again, I see that it thinks X is already running, even though it was my first time running startx after booting the system.
Again, as I already pointed out in post #13:
Quote:
Originally Posted by ondoho View Post
FWIW, I see another problem:
Code:
/usr/bin/startxfce4: X server already running on display :0
Is there a GUI already up and running when you startxfce?
FWIW, I believe you need to use either startx or startxfce4, not one after the other (I believe the latter is just a thin wrapper around startx or xinit).
Which file have you edited to configure the launching of X?
~/.xinitrc?
Show us that file.

Also, always show us which command produced the output.

Last edited by ondoho; 04-21-2020 at 02:00 AM.
 
Old 04-21-2020, 10:01 AM   #20
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
I'm going through a session here with xfce4 with a new install. I used runlevel 3, 2 user ttys

On one: startx >X_Problem 2>&1

On the other: read the logfiles, X_Problem & /var/log/Xorg.0.log

Both recorded different things.
 
Old 04-21-2020, 11:54 AM   #21
hello.world
LQ Newbie
 
Registered: Apr 2020
Location: USA
Distribution: LFS
Posts: 22

Original Poster
Rep: Reputation: Disabled
I should have clarified that there is no GUI on the system. In my last post, after you told me to run the command only once and not as root, I booted up, logged in via command line, and then tried
Code:
startx > ~/.x-session-errors 2>&1
. I was able to close the "unable to load failsafe session" ppopup by pressing the enter key, and the command stopped execution. Then, I viewed the .x-session-errors file by running
Code:
cat .x-session-errors
. That is all; I didn't retry the command.

If it helps, here are the contents of .xinitrc:
Code:
dbus-launch --exit-with-session startxfce4
@business_kid: that's interesting. Here's my /var/log/Xorg.0.log:
Code:
[    45.844] 
X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
[    45.844] Build Operating System: Linux 5.5.3 x86_64 
[    45.844] Current Operating System: Linux VR-LFS 5.5.3 #1 SMP Fri Mar 27 17:37:39 CDT 2020 x86_64
[    45.844] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.5.3-lfs-9.1 root=/dev/sda9
[    45.844] Build Date: 26 March 2020  11:17:19AM
[    45.844]  
[    45.844] Current version of pixman: 0.38.4
[    45.844] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    45.844] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    45.844] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr 20 10:56:39 2020
[    45.850] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    45.852] (==) No Layout section.  Using the first Screen section.
[    45.852] (==) No screen section available. Using defaults.
[    45.852] (**) |-->Screen "Default Screen Section" (0)
[    45.852] (**) |   |-->Monitor "<default monitor>"
[    45.852] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    45.852] (==) Automatically adding devices
[    45.852] (==) Automatically enabling devices
[    45.852] (==) Automatically adding GPU devices
[    45.853] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    45.855] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/misc/".
[    45.855] 	Entry deleted from font path.
[    45.855] 	(Run 'mkfontdir' on "/usr/share/fonts/X11/misc/").
[    45.855] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/100dpi/".
[    45.855] 	Entry deleted from font path.
[    45.855] 	(Run 'mkfontdir' on "/usr/share/fonts/X11/100dpi/").
[    45.856] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/75dpi/".
[    45.856] 	Entry deleted from font path.
[    45.856] 	(Run 'mkfontdir' on "/usr/share/fonts/X11/75dpi/").
[    45.856] (==) FontPath set to:
	/usr/share/fonts/X11/TTF/,
	/usr/share/fonts/X11/OTF/,
	/usr/share/fonts/X11/Type1/
[    45.856] (==) ModulePath set to "/usr/lib/xorg/modules"
[    45.856] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    45.856] (II) Loader magic: 0x613c20
[    45.856] (II) Module ABI versions:
[    45.856] 	X.Org ANSI C Emulation: 0.4
[    45.856] 	X.Org Video Driver: 24.1
[    45.856] 	X.Org XInput driver : 24.1
[    45.856] 	X.Org Server Extension : 10.0
[    45.856] (II) xfree86: Adding drm device (/dev/dri/card0)
[    45.866] (--) PCI:*(0@0:1:0) 1002:9874:1179:f845 rev 197, Mem @ 0xe0000000/268435456, 0xf0800000/8388608, 0xf0500000/262144, I/O @ 0x00005000/256, BIOS @ 0x????????/131072
[    45.866] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    45.866] (II) LoadModule: "glx"
[    45.868] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    45.885] (II) Module glx: vendor="X.Org Foundation"
[    45.885] 	compiled for 1.20.7, module version = 1.0.0
[    45.885] 	ABI class: X.Org Server Extension, version 10.0
[    45.885] (II) Applying OutputClass "AMDgpu" to /dev/dri/card0
[    45.885] 	loading driver: amdgpu
[    45.885] (==) Matched amdgpu as autoconfigured driver 0
[    45.885] (==) Matched ati as autoconfigured driver 1
[    45.885] (==) Matched modesetting as autoconfigured driver 2
[    45.885] (==) Matched fbdev as autoconfigured driver 3
[    45.885] (==) Matched vesa as autoconfigured driver 4
[    45.885] (==) Assigned the driver to the xf86ConfigLayout
[    45.885] (II) LoadModule: "amdgpu"
[    45.885] (II) Loading /usr/lib/xorg/modules/drivers/amdgpu_drv.so
[    45.892] (II) Module amdgpu: vendor="X.Org Foundation"
[    45.892] 	compiled for 1.20.7, module version = 19.1.0
[    45.892] 	Module class: X.Org Video Driver
[    45.892] 	ABI class: X.Org Video Driver, version 24.1
[    45.892] (II) LoadModule: "ati"
[    45.893] (WW) Warning, couldn't open module ati
[    45.893] (EE) Failed to load module "ati" (module does not exist, 0)
[    45.893] (II) LoadModule: "modesetting"
[    45.893] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    45.894] (II) Module modesetting: vendor="X.Org Foundation"
[    45.894] 	compiled for 1.20.7, module version = 1.20.7
[    45.894] 	Module class: X.Org Video Driver
[    45.894] 	ABI class: X.Org Video Driver, version 24.1
[    45.894] (II) LoadModule: "fbdev"
[    45.895] (WW) Warning, couldn't open module fbdev
[    45.895] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    45.895] (II) LoadModule: "vesa"
[    45.895] (WW) Warning, couldn't open module vesa
[    45.895] (EE) Failed to load module "vesa" (module does not exist, 0)
[    45.895] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[    45.895] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    45.895] (++) using VT number 1

[    45.895] (II) AMDGPU(0): [KMS] Kernel modesetting enabled.
[    45.896] (WW) Falling back to old probe method for modesetting
[    45.896] (II) AMDGPU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    45.896] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
[    45.896] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    45.896] (==) AMDGPU(0): Default visual is TrueColor
[    45.896] (==) AMDGPU(0): RGB weight 888
[    45.896] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
[    45.896] (--) AMDGPU(0): Chipset: "AMD Radeon R6 Graphics" (ChipID = 0x9874)
[    45.896] (II) Loading sub module "fb"
[    45.896] (II) LoadModule: "fb"
[    45.896] (II) Loading /usr/lib/xorg/modules/libfb.so
[    45.898] (II) Module fb: vendor="X.Org Foundation"
[    45.898] 	compiled for 1.20.7, module version = 1.0.0
[    45.898] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    45.898] (II) Loading sub module "dri2"
[    45.898] (II) LoadModule: "dri2"
[    45.898] (II) Module "dri2" already built-in
[    46.174] (II) Loading sub module "glamoregl"
[    46.174] (II) LoadModule: "glamoregl"
[    46.174] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    46.186] (II) Module glamoregl: vendor="X.Org Foundation"
[    46.186] 	compiled for 1.20.7, module version = 1.0.1
[    46.186] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    46.229] (II) AMDGPU(0): glamor X acceleration enabled on AMD Radeon R6 Graphics (CARRIZO, DRM 3.36.0, 5.5.3, LLVM 9.0.1)
[    46.229] (II) AMDGPU(0): glamor detected, initialising EGL layer.
[    46.229] (==) AMDGPU(0): TearFree property default: auto
[    46.229] (==) AMDGPU(0): VariableRefresh: disabled
[    46.229] (II) AMDGPU(0): KMS Pageflipping: enabled
[    46.229] (II) AMDGPU(0): Output eDP has no monitor section
[    46.229] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
[    46.229] (II) AMDGPU(0): Output HDMI-A-1 has no monitor section
[    46.246] (II) AMDGPU(0): EDID for output eDP
[    46.246] (II) AMDGPU(0): Manufacturer: LGD  Model: 456  Serial#: 0
[    46.246] (II) AMDGPU(0): Year: 2014  Week: 0
[    46.246] (II) AMDGPU(0): EDID Version: 1.4
[    46.246] (II) AMDGPU(0): Digital Display Input
[    46.246] (II) AMDGPU(0): 6 bits per channel
[    46.246] (II) AMDGPU(0): Digital interface is DisplayPort
[    46.246] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[    46.246] (II) AMDGPU(0): Gamma: 2.20
[    46.246] (II) AMDGPU(0): DPMS capabilities: StandBy Suspend Off
[    46.246] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[    46.246] (II) AMDGPU(0): First detailed timing is preferred mode
[    46.246] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
[    46.246] (II) AMDGPU(0): redX: 0.578 redY: 0.344   greenX: 0.337 greenY: 0.571
[    46.246] (II) AMDGPU(0): blueX: 0.159 blueY: 0.120   whiteX: 0.313 whiteY: 0.329
[    46.246] (II) AMDGPU(0): Manufacturer's mask: 0
[    46.246] (II) AMDGPU(0): Supported detailed timing:
[    46.246] (II) AMDGPU(0): clock: 76.3 MHz   Image Size:  344 x 194 mm
[    46.246] (II) AMDGPU(0): h_active: 1366  h_sync: 1414  h_sync_end 1446 h_blank_end 1610 h_border: 0
[    46.246] (II) AMDGPU(0): v_active: 768  v_sync: 771  v_sync_end 776 v_blanking: 790 v_border: 0
[    46.246] (II) AMDGPU(0):  LG Display
[    46.246] (II) AMDGPU(0):  LP156WHB-TPA1
[    46.246] (II) AMDGPU(0): EDID (in hex):
[    46.246] (II) AMDGPU(0): 	00ffffffffffff0030e4560400000000
[    46.247] (II) AMDGPU(0): 	0018010495221378ea05f59458569228
[    46.247] (II) AMDGPU(0): 	1e505400000001010101010101010101
[    46.247] (II) AMDGPU(0): 	010101010101d01d56f4500016303020
[    46.247] (II) AMDGPU(0): 	350058c2100000190000000000000000
[    46.247] (II) AMDGPU(0): 	00000000000000000000000000fe004c
[    46.247] (II) AMDGPU(0): 	4720446973706c61790a2020000000fe
[    46.247] (II) AMDGPU(0): 	004c503135365748422d5450413100c7
[    46.247] (II) AMDGPU(0): Printing probed modes for output eDP
[    46.247] (II) AMDGPU(0): Modeline "1366x768"x60.0   76.32  1366 1414 1446 1610  768 771 776 790 -hsync -vsync (47.4 kHz eP)
[    46.247] (II) AMDGPU(0): Modeline "1280x720"x60.0   76.32  1280 1414 1446 1610  720 771 776 790 -hsync -vsync (47.4 kHz e)
[    46.247] (II) AMDGPU(0): Modeline "1024x768"x60.0   76.32  1024 1414 1446 1610  768 771 776 790 -hsync -vsync (47.4 kHz e)
[    46.247] (II) AMDGPU(0): Modeline "800x600"x60.0   76.32  800 1414 1446 1610  600 771 776 790 -hsync -vsync (47.4 kHz e)
[    46.247] (II) AMDGPU(0): Modeline "640x480"x60.0   76.32  640 1414 1446 1610  480 771 776 790 -hsync -vsync (47.4 kHz e)
[    46.247] (II) AMDGPU(0): EDID for output HDMI-A-0
[    46.247] (II) AMDGPU(0): EDID for output HDMI-A-1
[    46.247] (II) AMDGPU(0): Output eDP connected
[    46.247] (II) AMDGPU(0): Output HDMI-A-0 disconnected
[    46.247] (II) AMDGPU(0): Output HDMI-A-1 disconnected
[    46.247] (II) AMDGPU(0): Using exact sizes for initial modes
[    46.247] (II) AMDGPU(0): Output eDP using initial mode 1366x768 +0+0
[    46.247] (II) AMDGPU(0): mem size init: gart size :bfd34000 vram size: s:1f1ec000 visible:1f1ec000
[    46.247] (==) AMDGPU(0): DPI set to (96, 96)
[    46.247] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
[    46.247] (II) Loading sub module "ramdac"
[    46.247] (II) LoadModule: "ramdac"
[    46.247] (II) Module "ramdac" already built-in
[    46.247] (II) UnloadModule: "modesetting"
[    46.247] (II) Unloading modesetting
[    46.248] (II) AMDGPU(0): [DRI2] Setup complete
[    46.248] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[    46.248] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[    46.248] (II) AMDGPU(0): Front buffer pitch: 5504 bytes
[    46.249] (II) AMDGPU(0): SYNC extension fences enabled
[    46.250] (II) AMDGPU(0): Present extension enabled
[    46.250] (==) AMDGPU(0): DRI3 enabled
[    46.250] (==) AMDGPU(0): Backing store enabled
[    46.250] (II) AMDGPU(0): Direct rendering enabled
[    46.293] (II) AMDGPU(0): Use GLAMOR acceleration.
[    46.293] (II) AMDGPU(0): Acceleration enabled
[    46.293] (==) AMDGPU(0): DPMS enabled
[    46.293] (==) AMDGPU(0): Silken mouse enabled
[    46.293] (II) AMDGPU(0): Set up textured video (glamor)
[    46.313] (II) Initializing extension Generic Event Extension
[    46.313] (II) Initializing extension SHAPE
[    46.313] (II) Initializing extension MIT-SHM
[    46.313] (II) Initializing extension XInputExtension
[    46.314] (II) Initializing extension XTEST
[    46.314] (II) Initializing extension BIG-REQUESTS
[    46.314] (II) Initializing extension SYNC
[    46.314] (II) Initializing extension XKEYBOARD
[    46.314] (II) Initializing extension XC-MISC
[    46.314] (II) Initializing extension XFIXES
[    46.314] (II) Initializing extension RENDER
[    46.314] (II) Initializing extension RANDR
[    46.314] (II) Initializing extension COMPOSITE
[    46.314] (II) Initializing extension DAMAGE
[    46.314] (II) Initializing extension MIT-SCREEN-SAVER
[    46.314] (II) Initializing extension DOUBLE-BUFFER
[    46.314] (II) Initializing extension RECORD
[    46.314] (II) Initializing extension DPMS
[    46.314] (II) Initializing extension Present
[    46.314] (II) Initializing extension DRI3
[    46.314] (II) Initializing extension X-Resource
[    46.314] (II) Initializing extension XVideo
[    46.314] (II) Initializing extension XVideo-MotionCompensation
[    46.314] (II) Initializing extension GLX
[    46.334] (II) AIGLX: Loaded and initialized radeonsi
[    46.334] (II) GLX: Initialized DRI2 GL provider for screen 0
[    46.334] (II) Initializing extension XFree86-VidModeExtension
[    46.334] (II) Initializing extension XFree86-DGA
[    46.334] (II) Initializing extension XFree86-DRI
[    46.334] (II) Initializing extension DRI2
[    46.337] (II) AMDGPU(0): Setting screen physical size to 361 x 203
[    46.468] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    46.468] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    46.468] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    46.468] (II) LoadModule: "libinput"
[    46.468] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    46.474] (II) Module libinput: vendor="X.Org Foundation"
[    46.474] 	compiled for 1.20.7, module version = 0.29.0
[    46.474] 	Module class: X.Org XInput Driver
[    46.474] 	ABI class: X.Org XInput driver, version 24.1
[    46.474] (II) Using input driver 'libinput' for 'Power Button'
[    46.474] (**) Power Button: always reports core events
[    46.474] (**) Option "Device" "/dev/input/event2"
[    46.476] (**) Option "_source" "server/udev"
[    46.483] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    46.484] (II) event2  - Power Button: device is a keyboard
[    46.484] (II) event2  - Power Button: device removed
[    46.493] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    46.493] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    46.494] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    46.494] (II) event2  - Power Button: device is a keyboard
[    46.495] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[    46.495] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    46.495] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    46.495] (II) Using input driver 'libinput' for 'Video Bus'
[    46.495] (**) Video Bus: always reports core events
[    46.495] (**) Option "Device" "/dev/input/event3"
[    46.495] (**) Option "_source" "server/udev"
[    46.495] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[    46.496] (II) event3  - Video Bus: device is a keyboard
[    46.496] (II) event3  - Video Bus: device removed
[    46.513] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3/event3"
[    46.513] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    46.514] (II) event3  - Video Bus: is tagged by udev as: Keyboard
[    46.514] (II) event3  - Video Bus: device is a keyboard
[    46.515] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[    46.515] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    46.515] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    46.515] (II) Using input driver 'libinput' for 'Power Button'
[    46.515] (**) Power Button: always reports core events
[    46.515] (**) Option "Device" "/dev/input/event0"
[    46.515] (**) Option "_source" "server/udev"
[    46.515] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    46.515] (II) event0  - Power Button: device is a keyboard
[    46.516] (II) event0  - Power Button: device removed
[    46.525] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[    46.525] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    46.526] (II) event0  - Power Button: is tagged by udev as: Keyboard
[    46.526] (II) event0  - Power Button: device is a keyboard
[    46.526] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[    46.526] (II) No input driver specified, ignoring this device.
[    46.526] (II) This device may have been added with another device file.
[    46.527] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event6)
[    46.527] (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall"
[    46.527] (**) Logitech USB Receiver: Applying InputClass "libinput pointer catchall"
[    46.527] (II) Using input driver 'libinput' for 'Logitech USB Receiver'
[    46.527] (**) Logitech USB Receiver: always reports core events
[    46.527] (**) Option "Device" "/dev/input/event6"
[    46.527] (**) Option "_source" "server/udev"
[    46.580] (II) event6  - Logitech USB Receiver: is tagged by udev as: Mouse
[    46.580] (II) event6  - Logitech USB Receiver: device set to 1000 DPI
[    46.580] (II) event6  - Logitech USB Receiver: device is a pointer
[    46.580] (II) event6  - Logitech USB Receiver: device removed
[    46.598] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.1/1-1.1:1.0/0003:046D:C52F.0001/input/input13/event6"
[    46.598] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 9)
[    46.598] (**) Option "AccelerationScheme" "none"
[    46.598] (**) Logitech USB Receiver: (accel) selected scheme none/0
[    46.598] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[    46.598] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[    46.651] (II) event6  - Logitech USB Receiver: is tagged by udev as: Mouse
[    46.651] (II) event6  - Logitech USB Receiver: device set to 1000 DPI
[    46.651] (II) event6  - Logitech USB Receiver: device is a pointer
[    46.652] (II) config/udev: Adding input device Logitech USB Receiver Consumer Control (/dev/input/event7)
[    46.652] (**) Logitech USB Receiver Consumer Control: Applying InputClass "evdev keyboard catchall"
[    46.652] (**) Logitech USB Receiver Consumer Control: Applying InputClass "libinput keyboard catchall"
[    46.652] (II) Using input driver 'libinput' for 'Logitech USB Receiver Consumer Control'
[    46.652] (**) Logitech USB Receiver Consumer Control: always reports core events
[    46.652] (**) Option "Device" "/dev/input/event7"
[    46.652] (**) Option "_source" "server/udev"
[    46.653] (II) event7  - Logitech USB Receiver Consumer Control: is tagged by udev as: Keyboard
[    46.653] (II) event7  - Logitech USB Receiver Consumer Control: device is a keyboard
[    46.653] (II) event7  - Logitech USB Receiver Consumer Control: device removed
[    46.664] (II) libinput: Logitech USB Receiver Consumer Control: needs a virtual subdevice
[    46.664] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C52F.0002/input/input14/event7"
[    46.664] (II) XINPUT: Adding extended input device "Logitech USB Receiver Consumer Control" (type: MOUSE, id 10)
[    46.664] (**) Option "AccelerationScheme" "none"
[    46.664] (**) Logitech USB Receiver Consumer Control: (accel) selected scheme none/0
[    46.664] (**) Logitech USB Receiver Consumer Control: (accel) acceleration factor: 2.000
[    46.664] (**) Logitech USB Receiver Consumer Control: (accel) acceleration threshold: 4
[    46.665] (II) event7  - Logitech USB Receiver Consumer Control: is tagged by udev as: Keyboard
[    46.665] (II) event7  - Logitech USB Receiver Consumer Control: device is a keyboard
[    46.666] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[    46.666] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    46.666] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    46.666] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    46.666] (**) AT Translated Set 2 keyboard: always reports core events
[    46.666] (**) Option "Device" "/dev/input/event4"
[    46.666] (**) Option "_source" "server/udev"
[    46.667] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    46.667] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    46.667] (II) event4  - AT Translated Set 2 keyboard: device removed
[    46.676] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[    46.676] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[    46.677] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    46.677] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[    46.678] (II) config/udev: Adding input device PS/2 Logitech Wheel Mouse (/dev/input/event5)
[    46.678] (**) PS/2 Logitech Wheel Mouse: Applying InputClass "evdev pointer catchall"
[    46.678] (**) PS/2 Logitech Wheel Mouse: Applying InputClass "libinput pointer catchall"
[    46.678] (II) Using input driver 'libinput' for 'PS/2 Logitech Wheel Mouse'
[    46.678] (**) PS/2 Logitech Wheel Mouse: always reports core events
[    46.678] (**) Option "Device" "/dev/input/event5"
[    46.678] (**) Option "_source" "server/udev"
[    46.679] (II) event5  - PS/2 Logitech Wheel Mouse: is tagged by udev as: Mouse
[    46.679] (II) event5  - PS/2 Logitech Wheel Mouse: device is a pointer
[    46.679] (II) event5  - PS/2 Logitech Wheel Mouse: device removed
[    46.696] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input10/event5"
[    46.696] (II) XINPUT: Adding extended input device "PS/2 Logitech Wheel Mouse" (type: MOUSE, id 12)
[    46.696] (**) Option "AccelerationScheme" "none"
[    46.696] (**) PS/2 Logitech Wheel Mouse: (accel) selected scheme none/0
[    46.696] (**) PS/2 Logitech Wheel Mouse: (accel) acceleration factor: 2.000
[    46.696] (**) PS/2 Logitech Wheel Mouse: (accel) acceleration threshold: 4
[    46.697] (II) event5  - PS/2 Logitech Wheel Mouse: is tagged by udev as: Mouse
[    46.697] (II) event5  - PS/2 Logitech Wheel Mouse: device is a pointer
[    46.700] (**) Logitech USB Receiver Consumer Control: Applying InputClass "evdev keyboard catchall"
[    46.700] (**) Logitech USB Receiver Consumer Control: Applying InputClass "libinput keyboard catchall"
[    46.700] (II) Using input driver 'libinput' for 'Logitech USB Receiver Consumer Control'
[    46.700] (**) Logitech USB Receiver Consumer Control: always reports core events
[    46.700] (**) Option "Device" "/dev/input/event7"
[    46.700] (**) Option "_source" "_driver/libinput"
[    46.700] (II) libinput: Logitech USB Receiver Consumer Control: is a virtual subdevice
[    46.700] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.0/usb1/1-1/1-1.1/1-1.1:1.1/0003:046D:C52F.0002/input/input14/event7"
[    46.700] (II) XINPUT: Adding extended input device "Logitech USB Receiver Consumer Control" (type: KEYBOARD, id 13)
[    48.107] (II) event2  - Power Button: device removed
[    48.112] (II) event3  - Video Bus: device removed
[    48.131] (II) event0  - Power Button: device removed
[    48.139] (II) event6  - Logitech USB Receiver: device removed
[    48.156] (II) event4  - AT Translated Set 2 keyboard: device removed
[    48.164] (II) event5  - PS/2 Logitech Wheel Mouse: device removed
[    48.180] (II) event7  - Logitech USB Receiver Consumer Control: device removed
[    48.189] (II) UnloadModule: "libinput"
[    48.189] (II) UnloadModule: "libinput"
[    48.189] (II) UnloadModule: "libinput"
[    48.189] (II) UnloadModule: "libinput"
[    48.189] (II) UnloadModule: "libinput"
[    48.189] (II) UnloadModule: "libinput"
[    48.189] (II) UnloadModule: "libinput"
[    48.189] (II) UnloadModule: "libinput"
[    48.231] (II) Server terminated successfully (0). Closing log file.
 
Old 04-22-2020, 05:12 AM   #22
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
Quote:
I should have clarified that there is no GUI on the system.
If there's no gui on the system, it wouldn't be generating Xorg.0.log and xfce4 would hardly be doing much. I take it you mean that X isn't starting? As for Xorg.0.log, all these
Quote:
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
can be ignored, but they left one out: (EE) = error. Just look for (EE) and look to the next lines to see if X is worried about it. Your Xorg.0.log lookd good. You have EE beside missing vesa and fb modules, but X doesn't give a hoot - it just carries on.

XFCE4 is dragging in libraries from everywhere recently - Network-Manager, python3 stuff, gnupg, libmtdev(sp?). I normally wouldn't install NetworkManager in a fit, but had to for xfce4. It's becoming a real PITA. The way I made Progress was to start X as 'startx > ~/.x-session-errors 2>&1' then exit and use the 2 files together - /var/log/Xorg.0.log, and ~/.x-session-errors for the same session to trace faults libraries missing in one didn't show in the other. But my startup looks an absolute disaster. So I presumed it was me, and reinstalled afresh. It wasn't me. I'm coming round to the idea it was X, or XFCE4 to be precise. I'll pastebin the 2 files and post again with the url, so at least you'll know what to ignore, because I have X up and running.
 
Old 04-22-2020, 06:16 AM   #23
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by hello.world View Post
If it helps, here are the contents of .xinitrc:
Code:
dbus-launch --exit-with-session startxfce4
It doesn't help me, because my system is working as desired, but it might help you.
Essentially you're trying to start X a second time there!
Comment that out and try starting the GUI straight from the command line like this:
Code:
dbus-launch --exit-with-session startxfce4
or just this:
Code:
startxfce4

Last edited by ondoho; 04-22-2020 at 06:18 AM.
 
Old 04-22-2020, 09:23 AM   #24
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
+1 on ondoho' comment. I'll make that edit myself. I also found an error about being "unable to resolve keysym XF86FullScreen" was down to a file, iirc /etc/X11/xkb/symbols/inet. I just commented that line.

My paste is https://pastebin.com/RjdBGgWR, and I'm going to start a separate thread about all the [Meaningful, Colourful]<EXPLETIVES> in the log file. I've reinstalled afresh thinking I had messed something up, but I realize it wasn't my mistake, and is hardly my pc.
 
Old 04-24-2020, 01:16 PM   #25
hello.world
LQ Newbie
 
Registered: Apr 2020
Location: USA
Distribution: LFS
Posts: 22

Original Poster
Rep: Reputation: Disabled
What I meant was that there's no GUI except Xorg/xfce4. I'll try commenting out the contents of .xinitrc and running those commands.
 
Old 04-29-2020, 10:31 AM   #26
hello.world
LQ Newbie
 
Registered: Apr 2020
Location: USA
Distribution: LFS
Posts: 22

Original Poster
Rep: Reputation: Disabled
Ok, I tried running the command
Code:
 dbus-launch --exit-with-session startxfce4 >~/.x-session-errors 2>&1
, and nothing really changed.

Here are the contents of .x-session-errors:
Code:
/usr/bin/startxfce4: Starting X server


X.Org X Server 1.20.7
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.5.3 x86_64 
Current Operating System: Linux VR-LFS 5.5.3 #1 SMP Fri Mar 27 17:37:39 CDT 2020 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.5.3-lfs-9.1 root=/dev/sda9
Build Date: 26 March 2020  11:17:19AM
 
Current version of pixman: 0.38.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 29 10:25:15 2020
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) AMDGPU(0): [KMS] Kernel modesetting enabled.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> ignored
>                   X11 cannot support keycodes above 255.
>                   This warning only shows for the first high keycode.
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
/usr/bin/iceauth:  creating new authority file /run/user/1000/ICEauthority
xfce4-session: No GPG agent found
xfce4-session: No SSH authentication agent found

(xfce4-session:595): xfce4-session-WARNING **: 10:25:17.264: xfsm_manager_load_session: Something wrong with /home/vr/.cache/sessions/xfce4-session-VR-LFS:0, Does it exist? Permissions issue?
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.
It looks like that got rid of the "There is allready a display..." message, but other than that, I don't think anything else has changed.

Thanks

Last edited by hello.world; 04-29-2020 at 10:32 AM. Reason: Formatting
 
Old 04-30-2020, 04:42 AM   #27
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
If you'd searched the site, you might have come accross this_thread
  • Internal error on keysym XF86FullScreen - it's in /etc/X11/xkb/symbols/inet, and you can simply comment that line with '//' at the beginning of the line.
  • The whole dbus-launch thing is their problem. Apparently the first time you run it, it exits. The second time it complains that you've run it already. It's a bug which you can ignore; heads they win, tails you lose. I commented stuff out as per ondoho's suggestion, but ended putting it back in.

If the directory /home/vr/.cache/sessions/ doesn't exist, you can sort that as user vr with 'install -d /home/vr/.cache/sessions/'

Don't stop at that but check /var/log/Xorg.0.log for errors as well, preferably for the same session. Errors not in one are in the other.
 
Old 05-03-2020, 12:14 PM   #28
hello.world
LQ Newbie
 
Registered: Apr 2020
Location: USA
Distribution: LFS
Posts: 22

Original Poster
Rep: Reputation: Disabled
I checked /var/log/Xorg.0.log, but there were no lines with an EE on them. I tried
Code:
 install -d ~/.cache/sessions/
but it didn't change anything.
 
Old 05-04-2020, 03:14 AM   #29
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,309

Rep: Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326Reputation: 2326
Quote:
Originally Posted by hello.world View Post
I checked /var/log/Xorg.0.log, but there were no lines with an EE on them. I tried
Code:
 install -d ~/.cache/sessions/
but it didn't change anything.
How did the /var/log/Xorg.0.log file end? Post the last 10-20 lines
 
Old 05-06-2020, 01:32 AM   #30
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I'll say it one more time:
You have a file in your $HOME called .xinitrc or .xsession or .xprofile, something like that. Definitely starts with a small x. Show us all files matching that description.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to launch "cinnamon-session-cinnamon" X session "cinnamon-session-cinnamon" -found; Falling back to default "session." xxxindigo Linux Mint 22 09-01-2019 09:21 AM
xfce4-panel theme not applied unless startxfce4 alexruedi Linux - Newbie 1 05-29-2018 01:35 PM
startx failed, startxfce4 didn't! (As user, not root. Xfce is default DE, Slackware64-14.2) EasySlacker Slackware 3 10-23-2016 06:45 AM
Blank screen after startxfce4 wilku Linux - Desktop 2 03-03-2009 03:48 PM
Xfce 4.2 on Vector hangs after "startxfce4" pdt677 Linux - Software 3 04-04-2005 08:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 10:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration