DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th July 2009
Mantazz Mantazz is offline
Shell Scout
 
Join Date: Oct 2008
Posts: 90
Thanked 0 Times in 0 Posts
Default how to start X11 on login?

Now that I have XOrg running well on my system I would like it to start after login for some users but not all. I know I could just put the
Code:
xinit
command into the .cshrc files for the users who want to always run X, but is there a better way?
In particular, it is less than ideal to start X from the .cshrc as of course that file is subsequently read for every console in X - which causes interesting problems.
Reply With Quote
  #2   (View Single Post)  
Old 10th July 2009
peenworm's Avatar
peenworm peenworm is offline
Port Guard
 
Join Date: Jul 2008
Posts: 12
Thanked 1 Time in 1 Post
Default

in /etc/ttys, there's the line:

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


replace "off" with "on," and restart. Put your window manager and various .xinitrc contents into ~/.xsession

If you plan on running gnome, install gdm and put gnome_enable="YES" in your /etc/rc.conf
Reply With Quote
  #3   (View Single Post)  
Old 10th July 2009
peenworm's Avatar
peenworm peenworm is offline
Port Guard
 
Join Date: Jul 2008
Posts: 12
Thanked 1 Time in 1 Post
Default

If you don't want to start X on boot, but do want it to start after you log in, put the commands you want in the .login file. But there's not a whole lot of reason not to use xdm/gdm
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot login after installation ccc FreeBSD Installation and Upgrading 3 28th October 2008 11:54 AM
Login automatically map7 FreeBSD General 1 12th October 2008 11:09 PM
How can i login to my FreeBSD ?? ceramic FreeBSD Installation and Upgrading 4 28th July 2008 11:56 AM
How to set up ssh login cssgalactic FreeBSD General 12 28th June 2008 06:00 PM
DSL auto login Weaseal FreeBSD General 3 17th June 2008 03:26 PM


All times are GMT. The time now is 03:53 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick