Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2008, 05:02 PM
fvs fvs is offline
Member
 
Join Date: Jun 2006
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unable to edit xorg.conf as root
kate: cannot connect to X server :0.0
:roll:


Topic Split by Moderator from: General Bug Reports::If you see bugs that are KDE or FreeBSD-specific....

Cheers
Reply With Quote
  #2  
Old 05-23-2008, 05:16 PM
Carpetsmoker Carpetsmoker is offline
Senior Member
 
Join Date: Aug 2007
Location: Netherlands
Posts: 113
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Carpetsmoker Send a message via AIM to Carpetsmoker Send a message via MSN to Carpetsmoker Send a message via Yahoo to Carpetsmoker
Default Re: If you see bugs that are KDE or FreeBSD-specific...
What is that? A question? Why don't you make a thread?
Reply With Quote
  #3  
Old 05-23-2008, 05:24 PM
fvs fvs is offline
Member
 
Join Date: Jun 2006
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: If you see bugs that are KDE or FreeBSD-specific...
Trying to open "/etc/X11/xorg.conf" with editor, Can't open with any of the 3 default editors. I'm in xterm and I'm root.
Want to change my resolution and refresh rate.
Thank you. :cry:
Reply With Quote
  #4  
Old 05-23-2008, 06:31 PM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: Unable to edit xorg.conf as root
While logged in as a normal user the system by default attempts to prevent other users from hi-jacking your session.


The easiest way to edit files as root from a root shell is with a screen editor, vi, ee, and nano come with PC-BSD.

Using the graphical editors that come with PC-BSD (xedit, kedit, kwrite, kate) is best done by executing 'kdesu EditorName filename' through a regular users shell or the run dialog.

Using Konqueror in super user mode is also a useful method, since it allows many operations and will launch handler apps as root (e.g. kwrite).


If security is less of a concern you can grant a more permissive access to your display.
Reply With Quote
  #5  
Old 05-23-2008, 09:16 PM
Carpetsmoker Carpetsmoker is offline
Senior Member
 
Join Date: Aug 2007
Location: Netherlands
Posts: 113
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Carpetsmoker Send a message via AIM to Carpetsmoker Send a message via MSN to Carpetsmoker Send a message via Yahoo to Carpetsmoker
Default Re: Unable to edit xorg.conf as root
To allow everyone to connect, use this command (As the user you logged in! NOT as root!):
Code:
% xhost +
OT, @Mods:
Am I the only one who find the (green) color of the text above "Topic Split by Moderator from: General Bug Reports" unreadable?
Reply With Quote
  #6  
Old 05-24-2008, 02:51 AM
TerryP TerryP is offline
Senior Member
 
Join Date: Nov 2005
Location: Ga. USofA
Posts: 7,906
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to TerryP Send a message via AIM to TerryP Send a message via Yahoo to TerryP
Default Re: Unable to edit xorg.conf as root
No I find it that way too, but when I tried my traditional moderators colour... It was even worse with this theme then the green :\


I need to spend some time this weekend finding a websafe colour thats easier on the eyes here lol.
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
/etc/x11/xorg.conf help lloydmst Installing PC-BSD 2 01-19-2008 02:23 AM
xorg.conf ggordon General Questions 3 10-29-2006 12:13 PM
I need to edit Xorg conf file LMZ General Questions 3 10-17-2006 10:22 PM
xorg-edit, GUI to xorg dracheflieger The Lounge 9 08-06-2006 05:37 PM
edit loader.conf graphically Rom Raptor General Questions 8 09-16-2005 02:13 PM


All times are GMT. The time now is 05:31 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, 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.