Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
01-01-2010, 04:26 PM
|
#16
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
Quote:
Thinking is a thing a man should not do.
|
I disagree: Thinking is what men do do.
No matter
If you are having trouble, help us to help you by posting the command(s) you tried, and the error messages you received. Please do not be vague - "I got an error message", be precise.
Unlike windows, linux tries to tell you exactly what went wrong, where, when and why.
This is useful.
And please do not abbreviate your posts as txt-spk. It is both annoying and leads to confusion.
|
|
|
01-02-2010, 04:30 AM
|
#17
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,258
|
Quick piping lesson:
command > command.out 2>&1
pipes the errors and messages of something flying past you. If you ran X -configure as a user, it might fail to write the xorg.conf and put it on stdout.
The other regular trick is this
command1 |command2 |command3 |command4 etc.
sends the output of 1 command to the input of command2, etc. There are piles of these listed somewhere everybody should know about and have read. You will gather I fail on both counts.
|
|
|
01-02-2010, 05:27 AM
|
#18
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Thinking is a thing a man should not do.
|
What???!!!---Do you mean we should just hang you on the wall with a feeding tube?
|
|
|
01-03-2010, 12:11 PM
|
#19
|
Member
Registered: Dec 2009
Posts: 73
Original Poster
Rep:
|
But of course. The first time I red this, it didn't make the connection Now i do.
I am going to try piping in a minute. Our isp has problems and I want to catch up on a few things while it is partly working. Only get less than .06% net usage right now,
|
|
|
01-03-2010, 05:40 PM
|
#20
|
Member
Registered: Dec 2009
Posts: 73
Original Poster
Rep:
|
Veerryy interesting! If I stop grub with a c I get a sh----prompt #which I guess is a shell. If I let grub finish,and select ubuntu recovery, I get the cute red white blue box. Selecting the. about third one, I get a root prompt. As root most things worked but an invalid command or such and root told me so. Sometimes giving suggestion which I guess were files where the command could be used. One wrong entry got me a bash prompt. I tried find for grub and it said grub was not installed, but I could install it by typing "apt-get install grub." That was confusing because because I got there from grub. Maybe I am just not understanding fully what it said.
|
|
|
01-04-2010, 04:58 AM
|
#21
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,258
|
If grub's not there, you will know about it if you reboot!
Thinking it through, we only install grub in one system usually whereas I usually have at least 2 systems. I think the grub on this box was from an ubuntu distro that I hastily wiped.
|
|
|
01-04-2010, 10:18 AM
|
#22
|
Member
Registered: Dec 2009
Posts: 73
Original Poster
Rep:
|
For sure, I would not be able to get there without grub. My grub came from a distro disk so should be good. Dlds could have an almost un-seeable error. I will; just keep mudling through until I get it right. I am to close to give to now.
|
|
|
01-10-2010, 05:22 PM
|
#23
|
Member
Registered: Dec 2009
Posts: 73
Original Poster
Rep:
|
Up date:
I decided to take the easy way out and hookup my old 300 mhz Compaq. I have run several Linux distros. Only trouble now is I need to find the Lan card I had temporarily removed. Either that or buy one because I think the old one went bad. Always something. Anyway since I have run several distros, I am sure it can handle the display. I should have it online in a couple days.
|
|
|
01-12-2010, 05:02 PM
|
#24
|
Member
Registered: Dec 2009
Posts: 73
Original Poster
Rep:
|
refresh rate
I had this question in Newbies for a time but could not get a workable solution. I am trying to put the latest version of Ubuntu 9.xxx on this computer using dual boot with windblows xp pro. Everything appears to be ok until it tries to display the desk top. Then it goes horizontal with many many lines making it unreadable. This I gather is due to asking the monitor to display at the wrong rate. The trouble lies in finding a way in to change it. As far I can tell it only wants to use 60k hertz. I find no other. What speed could the distro be asking it to go. About the closest I get is in through selecting recovery mode. I just never get to see the x file or even grub so that I could change it.
Last edited by greenknight; 01-12-2010 at 05:04 PM.
|
|
|
01-12-2010, 06:11 PM
|
#25
|
Member
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 298
Rep:
|
Install package xresprobe
Code:
sudo apt-get install xresprobe
to get your monitor's sync & refresh rates. To do this, enter Use this information to edit /etc/X11/xorg.conf. Copy to master.xorg.conf first, although it looks like you have nothing much to lose you need to make sure you can retrace.
Your "monitor" section should look something like this, put in the rates you need. There are several editors,
Code:
gksudo gedit [FILENAME]
is good:
Code:
Section "Monitor"
Identifier "ATIMonitor"
VendorName "Samsung"
ModelName "SyncMaster 515V"
#Option "DPMS" "true"
HorizSync 30.0 #OR WHATEVER
VertRefresh 50.0 #OR WHATEVER
EndSection
Note the commenting out of Option "DPMS" "true"
Another possibility, looking at the "screen" section:
Code:
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
If DefaultColorDepth is 24, change to 16.
There are many possibilities for a sample xorg.conf file, but these changes have previously worked for problems such as yours.
|
|
|
01-13-2010, 04:48 AM
|
#26
|
Member
Registered: Dec 2009
Posts: 73
Original Poster
Rep:
|
I really like this solution. I needed to be told to use gedit. It never occurred to me it should work in this situation. The rest seems easy. Where have I heard that before? I really would like to try it now, at 4:30 am, but I must catch a buss at 7:00 and don't dare let myself get so concentrated on fixing it. I would forget my ride I dare not miss. I should be able to have it done though before 3:00 pm. It will make me very happy to reply from Ubuntu. I will have no trouble getting online since I have highspeed always on. Been there done that recently.
|
|
|
01-13-2010, 04:42 PM
|
#27
|
Member
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 298
Rep:
|
Quote:
I needed to be told to use gedit.
|
There may be a problem, I should have warned you: without an X session, gedit, which is I believe graphical, will probably not work. As you have no X session as yet, everything has to be done in terminal. Hopefully you will have no trouble getting a terminal up, but if you do, ctrl alt f2 then log in with username & password.
Having done that, there are other editing tools: I don't like vi, prefer nano & pico, both easy to use from terminal.
If you are simply querying your system (ddcprobe etc) just enter the command, but when you modify anything in the system directories including /etc, you need admin privilege, so always sudo before the command.
If you obtain precise information on your monitor rates, either from ddcprobe or from your manual (if you had your monitor from new) then it should be safe to change Xorg.conf. However, if you are guessing for any reason, be careful, as this may damage your monitor.
I'm giving as much info as possible now as I think we may be in different timezones & therefore not online at the same time.
Another point: when I was a newbie, I was using old monitors, and was not able to get a working ubuntu installation. At that time, Debian was recommended for older hardware, so I installed Debian 4.0. All distros have moved on since then, but I still believe Debian provides a very good introduction to Linux for new users.
|
|
|
01-13-2010, 04:52 PM
|
#28
|
Member
Registered: Dec 2009
Posts: 73
Original Poster
Rep:
|
I would dare say, sonichedghog, that your instructions are right on. Not complete though for a newbie like me. I believe I saw everything as it should be. I hit a brick wall though when it came to copying the file before editing. I need the exact syntax to do it. A little searching through man pages showed me the first part would be mcopy. There were no man pages for the other things. With nothing to lose, I decided to try it and hope for the best. That got me to a second wall. I experimented a little and got edit, not gedit, to show the file. Next wall is wright permission for the file.
Installing the see res thing at the beginning worked without a hitch. I assume I won't need to do that again since it is installed unless I have a major screwup and have to go back to installing Ubuntu 9.10 Which would reformat the linux info partitions.
Your instructions have come the closest yet. Good work. I should have started here:>) not newbies. Those guys were no dummies though.
Boy am I glad I copied this mess before spell checking and posting. My token had expired and I had to reload the page. PHEWWW!
|
|
|
01-13-2010, 05:14 PM
|
#29
|
Member
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 298
Rep:
|
This is how:
to get you into the right directory
Code:
sudo cp xorg.conf master.xorg.conf
ls
this will show you what is now in the directory including the file you have just created
Code:
sudo pico xorg.conf
That will get you into the file you are going to edit. Lines that are for information only start with a #. When you change something, it is good practice to insert the # at the start of the line you want to remove, so you can easily restore it - this is what we mean by "commenting out"- and maybe also leave a note either on the same line or a new one after # with the date and the reason for the change, if you wish.
Another nice bit of code, once you have made your change and saved the file:
which will show you the file but won't allow changes.
Write permission? With ubuntu the main user can operate as root but only by entering sudo before the command, you are then prompted to enter your password.
Good luck.
Last edited by sonichedgehog; 01-13-2010 at 05:15 PM.
Reason: syntax
|
|
|
01-13-2010, 08:16 PM
|
#30
|
Member
Registered: Dec 2009
Posts: 73
Original Poster
Rep:
|
Yeah. Gedit wouldn't work. I just jumped to edit. It was then I had to have admins privileges.
I thought when I went "drop to root from the recovery menu, It was a terminal. Or very close. Not sure if I did stick sudo in there or not on that one. Have to give that another try.
I believe I already am administrator. There are no other users besides me, but I do have to enter my password for some things. there is no other user accounts that I know of. Everytime I need to reset the clock, it would ask for my password which was only good for a limited time. That knowledge comes from other distros.
I did see a list of rates and resolutions I didn't know were available. I would stick close to 60 hertz. No way I am going to 80 hertz no matter how good it looks.
If that was your monitor in the other mess then we are running the same brand. I don't see the model number on the front, but it is a samsung syncmaster 500s on the front. an oldy but goody.
I was working on it's predecessor when I looked up to see smoke coming out of it. Rate hadn't been touched for quite a while, but yeah she was smoking. Good thing I was there or I might not be here.
I am in eastern time zone in ny. The time zone or whatever would just delay things. Or maybe make a reformat neccesary because I didn't wait for your reaction. I use to run norton's ghost. That made an image of every bite on the drive. If used carefully, make sure it is ok before you save it etc, and it would get rid of the worst virus out there because it reformated, then restored from the image. Give it 6 minutes and that bug was GONE.
Right now it is 8 pm here and time for me to put my 71 year old buns to bed.
|
|
|
All times are GMT -5. The time now is 08:15 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|