LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   DWM and xterm (http://www.linuxquestions.org/questions/linux-desktop-74/dwm-and-xterm-827433/)

Eey 08-20-2010 06:46 AM

DWM and xterm
 
Hi,

I'm using DWM, and I have some problems with xterm.
As root everything works fine, but as a normal user xterm act really funny.
90% of the times, when I open a new xterm at tiling mode, xterm open and instantly close.
I can see only a flashing window(the window of xterm) and if there are any other windows opened I can hear a beep too).
So I have to "spam" the command "xterm" to finally open it, however xterm works nice at floating mode.

I did some search, and somebody suggested to use strace to reveal the cause of the problem.
I have amd64, so I used ktrace. Here is the kdump result:


Code:

$ kdump
 46099 ktrace  RET  ktrace 0
 46099 ktrace  CALL  execve(0x7fffffffe2f0,0x7fffffffe870,0x7fffffffe880)
 46099 ktrace  NAMI  "/sbin/xterm"
 46099 ktrace  RET  execve -1 errno 2 No such file or directory
 46099 ktrace  CALL  execve(0x7fffffffe2f0,0x7fffffffe870,0x7fffffffe880)
 46099 ktrace  NAMI  "/bin/xterm"
 46099 ktrace  RET  execve -1 errno 2 No such file or directory
 46099 ktrace  CALL  execve(0x7fffffffe2f0,0x7fffffffe870,0x7fffffffe880)
 46099 ktrace  NAMI  "/usr/sbin/xterm"
 46099 ktrace  RET  execve -1 errno 2 No such file or directory
 46099 ktrace  CALL  execve(0x7fffffffe2f0,0x7fffffffe870,0x7fffffffe880)
 46099 ktrace  NAMI  "/usr/bin/xterm"
 46099 ktrace  RET  execve -1 errno 2 No such file or directory
 46099 ktrace  CALL  execve(0x7fffffffe2f0,0x7fffffffe870,0x7fffffffe880)
 46099 ktrace  NAMI  "/usr/games/xterm"
 46099 ktrace  RET  execve -1 errno 2 No such file or directory
 46099 ktrace  CALL  execve(0x7fffffffe2f0,0x7fffffffe870,0x7fffffffe880)
 46099 ktrace  NAMI  "/usr/local/sbin/xterm"
 46099 ktrace  RET  execve -1 errno 2 No such file or directory
 46099 ktrace  CALL  execve(0x7fffffffe2f0,0x7fffffffe870,0x7fffffffe880)
 46099 ktrace  NAMI  "/usr/local/bin/xterm"
 46099 ktrace  NAMI  "/libexec/ld-elf.so.1"

This is the result of an instantly died xterm.
I have no clue what these lines mean, but if I do the same as root, kdump produces a much longer output with nearly the same beginning, plus additional xterm entries.

I have redirecteded the stderr of dwm, and startx to some files:

Code:

dwm: missing fontset: ISO8859-1
Code:

(EE) LoadModule: Module fbdevhw does not have a fbdevhwModuleData data object.
(EE) Failed to load module "fbdevhw" (invalid module, 0)
failed to set mtrr: Invalid argument
record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                  Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

In my opinion these errors have no connection with my problem, but I appreciate any advices.

Again:
As root both tiling and floating mode works.
As normal user only floating works, with tiling I have the problem described above.

I have a freshly upgraded system, and ports.
(uxterm acts the same as xterm)

I hope this problem fits this forum...

Best wishes,
Eey


All times are GMT -5. The time now is 07:35 PM.