You are not logged in.

#1 2010-07-11 00:10:00

xakh
Member
Registered: 2009-07-19
Posts: 56

Just two problems, but they're sort of big.

One, my monitor keeps setting itself to 1152x768, which is just out of reach of the monitor it's trying to run on. what do I do to make it run at 1024x768 at startup?
Second, I have to manually dhcpcd ports, and it seems to think there are two ports, eth0 and eth1. I'm trying to set this up as a guest computer, so I don't want to have too many hiccups when it turns on.

Offline

#2 2010-07-11 00:28:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Just two problems, but they're sort of big.

> at 1024x768 at startup?
At startup of what? X? Is your system up to date? If so, try running X w/o xorg.conf, it should use the correct resolution.
What WM / DE are you using? You can use f.e. xrandr to check / fix the resolution.


Two interfaces: http://wiki.archlinux.org/index.php/Con … es_varying

Last edited by karol (2010-07-11 00:31:54)

Offline

#3 2010-07-11 16:00:50

xakh
Member
Registered: 2009-07-19
Posts: 56

Re: Just two problems, but they're sort of big.

I'm using LXDE, and Slim to start the system. So do I have to mess with both?

Offline

#4 2010-07-11 16:12:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Just two problems, but they're sort of big.

What is xrandr showing? Can't you set up the serolution using some LXDE utilities?

http://forum.lxde.org/viewtopic.php?f=8&t=29

Are there any errors in the logs? Why the system is setting the wrong resolution?

Last edited by karol (2010-07-11 16:14:21)

Offline

#5 2010-07-11 16:17:43

xakh
Member
Registered: 2009-07-19
Posts: 56

Re: Just two problems, but they're sort of big.

xrandr shows:

[xakh@Cato ~]$ xrandr
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1152 x 768
default connected 1024x768+0+0 0mm x 0mm
   1152x768       63.0  
   1024x768       75.0*    70.0     60.0  
   1024x600       61.0  
   1024x576       75.0     60.0  
   800x600        75.0     72.0     60.0  
   768x576        60.0  
   720x576        60.0  
   856x480        60.0  
   848x480        60.0  
   800x480        75.0     60.0  
   720x480        61.0  
   640x480        75.0     73.0     60.0  
   720x400        70.0  
   640x400        72.0  
   512x384        60.0  
   400x300        60.0  
   320x240        61.0  
   320x200        71.0  
[xakh@Cato ~]$

It's funny, I can change the resolution once I log in, and it's fine, but it switches back every time I boot. Since I'm trying to make this as simple as possible for use as a guest machine, that doesn't work too well, eh? As for the logs, I'm not sure which logs you'd like me to post. Tell me which and I'll gladly post them up here.

Offline

#6 2010-07-11 16:21:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Just two problems, but they're sort of big.

Try this: http://forums.fedoraforum.org/showthread.php?p=1368480
I meant /var/log/Xorg.0.log.

Offline

#7 2010-07-11 16:27:41

xakh
Member
Registered: 2009-07-19
Posts: 56

Re: Just two problems, but they're sort of big.

Alright, I edited the file, and here's the log you asked for. I'm going to reboot and test the new resolution now.
http://paste.pocoo.org/show/236169/
EDIT: Your fix worked! Now I need someone to explain what that wiki article is telling me to do on the ethernet jack, and I'll be ready to close this topic!

Last edited by xakh (2010-07-11 16:30:37)

Offline

#8 2010-07-11 17:24:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Just two problems, but they're sort of big.

> Your fix worked!
I just googled around for 'lxde resolution'.


The network problem:
Why do you have two cards, do you really need them both? If no, take out one of them, put it on the shelf. Case closed.

If you need both run

ifconfig -a | grep HWaddr | tr [A-Z] [a-z]

Mine looks like this (see the line below), but you'll get different numbers, that's OK.
eth0      link encap:ethernet  hwaddr 00:09:6b:f3:a8:42
(that number in bold is the important part)

Now create a file '/etc/udev/rules.d/10-network.rules' and insert this

SUBSYSTEM=="net", ATTR{address}=="aa:bb:cc:dd:ee:ff", NAME="eth0"
SUBSYSTEM=="net", ATTR{address}=="ff:ee:dd:cc:bb:aa", NAME="eth1"

but of course use real numbers from above command instead of aa:bb:cc:dd:ee:ff.

Offline

#9 2010-07-11 17:27:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Just two problems, but they're sort of big.

The monitor problem:
In your log you have

[    18.219] (WW) SIS(0): Could not find/read video BIOS

[    18.543] (II) SIS(0): Replaced default mode list with built-in modes
[    18.543] (II) SIS(0): "Unknown reason" in the following list means that the mode
[    18.543] (II) SIS(0): is not supported on the chipset/bridge/current output device.
[    18.543] (II) SIS(0): <default monitor>: Using hsync range of 31.00-60.00 kHz
[    18.543] (II) SIS(0): <default monitor>: Using vrefresh range of 60.00-75.00 Hz
[    18.543] (II) SIS(0): <default monitor>: Using maximum pixel clock of 80.00 MHz
[    18.543] (WW) SIS(0): Unable to estimate virtual size

You can google around what does that mean.

Offline

Board footer

Powered by FluxBB