From owner-freebsd-questions@FreeBSD.ORG Fri Jun 18 18:17:07 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9CA1A16A4CE for ; Fri, 18 Jun 2004 18:17:07 +0000 (GMT) Received: from post-20.mail.nl.demon.net (post-20.mail.nl.demon.net [194.159.73.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CC5343D58 for ; Fri, 18 Jun 2004 18:17:07 +0000 (GMT) (envelope-from ruben@bloemgarten.demon.nl) Received: from [82.161.131.177] (helo=abubbletprpdda) by post-20.mail.nl.demon.net with esmtp (Exim 3.36 #2) id 1BbNuo-0002hY-00; Fri, 18 Jun 2004 18:16:39 +0000 From: "Ruben Bloemgarten" To: Date: Fri, 18 Jun 2004 20:14:47 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Thread-Index: AcRVUKgl+xqxcik2QAaAAAf7DNBznwADbm8QAABprVA= Message-Id: cc: freebsd-questions@freebsd.org Subject: RE: more kdm questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ruben@bloemgarten.demon.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jun 2004 18:17:07 -0000 Forgot to cc the list -----Original Message----- From: Ruben Bloemgarten [mailto:ruben@bloemgarten.demon.nl] Sent: Friday, June 18, 2004 8:13 PM To: 'Brett Wiggins' Subject: RE: more kdm questions # vi /etc/rc.conf Add hostname="yourhostname" to the file Reboot will make the change permanent. For a temprary hostname : #hostname yourhostname To verify if the hostname was set : #hostname The hostname is not related to X nor xdm/gdm/kdm, but is a system parameter. Many applications will not function properly or at all without the machine knowing who it is. Xdm/kdm/gdm are amongst those appz that won't work without the hostname. Also, I always take the xinitrc template from /usr/X11R6/lib/X11/xinit, copy it to my home directory and modify at will. Good luck. -----Original Message----- From: Brett Wiggins [mailto:bawig1@student.monash.edu] Sent: Friday, June 18, 2004 6:21 PM To: ruben@bloemgarten.demon.nl Cc: freebsd-questions@freebsd.org Subject: more kdm questions hello again, > Did you set the hostname ? > > This is going to sound like a stupid question but how do I set the hostname? I searched the archive for 'kdm hostname' and found nothing. Thanks again Brett >> hello (again), >> I am still having some problems with kdm, I have >> searched >> (again) the archives and the handbook. Below are the steps I took, >> files I edited during setup. After I installed the X window system >> and >> KDE I created the file ~/.xinitrc which contains; >> >> exec startkde >> >>> after I created the file I could use startx to run KDE. >> >> I then setup KDM by editing the file >> /usr/X11R6/lib/X11/xdm/Xsession. I >> added the following to the file; >> >> case $# in >> 1) >> case $1 in >> kde) >> exec /usr/local/bin/startkde >> ;; >> failsafe) >> exec xtem -geometry 80x24-0-0 >> ;; >> esac >> esac >> Finally I added the following to /usr/X11R6/lib/X11/xdm/Xsetup_0; >> >> /usr/local/bin/kdmdesktop >> >> KDM loads but when I log in nothing happens, I just end up back at >> the >> login screen. This is all the info I can think of. If I missed any >> please let me know. >> >> Thanks again >> >> Brett >>