求救:今天升级后,不能进入x-windows

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
头像
pwdisok
帖子: 22
注册时间: 2008-05-28 8:47
来自: 辽宁
联系:

求救:今天升级后,不能进入x-windows

#1

帖子 pwdisok » 2009-03-04 12:34

刚才升级后,不能进入x-windows了
现在是之所以能进入,是因为在开机后我按了esc键,选择了initrd.img-2.6.27-12-generic,但是默认时是:initrd.img-2.6.27-13-generic
我用新历得软件升级程序查看了一下历史,发现如下内容,请高手帮助解决此问题

Commit Log for Wed Mar 4 10:31:27 2009


已升级下列软件包:
libcurl3 (7.18.2-1ubuntu4) to 7.18.2-1ubuntu4.1
libcurl3-gnutls (7.18.2-1ubuntu4) to 7.18.2-1ubuntu4.1
linux-generic (2.6.27.12.15) to 2.6.27.13.16
linux-headers-generic (2.6.27.12.15) to 2.6.27.13.16
linux-image-generic (2.6.27.12.15) to 2.6.27.13.16
linux-libc-dev (2.6.27-12.28) to 2.6.27-13.29
linux-restricted-modules-common (2.6.27-12.17) to 2.6.27-13.18
linux-restricted-modules-generic (2.6.27.12.15) to 2.6.27.13.16
network-manager-gnome (0.7~~svn20081020t000444-0ubuntu1.8.10.1) to 0.7~~svn20081020t000444-0ubuntu1.8.10.2
xfonts-scalable (1:1.0.0-6) to 1:1.0.0-6ubuntu0.8.04.1

已安装下列软件包:
linux-headers-2.6.27-13 (2.6.27-13.29)
linux-headers-2.6.27-13-generic (2.6.27-13.29)
linux-image-2.6.27-13-generic (2.6.27-13.29)
linux-restricted-modules-2.6.27-13-generic (2.6.27-13.18)
头像
windwhinny
帖子: 618
注册时间: 2007-09-26 17:34

Re: 求救:今天升级后,不能进入x-windows

#2

帖子 windwhinny » 2009-03-04 12:36

升级内核了,要重新安装显卡驱动
头像
pwdisok
帖子: 22
注册时间: 2008-05-28 8:47
来自: 辽宁
联系:

Re: 求救:今天升级后,不能进入x-windows

#3

帖子 pwdisok » 2009-03-04 12:39

怎样能卸载刚刚安装的软件包,并且对系统没有任何伤害?
头像
pwdisok
帖子: 22
注册时间: 2008-05-28 8:47
来自: 辽宁
联系:

Re: 求救:今天升级后,不能进入x-windows

#4

帖子 pwdisok » 2009-03-04 12:40

windwhinny 写了:升级内核了,要重新安装显卡驱动
能给出具体的操作步骤吗?
我是菜鸟
头像
windwhinny
帖子: 618
注册时间: 2007-09-26 17:34

Re: 求救:今天升级后,不能进入x-windows

#5

帖子 windwhinny » 2009-03-04 12:42

你还不如直接卸载显卡驱动呢....
如果是ATI的显卡,就执行/usr/share/ati/fglrx-uninstall.sh
NV的卸载程序应该是在/usr/share/nvidia目录下面吧,你找找
头像
pwdisok
帖子: 22
注册时间: 2008-05-28 8:47
来自: 辽宁
联系:

Re: 求救:今天升级后,不能进入x-windows

#6

帖子 pwdisok » 2009-03-04 13:53

我在图形界面下,卸载了显卡驱动,但如何再此安装以前的版本?使其恢复正常?
头像
pwdisok
帖子: 22
注册时间: 2008-05-28 8:47
来自: 辽宁
联系:

Re: 求救:今天升级后,不能进入x-windows

#7

帖子 pwdisok » 2009-03-04 14:23

如何降级到此次更新以前?
头像
pwdisok
帖子: 22
注册时间: 2008-05-28 8:47
来自: 辽宁
联系:

Re: 求救:今天升级后,不能进入x-windows

#8

帖子 pwdisok » 2009-03-04 15:27

我想到一个暂时解决的方法
修改系统启动时默认的配置列表
# vim /boot/grub/menu.lst
将下面的内容
title Ubuntu 8.10, kernel 2.6.27-12-generic
uuid 93f0c499-f6d4-4545-911c-471f101769e1
kernel /boot/vmlinuz-2.6.27-12-generic root=UUID=93f0c499-f6d4-4545-911c-471f101769e1 ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.27-12-generic
quiet
放到
title Ubuntu 8.10, kernel 2.6.27-13-generic
uuid 93f0c499-f6d4-4545-911c-471f101769e1
kernel /boot/vmlinuz-2.6.27-13-generic root=UUID=93f0c499-f6d4-4545-911c-471f101769e1 ro locale=zh_CN quiet splash
initrd /boot/initrd.img-2.6.27-13-generic
quiet
上面

但是这并不是根本的方法,只是在启动时自动去读Ubuntu 8.10, kernel 2.6.27-12-generic

请教大侠们有没有另外的方法??
头像
wangguangping
帖子: 259
注册时间: 2006-05-10 16:01
来自: 安徽合肥

Re: 求救:今天升级后,不能进入x-windows

#9

帖子 wangguangping » 2009-03-04 15:47

这两天升级的13内核与nvidia177驱动有冲突,应重新安装nvidia180驱动就行了。

1. 先通过安全模式删除/etc/X11/xorg.conf
2.再重启进入桌面,sudo apt-get remove nvidia-glx-177
3. apt-get install nvidia-glx-180
4. 再次删除/etc/X11/xorg.conf
5.重启,OK.
头像
pwdisok
帖子: 22
注册时间: 2008-05-28 8:47
来自: 辽宁
联系:

Re: 求救:今天升级后,不能进入x-windows

#10

帖子 pwdisok » 2009-03-04 17:36

不知道现面的提示是否对解决问题有所帮助

cat /home/hanbing/.xsession-errors

/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=zh_CN.
Start IM through /etc/X11/xinit/xinput.d/zh_CN linked to /etc/X11/xinit/xinput.d/scim-bridge.
Smart Common Input Method 1.4.7

Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...
GTK Panel of SCIM 1.4.7

Starting SCIM as daemon ...
SCIM has been successfully launched.
x-session-manager[5644]: WARNING: Unable to find provider 'gnome-wm' of required component 'windowmanager'
Checking for Xgl: not present.
Detected PCI ID for VGA:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Comparing resolution (1280x800) to maximum 3D texture size (4096): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: present.
Checking for FBConfig: present.
Checking for Xgl: not present.
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
Starting gtk-window-decorator
x-session-manager[5644]: WARNING: Application 'gnome-wm.desktop' failed to register before timeout
Initializing nautilus-share extension
Initializing nautilus-open-terminal extension
seahorse nautilus module initialized

** (nautilus:5930): WARNING **: Unable to add monitor: 不支持

** (nautilus:5930): WARNING **: Unable to add monitor: 不支持
无法打开面板启动器的 desktop 文件 %3Fsource=navclient-ff&zx=133dll6h9kp91&shva=1%23inbox-1.desktop
Nautilus-Share-Message: Called "net usershare info" but it failed: ‘net usershare’返回错误255:net usershare: cannot open usershare directory /var/lib/samba/usershares. Error 没有该文件或目录
Please ask your system administrator to enable user sharing.

x-session-manager[5644]: WARNING: Application 'libcanberra-login-sound.desktop' failed to register before timeout


Tracker version 0.6.6 Copyright (c) 2005-2007 by Jamie McCracken (jamiemcc@gnome.org)

This program is free software and comes without any warranty.
It is licensed under version 2 or later of the General Public License which can be viewed at http://www.gnu.org/licenses/gpl.txt

Initialising tracker...
starting HAL detection for ac adaptors...found /org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ACAD
Failure: Module initalization failed
evolution-alarm-notify-Message: Setting timeout for 32671 1236182400 1236149729
evolution-alarm-notify-Message: Thu Mar 5 00:00:00 2009

evolution-alarm-notify-Message: Wed Mar 4 14:55:29 2009

Throttle level is 5
Error: PDF file is damaged - attempting to reconstruct xref table...

(soffice:6933): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
Nautilus-Share-Message: Called "net usershare info" but it failed: ‘net usershare’返回错误255:net usershare: cannot open usershare directory /var/lib/samba/usershares. Error 没有该文件或目录
Please ask your system administrator to enable user sharing.


** (nautilus:5930): CRITICAL **: nautilus_file_get_uri: assertion `NAUTILUS_IS_FILE (file)' failed
Bad UTF-8 in startup notification message
Nautilus-Share-Message: Called "net usershare info" but it failed: ‘net usershare’返回错误255:net usershare: cannot open usershare directory /var/lib/samba/usershares. Error 没有该文件或目录
Please ask your system administrator to enable user sharing.

Error: PDF file is damaged - attempting to reconstruct xref table...

(gnome-terminal:8482): Vte-WARNING **: 控制字符序列“device-control-string”的处理程序未定义。

(gtk-window-decorator:5924): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(gtk-window-decorator:5924): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(gtk-window-decorator:5924): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(gtk-window-decorator:5924): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(gtk-window-decorator:5924): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(gtk-window-decorator:5924): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(gtk-window-decorator:5924): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()

(gtk-window-decorator:5924): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
头像
pwdisok
帖子: 22
注册时间: 2008-05-28 8:47
来自: 辽宁
联系:

Re: 求救:今天升级后,不能进入x-windows

#11

帖子 pwdisok » 2009-03-04 18:46

wangguangping 写了:这两天升级的13内核与nvidia177驱动有冲突,应重新安装nvidia180驱动就行了。

1. 先通过安全模式删除/etc/X11/xorg.conf
2.再重启进入桌面,sudo apt-get remove nvidia-glx-177
3. apt-get install nvidia-glx-180
4. 再次删除/etc/X11/xorg.conf
5.重启,OK.
1。我按照你的方法做了一次,但在我执行到第四步时,进入安全模式下准备删除xorg.conf,并没有发现这个文件,何故??
2。什么时候正常升级177,才没有什么此类问题?谢谢
头像
pwdisok
帖子: 22
注册时间: 2008-05-28 8:47
来自: 辽宁
联系:

Re: 求救:今天升级后,不能进入x-windows

#12

帖子 pwdisok » 2009-03-04 18:59

[This is an automated message]

In Jaunty (9.04), we are dropping the nvidia-graphics-drivers-177 package, which
is now superseded by then nvidia-graphics-drivers-180 package.

http://bugs.launchpad.net/ubuntu/+sourc ... rivers-180

To transition your bug into the new package, we need your help. Please do the following:

a. Verify the bug occurs in Jaunty with the -180 driver
(ISOs: http://cdimage.ubuntu.com/releases/jaunty/)
b. If you haven't already, please include in the bug:
* Your /var/log/Xorg.0.log
* Your /etc/X11/xorg.conf
* The output of `lspci -vvnn`
* Steps to reproduce the issue
c. Under Affects, click the down arrow to the left of 'nvidia-graphics-drivers-177'
d. Edit the Package to change 'nvidia-graphics-drivers-177' to 'nvidia-graphics-drivers-180'
e. Click Save Changes

Thank you!

[We'll expire the remaining -177 bugs in a month or so.]

我google出这个,但是英文实在很烂,它大体是说用180代替177,但是我使用
sudo apt-get install nvidia-glx-180,回车后,显示如下信息
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
nvidia-glx-180 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。

问题仍然没有解决,继续求救
mechgouki
帖子: 42
注册时间: 2006-01-11 22:48

Re: 求救:今天升级后,不能进入x-windows

#13

帖子 mechgouki » 2009-03-04 20:11

另外一个问题 我apt-get remove 了13的kernel 为什么我再update就看不到这个有问题的13 kernel的升级了呢?
头像
wangguangping
帖子: 259
注册时间: 2006-05-10 16:01
来自: 安徽合肥

Re: 求救:今天升级后,不能进入x-windows

#14

帖子 wangguangping » 2009-03-04 22:18

这样吧

1. 进入安全模式过程中会出现一个文本选择列表,你选最后一项,好像是x fix,或者fix x.
2. 执行过后,再进入系统就可以了,不过此时用的是默认的显卡驱动。
3. 再重启进入桌面,sudo apt-get install nvidia-glx-180
4. 再次删除: sudo rm /etc/X11/xorg.conf
5 .重启,OK.
头像
wangguangping
帖子: 259
注册时间: 2006-05-10 16:01
来自: 安徽合肥

Re: 求救:今天升级后,不能进入x-windows

#15

帖子 wangguangping » 2009-03-04 22:18

这样吧


1. 进入安全模式过程中会出现一个文本选择列表,你选最后一项,好像是x fix,或者fix x.
2. 执行过后,再进入系统就可以了,不过此时用的是默认的显卡驱动。
apt-get install envyng-qt (if kde) or envyng-gtk(if gnome)
sudo envyng -t
选2 Uninstall the NVIDIA driver
执行完,就把机子里的nvidia驱动全删净了。

3. 再重启进入桌面,执行系统->envyng
4. 根据界面再次安装 nvidia-glx-177,这只是一个过渡,直接装180好像有问题。
5 安装过以后,sudo apt-get install nvidia-glx-180
4. 然后再sudo apt-get remove nvidia-glx-177
5. 再次删除: sudo rm /etc/X11/xorg.conf
6 .重启,OK.

这样应该可以了,你先试试,不行再用另外的方法,应该不难解决。

理论上,每次升级内核,显卡都是要重新安装一次的,因为驱动是私有的。
上次由 wangguangping 在 2009-03-04 22:52,总共编辑 1 次。
回复