话说这个千年电脑好像是2000年那年买的,或者说不定是2001年买的,虽然比不上386,但也可以算是比较古董的电脑了。正好买的时候是千禧年,于是在买了新电脑以后就将其命名为千年电脑。
千年电脑问题多多,目前最大的问题是偶发性死机,这个死机死得很强大,突然间屏幕就黑掉,整个系统断电,只剩下电源灯在闪啊闪啊,按电源键也没有用,只能强行断开供电。这个电源灯闪烁的意义不明,不过这个死机通常发生在系统负载很高的时候,再联系以前千年电脑的表现,猜测死机的原因是主板的XX部件过热保护功能,这个XX部件可能是CPU,似乎也可能是硬盘。
不管怎样,反正系统负载很高的时候容易死机就对了。
然后前天偶企图将系统升级到 Ubuntu 9.10 Alpha,前期下载过程很顺利,然后到了安装软件阶段。安装软件这个阶段CPU和硬盘是比较忙的,于是忙着忙着突然就死掉了……哎呀安装还没有完成呢,好吧只能断电然后重启了。
重启后发现,进不了系统了,虽然内核没问题,但是似乎很多系统软件都不见了,于是启动不能,好像连命令行都进不去,没办法了,进 手头上仅有的 8.04 Live CD,把系统文件复制到硬盘上,然后重启再次试图进入系统……可惜还是失败了。没办法了,只能重装了。
前面废话太多了,下面才是本文正题分辨率的问题。
之前安装的时候偶不知道怎么弄的已经把分辨率弄成1024×768了,但是这次重装以后分辨率又恢复到800×600了,而上次安装的时间比较久远,偶已经忘记当时是怎样弄出1024×768的分辨率了。真是糟糕的说。于是折腾许久,终于又把1024×768的分辨率弄出来了。记录方法如下,免得以后又忘记了,至少也有地方可查。
首先按网上的方法修改xorg.conf,重启之后会提示系统运行在低图形模式,这时就选择Generic CRT 1024×768(大概是这个名字),然后选择分辨率1024×768,接着按“Test”,测试时虽然背景会花屏,但是不用管,按保存设置,之后屏幕又会变回800×600,不用管,接着按OK进入桌面。这时候桌面的分辨率还是800×600。
接下来,打开xorg.conf文件,把里面低于1024×768的分辨率字段都删掉,然后重启,重启后到了登录界面就会发现分辨率已经变为1024×768了。
需要重点说明的是,我更新到 Ubuntu 9.10 后(我尝试了2次升级到9.10,第一次死机,第二次虽然成功,但是却进不了桌面,可能是因为还在ALPHA吧),修改了xorg.conf并重启以后似乎不会出现那个选择显示器和分辨率的对话框,取而代之的是另一个对话框,但只有“重建xorg.conf文件”和“使用备份恢复”以及其他一些无关痛痒的选项。不出现那个选择显示器和分辨率的对话框那就麻烦了啊,于是后来偶再次把选择显示器和分辨率那个对话框弄出来以后,进入tty1列了一下进程列表,然后发现这个对话框的真面目可能是 /etc/gdm/failsafeXinit 这个东西。不知道进入桌面以后还能不能运行这个东西。
作为记录,我应该把现在的xorg.conf和当时列出的进程列表丢上来,嗯。过几天就放上来。
xorg.conf
# xorg.conf (X.Org X Window System server configuration file) # # This file was generated by failsafeDexconf, using # values from the debconf database and some overrides to use vesa mode. # # You should use dexconf or another such tool for creating a "real" xorg.conf # For example: # sudo dpkg-reconfigure -phigh xserver-xorg Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" EndSection Section "Device" Identifier "Configured Video Device" Boardname "vesa" Busid "PCI:1:0:0" Driver "vesa" Screen 0 EndSection Section "Monitor" Identifier "Configured Monitor" Vendorname "Generic CRT Display" Modelname "Monitor 1024x768" Horizsync 31.5-61.0 Vertrefresh 50-75 modeline "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync modeline "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync modeline "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync Gamma 1.0 EndSection Section "Screen" Identifier "Default Screen" Device "Configured Video Device" Monitor "Configured Monitor" Defaultdepth 24 SubSection "Display" Depth 24 Modes "1024x768@75" "1024x768@70" "1024x768@60" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" screen 0 "Default Screen" 0 0 EndSection Section "Module" Load "glx" Load "GLcore" Load "v4l" EndSection Section "ServerFlags" EndSectionps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 2.2 0.6 2844 1692 ? Ss 22:26 0:02 /sbin/init root 2 0.0 0.0 0 0 ? Sroot 3 0.0 0.0 0 0 ? Sroot 4 0.0 0.0 0 0 ? Sroot 5 0.0 0.0 0 0 ? Sroot 6 0.0 0.0 0 0 ? Sroot 7 0.0 0.0 0 0 ? Sroot 42 0.0 0.0 0 0 ? Sroot 45 0.0 0.0 0 0 ? Sroot 46 0.0 0.0 0 0 ? Sroot 112 0.0 0.0 0 0 ? Sroot 143 0.0 0.0 0 0 ? S 22:26 0:00 [pdflush] root 144 0.0 0.0 0 0 ? S 22:26 0:00 [pdflush] root 145 0.0 0.0 0 0 ? Sroot 188 0.0 0.0 0 0 ? Sroot 1419 0.0 0.0 0 0 ? Sroot 1422 0.0 0.0 0 0 ? Sroot 1441 0.0 0.0 0 0 ? Sroot 1449 0.0 0.0 0 0 ? Sroot 1456 0.0 0.0 0 0 ? Sroot 1461 0.0 0.0 0 0 ? Sroot 2413 0.0 0.0 0 0 ? Sroot 2584 1.2 0.3 2396 944 ? Sroot 3855 0.0 0.0 0 0 ? Sroot 3856 0.0 0.0 0 0 ? Sroot 3857 0.0 0.0 0 0 ? Sroot 4132 0.0 0.1 1716 508 tty4 Ss+ 22:27 0:00 /sbin/getty 38400 tty4 root 4133 0.0 0.1 1716 504 tty5 Ss+ 22:27 0:00 /sbin/getty 38400 tty5 root 4137 0.0 0.2 1716 512 tty2 Ss+ 22:27 0:00 /sbin/getty 38400 tty2 root 4138 0.0 0.1 1716 508 tty3 Ss+ 22:27 0:00 /sbin/getty 38400 tty3 root 4143 0.0 0.1 1716 508 tty6 Ss+ 22:27 0:00 /sbin/getty 38400 tty6 root 4308 0.0 0.5 2456 1356 ? Ss 22:27 0:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket root 4335 0.0 0.0 0 0 ? Ssyslog 4421 0.0 0.2 1936 680 ? Ss 22:27 0:00 /sbin/syslogd -u syslog root 4478 0.0 0.2 1868 532 ? S 22:27 0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg klog 4481 0.4 0.7 3036 1900 ? Ss 22:27 0:00 /sbin/klogd -P /var/run/klogd/kmsg 108 4503 0.0 0.3 2700 1020 ? Ss 22:27 0:00 /usr/bin/dbus-daemon --system root 4520 0.0 0.7 4696 1964 ? Ss 22:27 0:00 /usr/sbin/NetworkManager --pid-file /var/run/NetworkManager/NetworkManager.pid root 4534 0.0 0.4 3504 1180 ? Ss 22:27 0:00 /usr/sbin/NetworkManagerDispatcher --pid-file /var/run/NetworkManager/NetworkManagerDispatcher.pid root 4547 0.0 0.4 4108 1108 ? Ss 22:27 0:00 /usr/bin/system-tools-backends avahi 4567 0.0 0.5 2756 1416 ? Ss 22:27 0:00 avahi-daemon: running [yts-j.local] avahi 4568 0.0 0.1 2756 464 ? Ss 22:27 0:00 avahi-daemon: chroot helper root 4607 0.0 0.8 5908 2140 ? Ss 22:27 0:00 /usr/sbin/cupsd root 4681 0.0 0.3 2020 808 ? Ss 22:27 0:00 /usr/sbin/dhcdbd --system 111 4700 0.7 1.5 6144 3952 ? Ss 22:27 0:00 /usr/sbin/hald root 4703 0.0 0.8 8784 2116 ? Ssl 22:27 0:00 /usr/sbin/console-kit-daemon root 4765 0.0 0.4 3348 1152 ? S 22:27 0:00 hald-runner root 4777 0.0 0.4 3416 1152 ? S 22:27 0:00 hald-addon-input: Listening on /dev/input/event1 /dev/input/event4 /dev/input/event5 111 4786 0.0 0.3 2200 896 ? S 22:27 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket root 4797 0.0 0.4 3420 1156 ? S 22:27 0:00 hald-addon-storage: polling /dev/scd0 (every 16 sec) root 4817 0.0 0.4 3168 1264 ? Ss 22:27 0:00 /usr/sbin/hcid -x -s root 4826 0.0 0.0 0 0 ? Sroot 4827 0.0 0.0 0 0 ? Sroot 4838 0.0 0.5 3080 1332 ? S 22:27 0:00 /usr/lib/bluetooth/bluetoothd-service-audio root 4839 0.0 0.4 3016 1140 ? S 22:27 0:00 /usr/lib/bluetooth/bluetoothd-service-input root 4844 0.0 0.0 0 0 ? Sroot 4879 0.0 0.6 14268 1648 ? Ss 22:27 0:00 /usr/sbin/gdm daemon 4924 0.0 0.1 1980 420 ? Ss 22:27 0:00 /usr/sbin/atd root 4940 0.0 0.3 2100 884 ? Ss 22:27 0:00 /usr/sbin/cron root 5020 0.0 0.4 2568 1240 tty1 Ss 22:27 0:00 /bin/login -- root 5054 0.0 0.5 14268 1528 ? T 22:27 0:00 /usr/sbin/gdm root 5058 0.0 0.0 0 0 ? Z 22:27 0:00 [kill] root 5098 0.0 0.3 2780 784 ? S 22:27 0:00 xinit /etc/gdm/failsafeXinit /etc/X11/xorg.conf.failsafe with-gdm -- /usr/bin/X :0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 -br -once -config /etc/X11/xorg.conf.failsafe root 5100 1.6 2.6 12576 6680 tty7 Sroot 5107 0.0 0.1 1772 504 ? S 22:27 0:00 /bin/sh /etc/gdm/failsafeXinit /etc/X11/xorg.conf.failsafe with-gdm root 5108 0.0 1.6 14724 4288 ? S 22:27 0:00 /usr/bin/gksu -u root /usr/bin/xfailsafedialog root 5110 1.9 1.7 7696 4440 ? S 22:27 0:00 /usr/lib/libgconf2-4/gconfd-2 5 root 5111 4.7 9.3 54028 23960 ? S 22:27 0:02 /usr/bin/python /usr/bin/xfailsafedialog root 5128 0.0 3.2 11996 8228 ? Ss 22:27 0:00 /usr/lib/scim-1.0/scim-launcher -d -c simple -e all -f socket --no-stay root 5131 0.0 0.3 4144 804 ? Ss 22:27 0:00 /usr/lib/scim-1.0/scim-helper-manager root 5132 0.0 1.3 45004 3556 ? Ssl 22:27 0:00 /usr/lib/scim-1.0/scim-panel-gtk --display :0.0 -c socket -d --no-stay gs 5134 1.6 1.1 5772 2976 tty1 S 22:28 0:00 -bash gs 5153 0.0 0.3 2644 1004 tty1 R+ 22:28 0:00 ps aux对了,第二次偶能成功升级到9.10且没有死机的原因是:
(图片正在路上……)
快门速度太快都看不到风扇转动的效果了真可惜

F-22's Trace
greensea 的个人主页
sky-city
极夜奁
小樱之町
有钱人啊,居然有这么高档的家用电器
对哦,这电器在偶家其实只算是低等级电器的说哦
老抽就换一台嘛..现在电脑又不贵…
唉唉…
拍死你个有钱银