DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st October 2009
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 580
Thanked 9 Times in 9 Posts
Default Starting xdm and famd for Xfce 4.6.1 in 5.0.1 i386

I installed the modular Xorg and the meta-pkg Xfce4 and am having 2 issues.
1) setting
Quote:
xdm=YES xdm_flags=""
in rc.conf does not start the login manager. I have checked and xdm and xinit are installed although the usual files (Xsetup.0, etc) are missing from /etc/X11. I can start xdm from the command line.

2) The documentation in /usr/pkgsrc/sysutils/fam indicates 2 ways to start the fam daemon. I am more familiar with starting using /etc/rc.d and found a famd.sh in /usr/pkgsrc/sysutils/fam/files. I tried running famd.sh with
Quote:
sh famd.sh
thinking that this would write famd to /etc/rc.d/famd. This didn't work as it did not generate /etc/rc.d/rc.famd, Am I mistaking famd.sh as the
Quote:
provided famd rc.d(8) script
?
link to famd.sh

Last edited by shep; 21st October 2009 at 04:42 PM.
Reply With Quote
  #2   (View Single Post)  
Old 22nd October 2009
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 194
Thanked 47 Times in 22 Posts
Default

Concerning the famd, try copying the famd.sh to /etc/rc.d/ and add the following to /etc/rc.conf:
Code:
famd=YES
Do everything else that MESSAGE tells you to and then try starting the famd. For internals of NetBSD rc.d mechanism see the rc(8) man page and following:

http://www.netbsd.org/docs/guide/en/chap-rc.html

I don't know about xmd, are there any errors in /var/log/messages?
__________________
The best way to learn UNIX is to play with it, and the harder you play, the more you learn.
If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD
Reply With Quote
  #3   (View Single Post)  
Old 22nd October 2009
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 194
Thanked 47 Times in 22 Posts
Default

One thing more, simply copying the famd.sh to /etc/rc.d/ directory wont cut it, you also need to make small modification to the file (two marked lines):
Code:
#!/bin/sh                             # Old value: #!@RCD_SCRIPTS_SHELL@
#
# $NetBSD: famd.sh,v 1.2 2008/01/09 21:17:32 wiz Exp $
#
# PROVIDE: famd
# REQUIRE: DAEMON rpcbind
# KEYWORD: shutdown

. /etc/rc.subr

name="famd"
rcvar=$name
command="/usr/pkg/sbin/famd"           # Old value: "@PREFIX@/sbin/famd"
command_args="-T 0 -L &"

load_rc_config $name
run_rc_command "$1"
Then just enable rpcbind in /etc/rc.conf, as MESSAGE suggest you do, and start famd.
__________________
The best way to learn UNIX is to play with it, and the harder you play, the more you learn.
If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD
Reply With Quote
  #4   (View Single Post)  
Old 23rd October 2009
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 580
Thanked 9 Times in 9 Posts
Default

The famd now starts. Thanks. I think I found the problem with xdm - there was a message that /etc/X11/xdm/xdm-config was not found and when I look the /etc/X11/xdm directory is empty. I am going to try to copy those files overfrom /usr/pkg/lib/X11/xdm and give it a try and I'll report back with an edit.

The problem with xdm was the missing files. I built the modular xorg from source an I suspect that there may be a problem with the build scripts.

One more thing to iron out but it probably deserves a new thread for future searches

Last edited by shep; 23rd October 2009 at 02:33 AM. Reason: reporting back
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
HOWTO: Lightest XFCE - Making XFCE lighter and faster vermaden Guides 27 2nd September 2010 12:24 PM
startx not starting correctly - XOrg 7.4_2 Mantazz FreeBSD Ports and Packages 1 8th July 2009 04:17 PM
Daemon Process not starting on boot map7 FreeBSD General 4 11th September 2008 04:24 PM
Samba NOT STARTING pcfxer FreeBSD General 11 13th May 2008 09:29 AM


All times are GMT. The time now is 04:41 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick