View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 11 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Oct 26, 2007 3:38 pm 
Offline
Joined: Tue Oct 23, 2007 2:28 pm
Posts: 29
I am sftping into my newly setup myth box, and I can't seem to locate the X config file? Go easy on me, i'm very new to linux


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 3:52 pm 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
/etc/X11/xorg.conf

You should make sure that you back up the existing file, and make sure that whatever file you're sftping over there is using Unix-style line breaks and not Windows-style breaks. You may also need to set permissions and ownership. I guess it depends on what you're trying to do, really.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 4:34 pm 
Offline
Joined: Tue Oct 23, 2007 2:28 pm
Posts: 29
I don't see it in the file structure, but, when I enter
/etc/X11/xorg.conf
It says permission denied. I'm guessing its because I am logged on as a user ($) not the admin (#) I guess my next question is how do I log in as admin? When I setup knoppmyth, I used the same password for user & admin. Was this a mistake?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 4:39 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Not a mistake, you just have to issue su and then put in your password and run your commands as root.

_________________
Girkers


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 5:39 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
dave1234 wrote:
I don't see it in the file structure, but, when I enter
/etc/X11/xorg.conf
It says permission denied. I'm guessing its because I am logged on as a user ($) not the admin (#) I guess my next question is how do I log in as admin? When I setup knoppmyth, I used the same password for user & admin. Was this a mistake?
It's not an executable file. What exactly are you trying to do with it? If you are trying to edit it, try nano /etc/X11/xorg.conf

As Girkers mentioned, if you need "admin" (root) rights then use su.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 5:41 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
See the LinuxTips page on the wiki which explains this and many other things you need to know. http://www.knoppmythwiki.org/index.php?page=LinuxTips


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 5:44 pm 
Offline
Joined: Tue Oct 23, 2007 2:28 pm
Posts: 29
I want to look at it, and play around with editing it.
I am reading the wiki pages and finding that some concepts I need explained in lamens terms.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 5:48 pm 
Offline
Joined: Tue Oct 23, 2007 2:28 pm
Posts: 29
I found the directory through sftp. I am still having problems logging in as admin. I enter the su command and the password, and stay in $ mode


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 5:48 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Ask specific questions and we'll try to answer them.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 5:51 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
dave1234 wrote:
I found the directory through sftp. I am still having problems logging in as admin. I enter the su command and the password, and stay in $ mode

I always recommend using "su -" here's a sample:
Code:
mythtv@black2:~$ id
uid=100(mythtv) gid=102(mythtv) groups=6(disk),20(dialout),21(fax),22(voice),24(cdrom),25(floppy),26(tape),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),102(mythtv),110(fuse)
mythtv@black2:~$ su -
Password:
root@black2:~# id
uid=0(root) gid=0(root) groups=0(root)

The "id" command displays some information about the current user.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 26, 2007 5:54 pm 
Offline
Joined: Tue Oct 23, 2007 2:28 pm
Posts: 29
Alright, that worked. Thanx


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 80 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu