調整linux的屏幕解析度步驟操作如下:
1、打開Linux操作系統,登陸到桌面。認真回的看一下這個頁面可以明答顯看出,目前解析度對我的Linux不合適,因為字體對我來說太小看不清。
㈡ Mac上Parallels設置Ubuntu Linux的解析度
在Mac上Paralles上裝了Ubuntu Linux虛擬機,發現解析度只有800x600。
通過以下步驟可設置其分辨改鍵率:
因為我這里已經設置過了,所以出現兩個核岩巧棗圓解析度。在設置前,只有800x600。
接著輸入密碼之後,在彈出的框里,勾選上前面三個復選框:
然後點擊Apply。
㈢ 關於在linux系統下設置解析度的問題
安裝的時候
也可以登錄後,[system]->[display]->[configure],要改成LCD Panel ,你需要的解析度
我覺得還是伺服器配好XDMCP,用Xmanager連接方便
㈣ redhat linux界面不能全屏顯示,如何解決,麻煩高手詳細解答一下,謝謝!
按 下面的步驟去做,改變解析度。你是在虛擬機下面裝的吧?
xp系統下的虛擬機中安裝了linux後,虛擬機VMware中的linux界面太小,是由於
linux解析度太低(通常為800×600)造成的,可以通過安裝VMware Tools來更改分
辨率到1024×768來解決這個問題,下面說明安裝VMware Tools並配置解析度的
步驟:
1.安裝工具。讓虛擬機運行於窗口狀態,不要全屏,按Ctrl+Alt讓滑鼠釋放出來。在VMware的菜單欄上選擇"虛擬機/安裝虛擬機工具(VM/Install VMware Tools...)"。然後切換到客戶操作系統,即Linux。
2.掛載光碟。
# mount /dev/cdrom /mnt/cdrom
3.執行命令。進入虛擬光碟,可以看到有兩個文件,一個是壓縮包,一個為rpm包。直接運行rpm包安裝,命令行也可。rpm -Uvh VMwareTools-版本號-版本號.i386.rpm
# cd /mnt/cdrom
# ls -l
有兩上文件 :
VMwareTools-5.5.1-19175.i386.rpm
VMwareTools-5.5.1-19175.tar.gz
並把這兩個文件拷貝到你的文件下 如 /tmp
#cp VMwareTools-5.5.1-19175.tar.gz /tmp
#cp VMwareTools-5.5.1-19175.i386.rpm /tmp
#cd /tmp
#rpm -ivh VMwareTools-5.5.1-19175.i386.rpm
4.上述操作完成後,進入/usr/bin目錄,查找vmware-config-tools.pl.找到後,運行它。
5.一路回車
6.
#tar -xzvf VMwareTools-5.5.1-19175.tar.gz
#cd vmware-tools-distrib
#./vmware-install.pl
Creating a new installer database using the tar3 format.
Installing the content of the package.
# 安裝過程的畫面,全部使用默認值,一直按 Enter 就對了
In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
Thepath "/usr/lib/vmware-tools" does not exist currently. This program isgoingto create it, including needed parent directories. Is this whatyou want?
[yes]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
Thepath "/usr/share/doc/vmware-tools" does not exist currently. Thisprogram isgoing to create it, including needed parent directories. Isthis what you want?
[yes]
The installation of VMware Tools 5.5.1 build-19175 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: [ 確定 ]
Trying to find a suitable vmhgfs mole for your running kernel.
The mole bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
pcnet32 30153 0
Unloading pcnet32 mole
Trying to find a suitable vmxnet mole for your running kernel.
The mole bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel.
Detected X.org version 6.8.
關閉控制台滑鼠服務: [ 確定 ]
啟動控制台滑鼠服務: [ 確定 ]
Please choose one of the following display sizes (1 - 13):
# 顯示解析度,這里是以 1024x768 為例
# VMware Tools 安裝的時候,會自動修改 X server 的配置文件
[1] "640x480"
[2]< "800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x1050"
[10] "1680x1050"
[11] "1600x1200"
[12] "1920x1200"
[13] "2364x1773"
Please enter a number between 1 and 13:
[2] 3
X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: Linux 2.6.9-34.EL i686 [ELF]
Current Operating System: Linux rd01.domain 2.6.9-34.EL #1 Wed Mar 8 00:07:35 CST 2006 i686
Build Date: 04 May 2006
Build Host: x8664-build.centos.org
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Mole Loader present
OSKernel: Linux version 2.6.9-34.EL (buildcentos@build-i386) (gcc version3.4.5 20051201 (Red Hat 3.4.5-2)) #1 Wed Mar 8 00:07:35 CST 2006 P
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog.3131", Time: Mon Jun 12 20:57:34 2006
(++) Using config file: "/tmp/vmware-config0/XF86Config.3131"
(WW) VMWARE(0): Failed to set up write-combining range (0xf0000000,0x1000000)
X is running fine with the new config file.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [ 確定 ]
Guest filesystem driver: [ 確定 ]
DMA setup: [ 確定 ]
Guest operating system daemon: [ 確定 ]
The configuration of VMware Tools 5.5.1 build-19175 for Linux for this running
kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" ring an XFree86 session.
To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
depmod -a
modprobe vmxnet
/etc/init.d/network start
Enjoy,
--the VMware team
# shutdown -r now
# 修改完成之後,重新啟動計算機,讓 VMware Tools 生效
在\etc 目錄下找到inittab文件VI 它,找到id:5:initdefault:改成id:3:initdefault: 這里5代表圖形界面 3代表命令行的界面
按照Readme中的安裝方法,一步步按照默認的設置下來,出現如下錯誤:
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]The directory
of kernel headers (version 2.6.18-8.el5xen) does not match.
可以使用
[root@localhost ~]# uname -r // 查看內核版本號
查看目錄/usr/src/ 根本沒有linux這個目錄
在網上收到資料:沒有安裝 kernel-xen-devel rpm包,在安裝盤中找到這個rpm包:kernel-xen-devel-2.6.18-8.el5.i686.rpm
安裝:
[root@localhost ~]# rpm -ivh kernel-xen-devel-2.6.18-8.el5.i686.rpm
再使用vmware-install.pl安裝,即可自動找到配套的the directory of C header files
注重,網上還有人說需要安裝的rpm包是kernel-devel,經過測試,安裝kernel-devel-2.6.18-8.el5.i686.rpm包後依然無法自動找到the
directory of C header files,假如手動改目錄為:/usr/src/kernels/2.6.18-8.e15-i686/include,會出現錯誤:
The directory of kernel headers (version 2.6.18-8.el5) does not match your running kernel (version 2.6.18-8.el5xen). Even if
the mole were tocompile successfully, it would not load into the running kernel.
這就是安裝的rpm不正確導致的。
安裝好kernel-xen-devel-2.6.18-8.el5.i686.rpm包後,這樣就一直enter,裝完VMware Tools
在安裝的最後階段,會出現:
Do you want to change your guest X resolution? (yes/no) [no] y
Please choose one of the following display sizes (1 - 13):
[1] "640x480"
[2]< "800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x1050"
[10] "1680x1050"
[11] "1600x1200"
[12] "1920x1200"
[13] "2364x1773"
Please enter a number between 1 and 13:
[3]
到了這步,千萬別重啟看效果,還要修改xorg config設置,不然重啟後會報X-WINDOWS出錯。
進入/etc/X11/,用文本打開xorg.conf,加上以下幾段:
Section "Monitor"
Identifier "vmware"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "vmmouse"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mouse0"
EndSection
然後找到 含有"ServerLayout" 的section, 在Section跟EndSection之間加上以下一行。
InputDevice "Mouse0" "CorePointer"
終於大功告成,重啟看看效果了
重啟之後,resolution不知道為何並沒有變化,有待進一步研究,但是Mouse移進移出VMware可以不用再使用Ctrl+Alt鍵了
㈤ Linux系統如何更改屏幕解析度
Linux系統想要更改屏幕解析度,該怎麼辦呢,那麼Linux系統如何更改屏幕解析度的呢?下面是我收集整理的Linux系統如何更改屏幕解析度,希望對大家有幫助~~
如下圖,我們可以看到我們的屏幕兩邊都有黑條,這是我們的解析度造成的我們需要設置一個合適的解析度。
㈥ 我剛安裝了LINUX5,但是桌面的解析度只有640x480和800x600,如何設置大點呢
我復制來的。我嫌紅帽子麻煩。
一、查看顯卡相關信息
glxinfo | grep -i rend
direct rendering: Yes
運行這個命令,如果顯示不是「Yes」,說明還要去安裝一下驅動。
1、在linux的終端上執行:
[root@localhost ~]# glxinfo | grep -i rend
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
OpenGL renderer string: Mesa GLX Indirect
2、在txt模式下:
[root@localhost ~]# glxinfo | grep -i rend
Error:unable to open display
兩者顯示結果不一樣,原因:
是X終端與文本模式(console)下區分,在console下,顯卡驅動還沒有啟用,所以無法得到信息。
二、顯示器解析度及刷新率設置
1、X終端下顯示器解析度及刷新率設置
刷新率和解析度可以在/etc/X11/xorg.conf中設置
A.對顯示器行頻(水平解析度)和場頻(垂直解析度)的設置
在xorg.conf中有類似一段:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "206STUDIO"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
EndSection
其中HorizSync,VertRefresh分別是顯示器行頻(水平解析度)和場頻(垂直解析度)的設置
應該根據顯示器的性能進行設置,他們的值決定了顯示解析度和刷新頻率可能取值的范圍。
B.對首先和可選解析度的設置
在xorg.conf中有類似一段:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" "1280x1024"
EndSubSection
EndSection
行 :
Modes "1024x768" "800x600" "640x480"
設置了三種可選的解析度,排在最前面的就是首選的解析度,也就是一般生效的解析度。X啟動時如果首選的解析度無效,比如過高,會依次嘗試後面的解析度。
2、文本模式下顯示器解析度及刷新率設置
A、grub的:
/boot/grub/menu.lst 文件中
title Debian GNU/Linux, kernel 2.6.22-3-686
root (hd0,5)
kernel /vmlinuz-2.6.22-3-686 root=/dev/hda1 ro vga=794
initrd /initrd.img-2.6.22-3-686
savedefault
說明:
vga=794,修改此值可以修改在文本模式下的解析度
vga=794 => 1280x1024x16
vga=788 => 800x600x16
B、(2)、lilo的基本也差不多。
三、內核不能識別出顯示是否就進不了X-Windows ?
(1)顯卡驅動:內核提供的驅動與顯示供應商提供的驅動的差別在於3D,內核不認顯卡是進不了X的,不過,可以用vesa的標准驅動,因為各個廠家提供的顯卡都支持vesa的標准
(2)、信息用Xorg -configure 自動獲取的。