Date: Fri, 18 Jun 2004 20:14:47 +0200 From: "Ruben Bloemgarten" <ruben@bloemgarten.demon.nl> To: <bawig1@student.monash.edu> Cc: freebsd-questions@freebsd.org Subject: RE: more kdm questions Message-ID: <E1BbNuo-0002hY-00@post-20.mail.nl.demon.net>
next in thread | raw e-mail | index | archive | help
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 >>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1BbNuo-0002hY-00>