Re: Strange X problem

2006-10-07 Thread Ian Smith
On Sat, 7 Oct 2006 [EMAIL PROTECTED] wrote:
  Message: 26
  Date: Fri, 06 Oct 2006 19:36:32 -0500
  From: Paul Schmehl [EMAIL PROTECTED]

  --On October 6, 2006 5:23:45 PM -0700 backyard 
  [EMAIL PROTECTED] wrote:
  
   For FreeBSD, edit /etc/ttys and find the line like
   this:
  
   ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off
   secure
  
 and edit it to this:
  
   ttyv8   /usr/local/bin/kdm  xterm   on secure
  
  Yeah, I got a chance to look at it this afternoon, and that's what the 
  problem was.  I wasn't looking closely enough at that line.

Maybe you were looking _too_ closely at:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

which I was browsing just before seeing your thread, that indeed says:

  To enable kdm, the ttyv8 entry in /etc/ttys has to be adapted. The
  line should look as follows:

  ttyv8 /usr/local/bin/kdm -nodaemon xterm on secure

Cheers, Ian

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


Re: Strange X problem

2006-10-06 Thread Norberto Meijome
On Fri, 06 Oct 2006 00:10:44 -0500
Paul Schmehl [EMAIL PROTECTED] wrote:

 I can type starx or gdm after logging in as root, but that's not what I 
 want.

Not sure if it is the same as with gdm, but gdm installs an rc file
in /usr/X11R6/etc/rc.d/gdm

gdm_enable=YES needs to be added to rc.conf.

you may want to check whether pkg_info -L kdm* | grep rc

shows anything useful

_
{Beto|Norberto|Numard} Meijome

Which is worse: ignorance or apathy?
Don't know. Don't care.

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Strange X problem

2006-10-06 Thread Robert Huff

Paul Schmehl writes:

  Not really.  I want X to start *without* requiring a console
  login and prompt me for a login in the gui, just like my
  workstation does.

The traditional answer is to put an entry in /etc/ttys.  (See
the man page for details.)


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


Re: Strange X problem

2006-10-06 Thread Paul Schmehl
--On Friday, October 06, 2006 08:30:36 -0400 Robert Huff 
[EMAIL PROTECTED] wrote:




Paul Schmehl writes:


 Not really.  I want X to start *without* requiring a console
 login and prompt me for a login in the gui, just like my
 workstation does.


The traditional answer is to put an entry in /etc/ttys.  (See
the man page for details.)


Therein lies the problem.  There *is* an entry in /etc/ttys:
ttyv8   /usr/local/bin/kdm -nodaemon  xterm   on secure

Guess I'll just start double-checking everything.  Maybe there's a typo 
somewhere.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Strange X problem

2006-10-06 Thread Bob M.
On Fri, 2006-10-06 at 12:05 -0500, Paul Schmehl wrote:
 --On Friday, October 06, 2006 08:30:36 -0400 Robert Huff 
 [EMAIL PROTECTED] wrote:
 
 
  Paul Schmehl writes:
 
   Not really.  I want X to start *without* requiring a console
   login and prompt me for a login in the gui, just like my
   workstation does.
 
  The traditional answer is to put an entry in /etc/ttys.  (See
  the man page for details.)
 
 Therein lies the problem.  There *is* an entry in /etc/ttys:
 ttyv8   /usr/local/bin/kdm -nodaemon  xterm   on secure
 
 Guess I'll just start double-checking everything.  Maybe there's a typo 
 somewhere.

Is your path to kdm correct?  I've never used KDE, so I don't know for
sure, but that entry in /etc/ttys is all you should need.

Bob

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


Re: Strange X problem

2006-10-06 Thread Paul Schmehl
--On Friday, October 06, 2006 15:10:21 -0400 Bob M. 
[EMAIL PROTECTED] wrote:


Therein lies the problem.  There *is* an entry in /etc/ttys:
ttyv8   /usr/local/bin/kdm -nodaemon  xterm   on secure

Guess I'll just start double-checking everything.  Maybe there's a typo
somewhere.


Is your path to kdm correct?  I've never used KDE, so I don't know for
sure, but that entry in /etc/ttys is all you should need.


find / -name kdm
/usr/local/bin/kdm

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Strange X problem

2006-10-06 Thread backyard


--- Paul Schmehl [EMAIL PROTECTED] wrote:

 --On Friday, October 06, 2006 15:10:21 -0400 Bob
 M. 
 [EMAIL PROTECTED] wrote:
  
  Therein lies the problem.  There *is* an entry in
 /etc/ttys:
  ttyv8   /usr/local/bin/kdm -nodaemon  xterm  
 on secure
 
  Guess I'll just start double-checking everything.
  Maybe there's a typo
  somewhere.
 
  Is your path to kdm correct?  I've never used KDE,
 so I don't know for
  sure, but that entry in /etc/ttys is all you
 should need.
 
 find / -name kdm
 /usr/local/bin/kdm
 
 Paul Schmehl ([EMAIL PROTECTED])
 Adjunct Information Security Officer
 The University of Texas at Dallas
 http://www.utdallas.edu/ir/security/
 



For FreeBSD, edit /etc/ttys and find the line like
this:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off
secure

  and edit it to this:

ttyv8   /usr/local/bin/kdm  xterm   on secure

*

  Most other distributions are a variation of one
of these.

At this stage, you can test kdm again by bringing your
system to the runlevel that should now run kdm. To do
so, issue a command like this: 

http://docs.kde.org/development/en/kdebase/kdm/configuring-your-system-for-kdm.html

-nodaemon is the problem. that is for running kdm from
the command line. 


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


Re: Strange X problem

2006-10-06 Thread Paul Schmehl
--On October 6, 2006 5:23:45 PM -0700 backyard 
[EMAIL PROTECTED] wrote:


For FreeBSD, edit /etc/ttys and find the line like
this:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off
secure

  and edit it to this:

ttyv8   /usr/local/bin/kdm  xterm   on secure

Yeah, I got a chance to look at it this afternoon, and that's what the 
problem was.  I wasn't looking closely enough at that line.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Strange X problem

2006-10-05 Thread Paul Schmehl
I just got done setting up 6.1 RELEASE on my laptop.  Cvsup'd all the 
ports, updated xorg, etc. and installed kde.  For some odd reason, I can't 
get X to start up from boot.


On my workstation, I have this in /etc/ttys:
ttyv8   /usr/local/bin/kdm -nodaemon  xterm   on secure

When I installed kde on the laptop, it edited /etc/ttys and added the 
*exact* same information.  Yet, X will not start unless I login as root and 
type kdm at the commandline.


What did I miss?

Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Strange X problem

2006-10-05 Thread Bob
On Thursday 05 October 2006 15:36, Paul Schmehl wrote:


 What did I miss?


Don't know exactly, as I am quite new to FreeBSD; but I can tell you what I 
did.

After the installation of X11, I created a file in my home directory 
called .xinitrc in that file I have the single line exec startkde.

I log into my account, and when I want Xwindows I simply 
execute /usr/X11R6/bin/startx.

Here is what my .xinitrc file looks like:
#/usr/X11R6/bin/startxfce4
#exec gnome-session
#/usr/X11R6/bin/afterstep
exec startkde

I can edit it and use another window manager if I want... I have used all the 
ones listed.
 
Hope some of this helps.
 
Bob
 


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


Re: Strange X problem

2006-10-05 Thread Paul Schmehl

--On October 6, 2006 12:52:12 AM -0400 Bob [EMAIL PROTECTED] wrote:


On Thursday 05 October 2006 15:36, Paul Schmehl wrote:



What did I miss?



Don't know exactly, as I am quite new to FreeBSD; but I can tell you
what I  did.

After the installation of X11, I created a file in my home directory
called .xinitrc in that file I have the single line exec startkde.

I log into my account, and when I want Xwindows I simply
execute /usr/X11R6/bin/startx.

Here is what my .xinitrc file looks like:
# /usr/X11R6/bin/startxfce4
# exec gnome-session
# /usr/X11R6/bin/afterstep
exec startkde

I can edit it and use another window manager if I want... I have used
all the  ones listed.

Hope some of this helps.

Not really.  I want X to start *without* requiring a console login and 
prompt me for a login in the gui, just like my workstation does.


I can type starx or gdm after logging in as root, but that's not what I 
want.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/