Re: kdm questions

2004-06-18 Thread Andy Harrison
On Fri, 18 Jun 2004 23:10:07 +1000, Brett Wiggins
<[EMAIL PROTECTED]> wrote:
> 
> 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;

I have nothing in my ~ dir like .xinitrc or any of that.

My /usr/X11R6/etc/rc.d/kdm.sh file contains...

#!/bin/sh
#

PREFIX=/usr/local

case "$1" in
start)
${PREFIX}/bin/kdm &
;;
stop)
/usr/bin/killall -KILL -m kdm 
;;
*)
echo "Usage: `basename $0` start | stop"
exit 64
;;

esac

exit 0


At that point, kdm defaults take over and startkde ends up getting
executed from /usr/local/share/config/kdm/Xsession.

-- 
Andy Harrison
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: more kdm questions

2004-06-18 Thread Ruben Bloemgarten
You don't need do this to get kdm working. Only if you want it to start at
boot. I suggest you do this when you get kdm working properly, not before.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, June 18, 2004 8:01 PM
To: [EMAIL PROTECTED]
Subject: Re: more kdm questions

Hi:

 Did you remember to change the line in /etc/ttys
From:
ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure

To:
ttyv8   "/usr/X11R6/bin/kdm -nodaemon"  xterm   on secure

You can look at section 5.6.2 in the FreeBSD Handbook for more details. Also
if you have any 
other troubles, then you may want to askk at the Kde FreeBSD site
http://freebsd.kde.org/. Those pople are quite freindly and helpful.

-- Original message from Bill Moran : -- 
> Brett Wiggins wrote: 
> 
> > > 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. 
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: more kdm questions

2004-06-18 Thread Ruben Bloemgarten

Forgot to cc the list 
-Original Message-
From: Ruben Bloemgarten [mailto:[EMAIL PROTECTED] 
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:[EMAIL PROTECTED] 
Sent: Friday, June 18, 2004 6:21 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
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
>> 
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: more kdm questions

2004-06-18 Thread j . e . drews
Hi:

 Did you remember to change the line in /etc/ttys
From:
ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure

To:
ttyv8   "/usr/X11R6/bin/kdm -nodaemon"  xterm   on secure

You can look at section 5.6.2 in the FreeBSD Handbook for more details. Also if you 
have any 
other troubles, then you may want to askk at the Kde FreeBSD site 
http://freebsd.kde.org/. Those pople are quite freindly and helpful.

-- Original message from Bill Moran : -- 
> Brett Wiggins wrote: 
> 
> > > 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. 
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: more kdm questions

2004-06-18 Thread Bill Moran
Brett Wiggins <[EMAIL PROTECTED]> wrote:

> > 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.

Set the hostname for the machine.  For temporary (and testing) you can use
the "hostname" command from a shell prompt.  To get it set for good, add a
line like:
hostname="my.host.name"
in /etc/rc.conf

Make sure that the name you choose is either in DNS, or you enter a matching
record in /etc/hosts.  Otherwise, you'll have problems with applications running
slowly, or not starting at all because they try to verify the hostname.

> 
> 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
> >> 
>  
> 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"


-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


more kdm questions

2004-06-18 Thread Brett Wiggins
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
>> 
 


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kdm questions

2004-06-18 Thread Brett Wiggins
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


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"