You are not logged in.

#1 2019-09-12 19:38:57

synftw
Member
Registered: 2017-02-03
Posts: 22

Both keysym resolve and connection lost when attempting to run startx

Hello everyone. First time posting, but I'm in a real bind. I installed Arch fresh last night then installed and set up bspwm. Everything was working great and I continued to configure a bit in bspwm and it was running perfectly. Today I attempt to run startx and I'm unable to get past these keyboard/keycodes issues. I've spent hours trying to research a solution but alas I'm too much of anoob to know what I'm doing.

I created a log of the startx execution. I can provide anything requested. Thanks for taking a look.

EDIT: The outstanding errors are now highlighted below. Thanks for the help getting me this far! I guess the warning messages are related to wayland and not important:

xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)

> Internal error:   Could not resolve keysym XF86MonBrightnessCycle
> Internal error:   Could not resolve keysym XF86RotationLockToggle
Errors from xkbcomp are not fatal to the X server
xinit: connection to X server lost

X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux Archbox2.0 4.19.72-1-lts #1 SMP Tue Sep 10 16:48:44 CEST 2019 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=f6b5d3db-6178-4d3d-a889-9c55dbc6e2d1 rw loglevel=3 quiet
Build Date: 30 June 2019  09:52:01AM
 
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: "/home/syn/.local/share/xorg/Xorg.0.log", Time: Thu Sep 12 21:55:10 2019
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
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 XF86MonBrightnessCycle
> Internal error:   Could not resolve keysym XF86RotationLockToggle
Errors from xkbcomp are not fatal to the X server
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

Last edited by synftw (2019-09-12 23:15:38)

Offline

#2 2019-09-12 20:16:17

Swiggles
Member
Registered: 2014-08-02
Posts: 266

Re: Both keysym resolve and connection lost when attempting to run startx

This sounds like a configuration issue. Could you please show your users bspwm configuration files and your ~/.xinitrc?

Please try to move/rename the sxhkd config and start again.

mv ~/.config/sxhkd{,_backup}
startx

Last edited by Swiggles (2019-09-12 20:17:00)

Offline

#3 2019-09-12 20:43:30

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: Both keysym resolve and connection lost when attempting to run startx

> Error:            Can't find file "querty" for symbols include
>                   Exiting

"qwerty" - you put a bogus keyboard layout somewhere causing the termination of something and that something is probably bspwm or sxhkd

Offline

#4 2019-09-12 21:28:01

synftw
Member
Registered: 2017-02-03
Posts: 22

Re: Both keysym resolve and connection lost when attempting to run startx

Swiggles wrote:

This sounds like a configuration issue. Could you please show your users bspwm configuration files and your ~/.xinitrc?

#! /bin/sh

sxhkd &

bspc monitor -d I II III IV V VI VII VIII IX X

bspc config border_width         2
bspc config window_gap          12

bspc config split_ratio          0.52
bspc config borderless_monocle   true
bspc config gapless_monocle      true

bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a Chromium desktop='^2'
bspc rule -a mplayer2 state=floating
bspc rule -a Firefox desktop^2 floating=on
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off

panel &
if [ -d /etc/X11//xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

# parcellite &
# stalonetray &
sxhkd &
exec bspwm &
xbindkeys

Also I fixed the querty issue, it's back to "us" now.

Offline

#5 2019-09-12 21:30:14

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Both keysym resolve and connection lost when attempting to run startx

Arch Wiki xinit article wrote:

Remember that lines following a command using exec would be ignored.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2019-09-12 21:31:02

Swiggles
Member
Registered: 2014-08-02
Posts: 266

Re: Both keysym resolve and connection lost when attempting to run startx

sxhkd &

Is in both files. Wouldn't it cause some issues?

Offline

#7 2019-09-12 21:49:38

synftw
Member
Registered: 2017-02-03
Posts: 22

Re: Both keysym resolve and connection lost when attempting to run startx

jasonwryan wrote:
Arch Wiki xinit article wrote:

Remember that lines following a command using exec would be ignored.

That took care of a few more errors!

here's what the startx looks like now:

X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux Archbox2.0 4.19.72-1-lts #1 SMP Tue Sep 10 16:48:44 CEST 2019 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=f6b5d3db-6178-4d3d-a889-9c55dbc6e2d1 rw loglevel=3 quiet
Build Date: 30 June 2019  09:52:01AM
 
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: "/home/syn/.local/share/xorg/Xorg.0.log", Time: Thu Sep 12 21:46:23 2019
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
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 XF86MonBrightnessCycle
> Internal error:   Could not resolve keysym XF86RotationLockToggle
Errors from xkbcomp are not fatal to the X server
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.

Offline

#8 2019-09-13 23:44:17

synftw
Member
Registered: 2017-02-03
Posts: 22

Re: Both keysym resolve and connection lost when attempting to run startx

Still wondering how I could best resolve this issue. Is it the keysym issues preventing X from starting, or should I pursue the xinit connection issue?

Offline

#9 2019-09-14 00:25:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Both keysym resolve and connection lost when attempting to run startx

Both of your xorg logs quite clearly state that the server terminated successfully.  There is no "error" present - at least not one problematic for running X.  Your xinitrc is just does nothing.

You exec and background, so the xinitrc exits as soon as it starts (possibly leaving bspwm zombie processes running).  Once xinitrc is done, X shuts down successfully.  Fix your xinitrc.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB