LinHES Forums
http://forum.linhes.org/

X config file, Where is it?
http://forum.linhes.org/viewtopic.php?f=11&t=17102
Page 1 of 1

Author:  dave1234 [ Fri Oct 26, 2007 3:38 pm ]
Post subject:  X config file, Where is it?

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

Author:  ceenvee703 [ Fri Oct 26, 2007 3:52 pm ]
Post subject: 

/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.

Author:  dave1234 [ Fri Oct 26, 2007 4:34 pm ]
Post subject: 

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?

Author:  Girkers [ Fri Oct 26, 2007 4:39 pm ]
Post subject: 

Not a mistake, you just have to issue su and then put in your password and run your commands as root.

Author:  slowtolearn [ Fri Oct 26, 2007 5:39 pm ]
Post subject: 

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.

Author:  tjc [ Fri Oct 26, 2007 5:41 pm ]
Post subject: 

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

Author:  dave1234 [ Fri Oct 26, 2007 5:44 pm ]
Post subject: 

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.

Author:  dave1234 [ Fri Oct 26, 2007 5:48 pm ]
Post subject: 

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

Author:  tjc [ Fri Oct 26, 2007 5:48 pm ]
Post subject: 

Ask specific questions and we'll try to answer them.

Author:  tjc [ Fri Oct 26, 2007 5:51 pm ]
Post subject: 

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.

Author:  dave1234 [ Fri Oct 26, 2007 5:54 pm ]
Post subject: 

Alright, that worked. Thanx

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/