分页: 1 / 2

关于激活Debian桌面的问题

发表于 : 2014-11-03 11:00
woaiwojia
昨天没事,安装了Debian7.7,发现不能用桌面,在网上查找了如下办法:

“Debian 7的默认桌面是Gnome 3, 刚装好时无法在桌面进行任何操作,不过只需要设置一下就可以了:


左上角的Activities ——〉 Applications ——〉 右边菜单栏的System Tools ——〉 左边的Advanced Settings ——〉 Desktop ——〉 Have file manager handle the desktop, 激活,即点击一下,由OFF变为ON.”

可是登陆的用户修改不了,改完后又变回去了。

加上sudo可以修改,可在当前用户不起作用。

怀疑是权限的问题,因为安装时/home没有格式化,用的是以前xubuntu系统的/home。

请教下该如何解决。

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-03 11:45
poloshiao
安装时/home没有格式化,用的是以前xubuntu系统的/home。
安裝時 有沒有 掛載 /home 到 獨立分割區 ?
sudo cat /etc/fstab | grep home
看看
有沒有 格式化
應該不是重點
掛載 / 的分割區 就最好是 格式化

如果還不行
優先檢查顯卡驅動是否正確安裝支援 3D 的驅動
1. 按一下 alt + ctrl + F2
2. 登入 tty2
3. sudo apt-get install pastebinit
4. sudo lshw -numeric -class video | pastebinit
會回應 http://paste.ubuntu.com/xxxxxxx # xxxxxxx 是一組數字
5. 把 http://paste.ubuntu.com/xxxxxxx 貼上來

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-03 14:16
woaiwojia
poloshiao 写了:
安装时/home没有格式化,用的是以前xubuntu系统的/home。
安裝時 有沒有 掛載 /home 到 獨立分割區 ?
sudo cat /etc/fstab | grep home
看看
有沒有 格式化
應該不是重點
掛載 / 的分割區 就最好是 格式化

如果還不行
優先檢查顯卡驅動是否正確安裝支援 3D 的驅動
1. 按一下 alt + ctrl + F2
2. 登入 tty2
3. sudo apt-get install pastebinit
4. sudo lshw -numeric -class video | pastebinit
會回應 http://paste.ubuntu.com/xxxxxxx # xxxxxxx 是一組數字
5. 把 http://paste.ubuntu.com/xxxxxxx 貼上來
感谢回复,等晚上回家试一下。
肯定是挂载了,因为就分了三个区,/ /home和/swap,所有数据都在/home。

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-03 21:28
woaiwojia
# /home was on /dev/sda2 during installation
UUID=6b3b7349-9627-4c25-9c75-48bea1805551 /home ext4 defaults 0 2


http://paste.debian.net/129987/

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-03 21:37
woaiwojia
刚才用 sudo rm -rf .* 把配置文件全删除后,问题解决了。

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-05 10:33
woaiwojia
poloshiao 写了: 4. sudo lshw -numeric -class video | pastebinit
會回應 http://paste.ubuntu.com/xxxxxxx # xxxxxxx 是一組數字
5. 把 http://paste.ubuntu.com/xxxxxxx 貼上來
帮我看一下,我的显卡驱动是否装好。谢谢

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-05 14:04
poloshiao
*-display UNCLAIMED
product: Caicos [Radeon HD 6400M/7400M Series] [1002:6760]
configuration: latency=0
AMD 顯卡 沒有合適驅動
1. lsmod | grep radeon
2. lsmod | grep fglrx
把結果複製 貼上來
3. 你的 Bios 有沒有 把 內建顯卡 關閉 的選項

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-05 18:44
woaiwojia
poloshiao 写了: AMD 顯卡 沒有合適驅動
1. lsmod | grep radeon
2. lsmod | grep fglrx
把結果複製 貼上來
3. 你的 Bios 有沒有 把 內建顯卡 關閉 的選項
quinn@debian:~$ lsmod |grep radeon
radeon 722295 0
ttm 53664 1 radeon
drm_kms_helper 31370 2 radeon,i915
drm 183952 6 drm_kms_helper,ttm,radeon,i915
i2c_algo_bit 12841 2 radeon,i915
i2c_core 23876 7 i2c_algo_bit,i2c_i801,drm,drm_kms_helper,radeon,i915,videodev
power_supply 13475 3 ac,battery,radeon
quinn@debian:~$ lsmod |gre
grep gresource greytiff
quinn@debian:~$ lsmod |grep fglrx
quinn@debian:~$ lsmod |grep fglrx

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-05 18:46
woaiwojia
#lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Caicos [Radeon HD 6400M/7400M Series]

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-05 18:49
poloshiao
lsmod |grep radeon
radeon 722295 0
載入 開源驅動 radeon
*-display UNCLAIMED
product: Caicos [Radeon HD 6400M/7400M Series] [1002:6760]
configuration: latency=0
但是沒有發揮作用
lsmod |grep fglrx
沒有載入 私有驅動

你的 Bios 有沒有 把 內建顯卡 關閉 的選項
如果有 把 內建顯卡 關閉
看看 有何改變

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-05 19:33
woaiwojia
poloshiao 写了: 你的 Bios 有沒有 把 內建顯卡 關閉 的選項
如果有 把 內建顯卡 關閉
看看 有何改變
没有找到关闭的选项。

只能选用集显或者自动切换。

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-05 19:38
woaiwojia
quinn@debian:~$ cat /usr/share/ati/fglrx-install.log
Supported adapter detected.
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers. /lib/modules/3.2.0-4-amd64/build/include/linux/version.h cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-05 20:02
woaiwojia
apt-get install linux-headers-$(uname -r)

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-05 20:21
woaiwojia
poloshiao 写了:
AMD 顯卡 沒有合適驅動
1. lsmod | grep radeon
2. lsmod | grep fglrx
把結果複製 貼上來
3. 你的 Bios 有沒有 把 內建顯卡 關閉 的選項
在AMD网站下了驱动,装上之后眼睛舒服多了。

quinn@debian:~$ lsmod |grep radeon
quinn@debian:~$
quinn@debian:~$ lsmod |grep fglrx
fglrx 9331682 123
button 12937 2 i915,fglrx
quinn@debian:~$

Re: 关于激活Debian桌面的问题

发表于 : 2014-11-05 20:31
woaiwojia
quinn@debian:~$ sudo lshw -numeric -class video
[sudo] password for quinn:
*-display
description: VGA compatible controller
product: Caicos [Radeon HD 6400M/7400M Series] [1002:6760]
vendor: Advanced Micro Devices [AMD] nee ATI [1002]
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
configuration: driver=fglrx_pci latency=0
resources: irq:45 memory:c0000000-cfffffff memory:e2600000-e261ffff ioport:6000(size=256) memory:e2620000-e263ffff
*-display
description: VGA compatible controller
product: 2nd Generation Core Processor Family Integrated Graphics Controller [8086:116]
vendor: Intel Corporation [8086]
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:43 memory:e0000000-e03fffff memory:d0000000-dfffffff ioport:7000(size=64)