1cc10 DWM freezes on launch - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Window Managers > Other Window Managers

Other Window Managers XFCE, Fluxbox, Enlightenment, IceWM, WindowMaker, ION, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old July 29th, 2012, 20:59
kalle97 kalle97 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default DWM freezes on launch

When I do startx and dwm launches it freezes, it loads up as it should do but when it's done loading it freezes and I can't move the mouse pointer or cast any key commands. I've installed it from suckless's Mercurial repo. I had to open another tty and pkill dwm to stop it.

I don't know if it's X or dwm which are messing so I maybe should try another WM too? I think it's dwm though since I can't load its man page.

It's a fresh install of FreeBSD 9.0.

Would really appriciate help.
Reply With Quote
  #2  
Old July 29th, 2012, 22:04
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,850
Thanks: 444
Thanked 1,828 Times in 1,494 Posts
Default

Please show your .xinitrc.
Reply With Quote
  #3  
Old July 29th, 2012, 22:40
kalle97 kalle97 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
exec dwm
It might be something with "drm" though, is it the ATI driver?
Reply With Quote
  #4  
Old July 30th, 2012, 03:34
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,850
Thanks: 444
Thanked 1,828 Times in 1,494 Posts
Default

A simple window manager should not care about drm. One way to test would be to run twm(1), which should also be installed:

.xinitrc
Code:
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
Reply With Quote
  #5  
Old July 30th, 2012, 08:43
kalle97 kalle97 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Exactly same thing with twm, it loads up and I see all windows(the xterms and xclock) but then I can't do anything.
Reply With Quote
  #6  
Old July 30th, 2012, 08:51
kalle97 kalle97 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Here is what happens: http://www.youtube.com/watch?v=JtZhDxVMrDA
Reply With Quote
  #7  
Old July 30th, 2012, 09:02
mwatkins mwatkins is offline
Member
 
Join Date: Apr 2009
Location: Vancouver
Posts: 121
Thanks: 3
Thanked 14 Times in 13 Posts
Default

kalle97 your input devices aren't working, perhaps there's something screwy with your xorg.conf or you don't have one. If it exists, please upload it to a pastebin and leave us a link.

Re dwm, did you edit the config.mk file? Perhaps the default is putting the man page in the wrong location for FreeBSD; default paths are Linux specific IIRC.
Reply With Quote
  #8  
Old July 30th, 2012, 09:16
YouriBSD YouriBSD is offline
Junior Member
 
Join Date: Oct 2011
Posts: 27
Thanks: 3
Thanked 4 Times in 4 Posts
Default

Quote:
Originally Posted by kalle97 View Post
Try to put twm on the last line and don't add a '&'.
__________________
[unixhub.net]
Reply With Quote
  #9  
Old July 30th, 2012, 09:28
kalle97 kalle97 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't have a xorg.conf and I did not edit the config.mk which solves the man page issue. Should I add something to the xorg.conf which declears the input device? Both mouse and keyboard works in tty.
Reply With Quote
  #10  
Old July 30th, 2012, 09:31
kalle97 kalle97 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found a similar issue http://forums.freebsd.org/showthread.php?t=28320 I'll try take out some info from it.
Reply With Quote
  #11  
Old July 30th, 2012, 09:39
kalle97 kalle97 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had not read the Handbook carefully enough, I forgot to use "Xorg -configure" and also do add "hald_enable="YES"".

Thanks for all help though.
Reply With Quote
  #12  
Old July 30th, 2012, 16:55
Ogham Ogham is offline
Junior Member
 
Join Date: Jan 2012
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Do you also have dbus in your /etc/rc.conf?

Code:
hald_enable="YES"
dbus_enable="YES"
Reply With Quote
  #13  
Old July 30th, 2012, 18:06
kalle97 kalle97 is offline
Junior Member
 
Join Date: Jul 2012
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, but is dbus really required, I only use cli apps except firefox?
Reply With Quote
  #14  
Old July 31st, 2012, 00:30
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,850
Thanks: 444
Thanked 1,828 Times in 1,494 Posts
Default

Neither are required unless you run KDE or Gnome. Disable both in /etc/rc.conf and add
Code:
Option       "AutoAddDevices" "Off"
to the ServerLayout section of xorg.conf.
Reply With Quote
  #15  
Old July 31st, 2012, 11:00
Ogham Ogham is offline
Junior Member
 
Join Date: Jan 2012
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Like wblock@ said, worth mentioning if you are running a full DE like Gnome/KDE.

I've used the AutoAddDevices option a few times myself whilst using x11-wm/spectrwm, and leaning towards the minimalist camp I find it quite satisfying
Reply With Quote
  #16  
Old July 31st, 2012, 11:08
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,850
Thanks: 444
Thanked 1,828 Times in 1,494 Posts
Default

Even more minimalist is to rebuild x11-servers/xorg-server with the HAL option disabled. Then xorg-server doesn't need or use hald at all. I run dbus, because it can be used by applications software for notifications.
Reply With Quote
  #17  
Old July 31st, 2012, 11:14
Ogham Ogham is offline
Junior Member
 
Join Date: Jan 2012
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by wblock@ View Post
Even more minimalist is to rebuild x11-servers/xorg-server with the HAL option disabled. Then xorg-server doesn't need or use hald at all. I run dbus, because it can be used by applications software for notifications.
Very good point! I'll give that a try on my next update
Reply With Quote
  #18  
Old July 31st, 2012, 14:12
kpedersen kpedersen is offline
Member
 
Join Date: Apr 2009
Posts: 682
Thanks: 9
Thanked 104 Times in 75 Posts
Default

Quote:
Originally Posted by wblock@ View Post
Neither are required unless you run KDE or Gnome. Disable both in /etc/rc.conf and add
Code:
Option       "AutoAddDevices" "Off"
to the ServerLayout section of xorg.conf.
I have no figures to back this up but I imagine there are a lot less FreeBSD users who use Gnome and KDE than those who use simple window managers. Is it an option to have this as default in our Xorg port.

Or at least to have the port (and thus package) built with hald support disabled.
Reply With Quote
  #19  
Old July 31st, 2012, 15:38
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,850
Thanks: 444
Thanked 1,828 Times in 1,494 Posts
Default

Someone would have to test KDE and Gnome for correct operation when xorg-server has been built without hal.
Reply With Quote
  #20  
Old July 31st, 2012, 15:45
Ogham Ogham is offline
Junior Member
 
Join Date: Jan 2012
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by kpedersen View Post
I have no figures to back this up but I imagine there are a lot less FreeBSD users who use Gnome and KDE than those who use simple window managers. Is it an option to have this as default in our Xorg port.

Or at least to have the port (and thus package) built with hald support disabled.
Xorg is quite a large port, so I imagine the default configuration and package need to have very 'friendly' defaults. I would guess the majority of our heavy DE users installing from packages would be a little upset if they had to compile xorg.

Although, as you said there may be an overwhelming majority of light WM users, in which case the tables are turned!

I think many people would prefer this change in the default configuration, but I may be unaware of some negative consequence?

It had not crossed my mind to disable HAL in the config until it was pointed out here, I was quite happy adding the xorg.conf option until now. Being mainly a user of portmaster -P with setenv PACKAGESITE .../packages-9-stable/Latest/ and a habitual light WM user - I would certainly welcome this change.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to launch LibreOffice 3.4 alie Installation and Maintenance of FreeBSD Ports or Packages 1 February 29th, 2012 11:26
Problem in second launch of startx ariyamehr X.Org 1 June 19th, 2011 22:39
Issue when trying to launch Obmenu thegolum35 Installation and Maintenance of FreeBSD Ports or Packages 4 May 18th, 2011 14:07
Open textfile in xterm on launch perleo X.Org 7 May 8th, 2011 00:17
8.2 RC1, cannot launch GDM paulfxh Installation and Maintenance of FreeBSD Ports or Packages 11 January 18th, 2011 02:19


All times are GMT +1. The time now is 05:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0