LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 08-20-2010, 06:46 AM   #1
Eey
LQ Newbie
 
Registered: Aug 2010
Posts: 5

Rep: Reputation: 0
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
 
  


Reply

Tags
dwm, xterm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Going fast with DWM LXer Syndicated Linux News 0 07-28-2010 09:00 PM
[SOLVED] dwm and scrotwm questions BoydRice Slackware 4 07-06-2010 09:13 AM
DWM Questions kc3 Slackware 1 01-16-2010 06:23 AM
DWM manager Ssk8harddiefast Linux - Software 3 10-26-2009 10:23 PM
My code for bstack.c for dwm 5.6... Mol_Bolom Programming 1 07-27-2009 09:46 PM


All times are GMT -5. The time now is 11:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration