RE: Beginner Questions
It's working like a champ now. Thanks everybody for the help. Rich Mayo SRI International x76435 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Chen Sent: Thursday, June 08, 2006 3:47 PM To: Mayo, Richard A RDECOM CERDEC STCD SRI Cc: 'freebsd-questions@freebsd.org' Subject: Re: Beginner Questions On Thu, Jun 08, 2006 at 08:14:06AM -0400, Mayo, Richard A RDECOM CERDEC STCD SRI wrote: I'm setting up a FreeBSD box for the first time, so naturally I have a bunch of questions. I'm sure these are addressed on the web somewhere, but I'm not having any luck finding anything so here goes: What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. With `startx', it is ~/.xinitrc WIth `kdm', it is ~/.xsession -- Jonathan Chen [EMAIL PROTECTED] -- Power corrupts, Absolute Power is pretty neat ___ 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: Beginner Questions
Mayo, Richard A RDECOM CERDEC STCD SRI wrote: I'm setting up a FreeBSD box for the first time, so naturally I have a bunch of questions. I'm sure these are addressed on the web somewhere, but I'm not having any luck finding anything so here goes: What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. Just about anything that has to do with user login can be set both globally and for the individual user. You didn't by any chance take a look at the FreeBSD handbook? There is a whole section on it, 5.6: /usr/X11R6/lib/X11/xdm/Xsession Default session script for logins. This is the default session script for XDM to run after a user has logged in. Normally each user will have a customized session script in ~/.xsession that overrides this script. If you take a look in the above file you will see that it starts twm, this is default behaviour. You can edit the file to start some other window manager as default or you can override by setting you choice in your own ~/.xsession Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Beginner Questions
-- Original message -- From: Mayo, Richard A RDECOM CERDEC STCD SRI [EMAIL PROTECTED] I'm setting up a FreeBSD box for the first time, so naturally I have a bunch of questions. I'm sure these are addressed on the web somewhere, but I'm not having any luck finding anything so here goes: What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. Thanks, Rich Mayo edit /etc/ttys to point to the kde display mgr, should look something like this, mine's for gnome though. ttyv8 /usr/X11R6/sbin/gdm -nodaemon xterm on secure check out the handbook on this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html regards, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Beginner Questions
On Thursday 08 June 2006 08:14, Mayo, Richard A RDECOM CERDEC STCD SRI wrote: I'm setting up a FreeBSD box for the first time, so naturally I have a bunch of questions. I'm sure these are addressed on the web somewhere, but I'm not having any luck finding anything so here goes: What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. You might want to check out: http://www.freebsd.org/doc/en_us.ISO8859-1/books/handbook/x11.html It should get you started. -- Gerard Seibert [EMAIL PROTECTED] Ignorance is bliss. -- Thomas Gray Fortune updates the great quotes, #42: BLISS is ignorance. pgpkxCM5ZvNqy.pgp Description: PGP signature
Re: Beginner Questions
On Thu, 08 Jun 2006 14:14:06 +0200, Mayo, Richard A RDECOM CERDEC STCD SRI [EMAIL PROTECTED] wrote: What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html Many beginner problems can be solved with the handbook :) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ Welcome to FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Beginner Questions
Look at the file .xinitrc in your home directory, this is where the window manager is usually run from. -Derek At 07:14 AM 6/8/2006, Mayo, Richard A RDECOM CERDEC STCD SRI wrote: I'm setting up a FreeBSD box for the first time, so naturally I have a bunch of questions. I'm sure these are addressed on the web somewhere, but I'm not having any luck finding anything so here goes: What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. Thanks, Rich Mayo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Beginner Questions
On Thu, 8 Jun 2006, Mayo, Richard A RDECOM CERDEC STCD SRI wrote: I'm setting up a FreeBSD box for the first time, so naturally I have a bunch of questions. I'm sure these are addressed on the web somewhere, but I'm not having any luck finding anything so here goes: What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. Hi Rich, Welcome to FreeBSD! The FreeBSD handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ Is a fantastic source of information on how to use FreeBSD. In particular, there is a section which covers xdm (the graphical login screen): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html And another section on Desktop Environments (basically Gnome and KDE): http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html In the KDE section, there are instructions for installing KDE, and for enabling it so that KDE starts when you login. Hope this helps, -Andy Reitz. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Beginner Questions
Mayo, Richard A RDECOM CERDEC STCD SRI wrote: I'm setting up a FreeBSD box for the first time, so naturally I have a bunch of questions. I'm sure these are addressed on the web somewhere, but I'm not having any luck finding anything so here goes: What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. Welcome to FreeBSD! For some reason, the mail servers I use (or perhaps the FreeBSD server itself) are lagging a few hours behind, so I hope you've not been flooded with responses. The general answer is it depends. As near as I can tell in your case, it would be ~/.xsession; in my case, it is ~/.xinitrc (/home/myusername/.xinitrc). That is assuming that by graphical login screen, you meant that you were looking at xdm, the X Display Manager? I boot to a console prompt and then run startx, so xinit is actually setting up my session; I would have exec startkde in ~/.xinitrc if I wanted to run KDE. I assume (IANAE) that .xsession is similar. Take a look at Xorg(1) and especially xdm(1) for more information. If you have KDE installed, it comes with kdm; the thing to do might be modify /etc/ttys to run kdm instead of getty on one of your virtual terminals; lots of folks do this, from what I understand. I formerly had this box running GNOME; here's the relevant bits of /etc/ttys: ttyv0 /usr/X11R6/bin/gdmcons25 on secure #ttyv0 /usr/libexec/getty Pc cons25 on secure So, this would run the Gnome Display Manager (gdm) on the first virtual terminal on boot-up, and by default, gdm called GNOME. I assume that kdm does the same for KDE. HTH, (and that I'm not late) Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Beginner Questions
On Thursday 08 June 2006 13:35, Derek Ragona wrote: Look at the file .xinitrc in your home directory, this is where the window manager is usually run from. -Derek At 07:14 AM 6/8/2006, Mayo, Richard A RDECOM CERDEC STCD SRI wrote: I'm setting up a FreeBSD box for the first time, so naturally I have a bunch of questions. I'm sure these are addressed on the web somewhere, but I'm not having any luck finding anything so here goes: What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. Thanks, Rich Mayo for all of my installs, i always have to create the .xinitrc file, as its never there by default (for me, anyway). to start kde, i populate my .xinitrc file with the line: exec startkde and thats it. KDE will start. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Beginner Questions
On Thu, Jun 08, 2006 at 08:14:06AM -0400, Mayo, Richard A RDECOM CERDEC STCD SRI wrote: I'm setting up a FreeBSD box for the first time, so naturally I have a bunch of questions. I'm sure these are addressed on the web somewhere, but I'm not having any luck finding anything so here goes: What file controls the way Xwindows sets up after I log on? I got the graphical login screen, but now I want to start Xwindows with kde rather than twm. With `startx', it is ~/.xinitrc WIth `kdm', it is ~/.xsession -- Jonathan Chen [EMAIL PROTECTED] -- Power corrupts, Absolute Power is pretty neat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]