LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 08-11-2002, 05:30 PM   #1
xylum
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, 05:43 PM   #2
dai
Member
 
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, 06:27 PM   #3
xylum
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, 07:47 PM   #4
xylum
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, 08:06 PM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
To login as admin type 'su -' and enter root's password
 
Old 08-11-2002, 08:12 PM   #6
xylum
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..
 
  


Reply


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-02-2005 12:09 AM
Screen rez changes at log out mark_l_sanders Mandriva 1 10-20-2004 01:28 PM
KDE looks Distorted and Screen Rez ClericPreston Linux - Newbie 4 06-03-2004 02:55 AM
Linux screen rez question Spytap Linux - Newbie 14 03-02-2004 10:25 AM
Changed monitor rez, now black screen? EnVoy Mandriva 3 11-18-2003 03:51 AM


All times are GMT -5. The time now is 05:27 AM.

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