You are not logged in.

#1 2015-04-01 20:59:42

yefi
Member
Registered: 2015-03-22
Posts: 8

urxvt hanging

urxvt is acting strangely on my system (arch x64 with xfce+xmonad). Sometimes it works just fine, sometimes it hangs as soon as I open it with no error message, and sometimes it hangs when I open it while outputing this:

urxvt: An X Error occurred, trying to continue after report.
urxvt: + Serial number of failed request:  579
urxvt: + X Error of failed request: BadWindow (invalid Window parameter)
urxvt: + Major opcode of failed request:  18
urxvt: + (which is X_ChangeProperty)
urxvt: + Resource id in failed request:  0x5000005
urxvt: An X Error occurred, trying to continue after report.
urxvt: + Serial number of failed request:  580
urxvt: + X Error of failed request: BadWindow (invalid Window parameter)
urxvt: + Major opcode of failed request:  25
urxvt: + (which is X_SendEvent)
urxvt: + Resource id in failed request:  0x5000005

Does anyone know what the above could be talking about? I'm using a blank ~/.Xresources file so it can't be anything strange with that. I've tried removing and re-installing the package.

Offline

#2 2015-04-01 21:05:35

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: urxvt hanging

Are you using a compositor?

Are you declaring $TERM in any of your shell profiles?

Offline

#3 2015-04-01 22:18:29

yefi
Member
Registered: 2015-03-22
Posts: 8

Re: urxvt hanging

No compositing is not enabled for xmonad and I don't have a compositor. I realized I had TERM declared in my environment variables as xterm which I've changed to rxvt-unicode now, but I'm still getting the same problem. TERM isn't declared elsewhere though.

Offline

#4 2015-04-01 22:22:37

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: urxvt hanging

yefi wrote:

I realized I had TERM declared in my environment variables as xterm which I've changed to rxvt-unicode now, but I'm still getting the same problem. TERM isn't declared elsewhere though.

Remove the declaration completely -- you should let the terminal set this itself.

Offline

#5 2015-04-01 22:37:59

yefi
Member
Registered: 2015-03-22
Posts: 8

Re: urxvt hanging

Okay, I did that using unset. Still same problem unfortunately.

Also, urxvt is not setting this itself if that's what it's supposed to do.

Last edited by yefi (2015-04-01 22:40:09)

Offline

#6 2015-04-01 23:03:01

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

Re: urxvt hanging

Something is broken in your environment if TERM can't be set. What does it return inside urxvt?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-04-01 23:29:03

yefi
Member
Registered: 2015-03-22
Posts: 8

Re: urxvt hanging

Sorry I was confused and looking at printenv results from xfce4-terminal. When urxvt does work and I run printenv from it I can see that it is set. Sorry for confusion.

XDG_VTNR=1
XDG_SESSION_ID=c2
SSH_AGENT_PID=2134
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ilya
GLADE_PIXMAP_PATH=:
TERM=rxvt-unicode-256color
XDG_MENU_PREFIX=xfce-
SHELL=/bin/bash
XIM_PROGRAM=/usr/bin/ibus-daemon
WINDOWID=73400331
USER=ilya
GLADE_MODULE_PATH=:
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
SSH_AUTH_SOCK=/tmp/ssh-kQf45HUBauvA/agent.2133
SESSION_MANAGER=local/archbox:@/tmp/.ICE-unix/2128,unix/archbox:/tmp/.ICE-unix
/2128
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
XDG_CONFIG_DIRS=/etc/xdg
DESKTOP_SESSION=xfce
MAIL=/var/spool/mail/ilya
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendo
r_perl:/usr/bin/core_perl
QT_IM_MODULE=ibus
PWD=/home/ilya
XDG_SESSION_TYPE=x11
XMODIFIERS=@im=ibus
EDITOR=vim
LANG=en_US.utf8
GDMSESSION=xfce
SSH_ASKPASS=/usr/lib/seahorse/seahorse-ssh-askpass
COLORFGBG=0;15
SHLVL=3
HOME=/home/ilya
XDG_SEAT=seat0
TERMINFO=/usr/share/terminfo
LOGNAME=ilya
XDG_SESSION_DESKTOP=xfce
VISUAL=vim
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qHUxVte8vj,guid=ae1f6a97dcd4d
5d827e1b739551b1b3c
XDG_DATA_DIRS=/usr/local/share:/usr/share
DISPLAY=:0.0
XDG_RUNTIME_DIR=/run/user/1000
GLADE_CATALOG_PATH=:
GTK_IM_MODULE=ibus
XDG_CURRENT_DESKTOP=XFCE
XAUTHORITY=/home/ilya/.Xauthority
COLORTERM=rxvt
_=/usr/bin/printenv
OLDPWD=/home/ilya/.config

Offline

#8 2015-04-01 23:53:34

yefi
Member
Registered: 2015-03-22
Posts: 8

Re: urxvt hanging

If it adds any clarification, I tested xterm and it has the same problems so it's not a urxvt specific problem. I must have messed up Xorg somehow. I'll try to keep on digging.

Offline

#9 2015-04-01 23:54:54

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

Re: urxvt hanging

Your shell rc file is also a likely candidate.  Try moving or renaming that temporarily.


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

Offline

Board footer

Powered by FluxBB