Re: KDE - how to?

2005-12-22 Thread Reko Turja
- Original Message - 
From: "Sasa Stupar" <[EMAIL PROTECTED]>
To: "RW" <[EMAIL PROTECTED]>; 


Sent: Thursday, December 22, 2005 8:32 PM
Subject: Re: KDE - how to?





--On 22. december 2005 17:19 + RW 
<[EMAIL PROTECTED]> wrote:



Are you in the wheel group?
___


No, I am not in wheel group. I thought I could su if I am not in the 
wheel group (well, at least I can do it on linux) but I am learning 
FreeBSD slowly.


You _must_ be in the wheel group to be able to su in any case. Linux 
people see whole wheel group and root as a bad thing for anarchistic 
society, BSD folks like the additional layer of security - One has to 
crack wheel group users password or account in order to get root in a 
machine using su.


BUt why it won't let me log in as root? As I have read if the 
following line  has secure written then root logins are allowed:

ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure
or have I missaunderstood this?


Secure means that root can login from these terminals directly (insecure 
terminals enforce the login as regular user then su:ing).


-Reko 
___

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


Re: KDE - how to?

2005-12-22 Thread Sasa Stupar



--On 22. december 2005 17:19 + RW <[EMAIL PROTECTED]> 
wrote:



On Thursday 22 December 2005 07:30, Sasa Stupar wrote:

--On 21. december 2005 19:43 +0100 Jorn Argelo <[EMAIL PROTECTED]> wrote:
> ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure
>
> And voila, KDM will start at boot.



OK. KDE is starting on boot but it won't let me to log in as root nor I


that's a good thing


can't su after I have logged in as normal user.


Are you in the wheel group?
___


No, I am not in wheel group. I thought I could su if I am not in the wheel 
group (well, at least I can do it on linux) but I am learning FreeBSD 
slowly.


BUt why it won't let me log in as root? As I have read if the following 
line  has secure written then root logins are allowed:

ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure
or have I missaunderstood this?

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


Re: KDE - how to?

2005-12-22 Thread RW
On Thursday 22 December 2005 07:30, Sasa Stupar wrote:
> --On 21. december 2005 19:43 +0100 Jorn Argelo <[EMAIL PROTECTED]> wrote:
> > ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure
> >
> > And voila, KDM will start at boot.

> OK. KDE is starting on boot but it won't let me to log in as root nor I

that's a good thing

> can't su after I have logged in as normal user.

Are you in the wheel group?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE - how to?

2005-12-22 Thread Jorn Argelo

Sasa Stupar wrote:




--On 21. december 2005 19:43 +0100 Jorn Argelo <[EMAIL PROTECTED]> wrote:


Sasa Stupar wrote:


Hi!

I have been searching and trying to build a FreeBSD with KDE desktop
but I have not luck. The X starts but only the xdm.
Is there some nice step by step guide for it? Don't tell me for
handbook since I have tried to do it without success.

Regards,



Open /etc/ttys with your favourite editor and search for this line:

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

Change this into:

ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure

And voila, KDM will start at boot.

Best regards,

Jorn



OK. KDE is starting on boot but it won't let me to log in as root nor 
I can't su after I have logged in as normal user.
And another thing: I have configure X with "xorgcfg -textmode" and I 
have specified my card, monitor, resolution. Hence, after the log into 
my account I have 640*480 only resolution. I have tried to change in 
preferences>peripheral>display but I have only one choose 640*480.

What am I missing here?

1) Don't log into KDE as root. It's just not done. Create a normal user 
who is in the wheel group, which solves your su problem.
2) X -configure is the way to automatically configure your X server. 
Google for the Modes and DefaultDepth options in xorg.conf.

3) The FreeBSD handbook does an excellent job describing this :-)

Cheers,

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


Re: KDE How To ?

2005-12-22 Thread RW
On Wednesday 21 December 2005 18:25, Teo De Las Heras wrote:
> on a similar note, is it possible to create scripts that run after a user
> logs in.  I'm setting up freeBSD as my home PC and I don't like to go right
> into KDE.  However, I'd like startX to run when my wife logs in.

another way is to let kdm run, but hit ctrl-alt-Fn  (where n=2 - 8) to select 
another tty for text login. IMHO the console is best left for error messages 
anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE - how to?

2005-12-22 Thread Robert Slade
On Thu, 2005-12-22 at 07:30, Sasa Stupar wrote:
> --On 21. december 2005 19:43 +0100 Jorn Argelo <[EMAIL PROTECTED]> wrote:
> 
> > Sasa Stupar wrote:
> >
> >> Hi!
> >>
> >> I have been searching and trying to build a FreeBSD with KDE desktop
> >> but I have not luck. The X starts but only the xdm.
> >> Is there some nice step by step guide for it? Don't tell me for
> >> handbook since I have tried to do it without success.
> >>
> >> Regards,
> >
> > Open /etc/ttys with your favourite editor and search for this line:
> >
> > ttyv8   "/usr/X11R6/bin/xdm -nodaemon"  xterm   off secure
> >
> > Change this into:
> >
> > ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure
> >
> > And voila, KDM will start at boot.
> >
> > Best regards,
> >
> > Jorn
> 
> OK. KDE is starting on boot but it won't let me to log in as root nor I 
> can't su after I have logged in as normal user.
> And another thing: I have configure X with "xorgcfg -textmode" and I have 
> specified my card, monitor, resolution. Hence, after the log into my 
> account I have 640*480 only resolution. I have tried to change in 
> preferences>peripheral>display but I have only one choose 640*480.
> What am I missing here?

Sasa,

Setting up X-Windows with XDM and KDE is covered in detail in the
manual. You really should read it as unlike Windows or some flavors of
Linux you will not get far. You could have found the answers to the
questions you have asked in the manual, including this.

The section is:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

KDE is generic and does not always sit well with FreeBSD which is better
run from the command line as it is more suited to server applications
which can do without the overhead of the GUI.

BTW I have found that the easiest way of setting the screen resolution
is to delete the unused settings so hat the scree section only has one
in it.

Rob

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


Re: KDE - how to?

2005-12-21 Thread Sasa Stupar



--On 21. december 2005 19:43 +0100 Jorn Argelo <[EMAIL PROTECTED]> wrote:


Sasa Stupar wrote:


Hi!

I have been searching and trying to build a FreeBSD with KDE desktop
but I have not luck. The X starts but only the xdm.
Is there some nice step by step guide for it? Don't tell me for
handbook since I have tried to do it without success.

Regards,


Open /etc/ttys with your favourite editor and search for this line:

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

Change this into:

ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure

And voila, KDM will start at boot.

Best regards,

Jorn


OK. KDE is starting on boot but it won't let me to log in as root nor I 
can't su after I have logged in as normal user.
And another thing: I have configure X with "xorgcfg -textmode" and I have 
specified my card, monitor, resolution. Hence, after the log into my 
account I have 640*480 only resolution. I have tried to change in 
preferences>peripheral>display but I have only one choose 640*480.

What am I missing here?

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


Re: KDE - how to?

2005-12-21 Thread Jorn Argelo

Sasa Stupar wrote:


Hi!

I have been searching and trying to build a FreeBSD with KDE desktop 
but I have not luck. The X starts but only the xdm.
Is there some nice step by step guide for it? Don't tell me for 
handbook since I have tried to do it without success.


Regards,


Open /etc/ttys with your favourite editor and search for this line:

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

Change this into:

ttyv8   "/usr/X11R6/bin/kdm"  xterm   on secure

And voila, KDM will start at boot.

Best regards,

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


Re: KDE How To ?

2005-12-21 Thread Jonathan Chen
On Wed, Dec 21, 2005 at 01:25:58PM -0500, Teo De Las Heras wrote:
> on a similar note, is it possible to create scripts that run after a user
> logs in.  I'm setting up freeBSD as my home PC and I don't like to go right
> into KDE.  However, I'd like startX to run when my wife logs in.

You can do this by adding `startx' at the end of a .login/.profile
(depending on the shell she's using).
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE How To ?

2005-12-21 Thread Teo De Las Heras
on a similar note, is it possible to create scripts that run after a user
logs in.  I'm setting up freeBSD as my home PC and I don't like to go right
into KDE.  However, I'd like startX to run when my wife logs in.

Teo


On 12/21/05, deej <[EMAIL PROTECTED]> wrote:
>
> Boot the bugger up and just type kdm. Works for me on a new install, no
> hacking required.
>
>Seasons Greetings,
>Deej
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE How To ?

2005-12-21 Thread deej
Boot the bugger up and just type kdm. Works for me on a new install, no 
hacking required.

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


Re: KDE - how to?

2005-12-21 Thread Sasa Stupar



--On 21. december 2005 17:18 + Tofik Suleymanov <[EMAIL PROTECTED]> wrote:


Sasa Stupar wrote:


Hi!

I have been searching and trying to build a FreeBSD with KDE desktop
but I have not luck. The X starts but only the xdm.
Is there some nice step by step guide for it? Don't tell me for
handbook since I have tried to do it without success.

Regards,


Quick try.Assuming that X, xdm and kde are properly installed just
add one  line (below) in to .xsession located in your home dir:

 > cat ~/.xsession
/usr/local/bin/startkde
 >

Then restart xdm.



Thanx. That did it. Now it works.

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


Re: KDE - how to?

2005-12-21 Thread Tofik Suleymanov

Sasa Stupar wrote:


Hi!

I have been searching and trying to build a FreeBSD with KDE desktop 
but I have not luck. The X starts but only the xdm.
Is there some nice step by step guide for it? Don't tell me for 
handbook since I have tried to do it without success.


Regards,


Quick try.Assuming that X, xdm and kde are properly installed just
add one  line (below) in to .xsession located in your home dir:

> cat ~/.xsession
/usr/local/bin/startkde
>

Then restart xdm.
   
___

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


Re: KDE - how to?

2005-12-21 Thread Pietro Cerutti
On 12/21/05, Sasa Stupar <[EMAIL PROTECTED]> wrote:
> Hi!

Hi,

>
> I have been searching and trying to build a FreeBSD with KDE desktop but I
> have not luck. The X starts but only the xdm.

the first thing that comes to my mind is: did you add "exec kde" in
your ~/.xinitrc ?

If it's not the solution, please post some more information about your
pkgs and configuration!

> Is there some nice step by step guide for it? Don't tell me for handbook
> since I have tried to do it without success.
>
> Regards,
> --
> Sasa Stupar

Hope this helps, regards


--
Pietro Cerutti
<[EMAIL PROTECTED]>

Beansidhe - SwiSS Death / Thrash Metal


Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming or what?"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


KDE - how to?

2005-12-21 Thread Sasa Stupar

Hi!

I have been searching and trying to build a FreeBSD with KDE desktop but I 
have not luck. The X starts but only the xdm.
Is there some nice step by step guide for it? Don't tell me for handbook 
since I have tried to do it without success.


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