Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 08-11-2002, 04:30 PM   #1
LQ Newbie
Registered: Aug 2002
Posts: 13

Rep: Reputation: 0
error with my screen rez

hello all after reading a few posts about changing your xwin resolution i've managed to hoop the system. Please keep in mind i've had the system running for a few weeks so i'm as green as a martian here.

here is where i'm at. When before i played with things the systems went straight into xwin. Now i get the login command line. From there if i type in startx i get an error. I've screwed up my rez settings and now want to put them back. The prob is i'm a long time MS windows guy so i have no idea what program i type in to edit the file from the command line. I can find the file but cant edit it. If it was does i would edit:\filename here. Can someone tell me what program i use from the command line to edit the file.xf86config-4?

Thanx all in advance.
Old 08-11-2002, 04:43 PM   #2
Registered: May 2002
Location: Wales
Distribution: Slack 8.1, Gentoo 1.3a, Red Hat 7.3, Red Hat 7.2, Manrake 8.2
Posts: 328

Rep: Reputation: 30
the best (and easiest) command line prog is pico

just type pico /etc/X11/XF86Config (or wherever the XF86Config is) and hit enter

this will load the file up and now your ready to start editing, hope this helps.
Old 08-11-2002, 05:27 PM   #3
LQ Newbie
Registered: Aug 2002
Posts: 13

Original Poster
Rep: Reputation: 0
i get the error command not found. anything else i can try?
Old 08-11-2002, 06:47 PM   #4
LQ Newbie
Registered: Aug 2002
Posts: 13

Original Poster
Rep: Reputation: 0
i have the file up but dont have permission to edit it.. how do i change the file or login as admin so i can change this file? OR how do i rename the old XF86Config-4old to the used version.
Old 08-11-2002, 07:06 PM   #5
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
To login as admin type 'su -' and enter root's password
Old 08-11-2002, 07:12 PM   #6
LQ Newbie
Registered: Aug 2002
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you master worked like a charm i was able to fix the file and xwin is back up and running thanx a ton..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't change screen rez in suse 9.3 from 640x480? murfman89 Linux - Newbie 3 07-01-2005 11:09 PM
Screen rez changes at log out mark_l_sanders Mandriva 1 10-20-2004 12:28 PM
KDE looks Distorted and Screen Rez ClericPreston Linux - Newbie 4 06-03-2004 01:55 AM
Linux screen rez question Spytap Linux - Newbie 14 03-02-2004 09:25 AM
Changed monitor rez, now black screen? EnVoy Mandriva 3 11-18-2003 02:51 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration