Reply
 
Thread Tools Display Modes
  #11  
Old 04-17-2012, 12:56 AM
Ole Juul Ole Juul is offline
Senior Member
 
Join Date: Jan 2011
Location: Coalmont, BC, Canada
Posts: 284
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Originally Posted by skilo View Post
I went with the full PC-BSD install because i like using a GUI to move files around and transfer things from my laptop to my server, I can do this more quickly than through ssh and i had rather not use an ftp server.
Fair enough.


Quote:
So if i edit that file /etc/rc.conf i assume this will keep x from running on startup, so would i then get a screen to enter startx when i need the GUI again?
I am hoping so, but can't test it right now. This is actually starting to bug me because after reading the man pages for xinit and startx, there is still no clear answer that I can understand. Even the FreeBSD handbook appears to avoid the issue.


Quote:
Also killall Xorg just kills the current session and puts me back at the main login screen.
Oh, right. I should have known.

Anyway, since you just wanted to save resources perhaps there is no significant saving in turning the xserver off. I see here that even with a bunch of windows open, xorg shows 0.00% CPU usage and about 500MB memory. In other words, turning it off on this machine would not make a noticeable difference when it is not being actively used.
Reply With Quote
  #12  
Old 04-17-2012, 01:25 AM
Ole Juul Ole Juul is offline
Senior Member
 
Join Date: Jan 2011
Location: Coalmont, BC, Canada
Posts: 284
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Originally Posted by skilo View Post
Well editing the /etc/rc.conf file stopped X from running on start up but... When i type startx it goes to an all black screen, and when i type service gdm start it says org.gnome.displaymanager is not allowed to own the service.

So how do i startx again?

When I wrote that I didn't know you wanted to use it again. Probably you need to edit the file back to saying "YES".

However, I found some information on this PC-BSD wiki page, but it is full of pictures so I can't read it very well.

In /etc/ttys you comment out (put # in front of) the line that says something like one of these:

ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
ttyv8 "/usr/PCBSD/bin/pdm" xterm on secure
Reply With Quote
  #13  
Old 04-17-2012, 01:37 AM
Ole Juul Ole Juul is offline
Senior Member
 
Join Date: Jan 2011
Location: Coalmont, BC, Canada
Posts: 284
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Hehe, I gave up on Google (very slow too) and went to http://duckduckgo.com and the first result was this:
How do I configure PCBSD to boot up in text mode.


I think we're on track now.
Reply With Quote
  #14  
Old 04-17-2012, 02:09 AM
skilo skilo is offline
Junior Member
 
Join Date: Apr 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Your original solution works for me, I just nano /etc/rc.conf and change it back to "YES" and reboot for the GUI.

Works for me as i am just using it as a server for me and my friends to use, I only need the GUI for transferring files to it and then its back to text mode again.

With a pentium 4 1.6ghz processor in an ancient dell gx240 i really dont need the overhead, Lord knows the CPU is probably EOL (Literally).

I think i am satisfied with the status quo.

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


All times are GMT. The time now is 09:17 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.