導航:首頁 > 編程系統 > linux1680x1050解析度

linux1680x1050解析度

發布時間:2024-07-07 12:04:04

⑴ 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一機雙屏命令大全

樓主:

RandRX11擴展協議允許重啟情況修改輸些參數並使效xrandr該協議命令行界面功能用設置雙屏顯示
預設情況外接顯示器後啟用屏幕復制模式即兩屏幕顯示完全相同內容使用命令xrandr -q查看前輸狀態:
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm 1280x800 60.0+ 60.0 50.0
1024x768 75.1 70.1 60.0
800x600 72.2 75.0 60.3 56.2
768x576 75.0 72.0 60.0
640x480 72.8 75.0 60.0 59.9
VGA1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm 1920x1080 60.0+ 1680x1050 60.0
1280x1024 75.0 60.0
1440x900 59.9
1280x960 60.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 72.8 75.0 66.7 60.0
720x400 70.1
HDMI1 disconnected (normal left inverted right x axis y axis) DP1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) DP3 disconnected (normal left inverted right x axis y axis)
見筆記本電腦屏幕輸(LVDS1)顯示辨率1280x800外接顯示器輸(VGA1)辨率1920x1080兩輸整虛擬屏幕(名稱:Screen 0;前:1920x1080;:8192x8192)坐標都+0+0所外接顯示器看屏幕左角1280x800辨率屏幕
屏幕復制模式用於外接投影儀現我需要兩屏幕別顯示各自顯示器並兩屏幕顯示同內容(Windows設置雙屏顯示選擇擴展模式)
由於我筆記本電腦放外接顯示器左邊所操作自使用命令xrandr --output VGA1 --right-of LVDS1外接顯示器輸虛擬屏幕位置設置筆記本電腦輸右邊示意圖:

兩顯示器顯示同內容由於屬於同虛擬屏幕窗口跨邊界顯示器拖另顯示器再使用命令xrandr -q查看現輸狀態:
Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 8192 x 8192 LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 163mm 1280x800 60.0+ 60.0 50.0
1024x768 75.1 70.1 60.0
800x600 72.2 75.0 60.3 56.2
768x576 75.0 72.0 60.0
640x480 72.8 75.0 60.0 59.9
VGA1 connected 1920x1080+1280+0 (normal left inverted right x axis y axis) 509mm x 286mm 1920x1080 60.0+ 1680x1050 60.0
1280x1024 75.0 60.0
1440x900 59.9
1280x960 60.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 72.8 75.0 66.7 60.0
720x400 70.1
HDMI1 disconnected (normal left inverted right x axis y axis) DP1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) DP3 disconnected (normal left inverted right x axis y axis)
使用xrandr做設置前X效重啟後恢復原使設置持久化修改xorg.conf或設置自執行命令據說些圖形界面封裝xrandr前端完善桌面環境GNOMEKDE應該圖形界面設置我所使用XFCE目前似乎能啟用/禁用復制模式支持圖形界面設置擴展模式
面腳本用簡化雙屏顯示設置:
#!/bin/bash

# Restart trayer and cairo-dock which I use on my desktop
restart_widget()
{
killall trayer
killall cairo-dock

# Another script which starts trayer and set some options
mytrayer
cairo-dock &
}

set_alhead()
{
xrandr --output LVDS1 --auto
xrandr --output VGA1 --auto
xrandr --output VGA1 --right-of LVDS1
restart_widget
}

set_lvds()
{
xrandr --output VGA1 --off
xrandr --output LVDS1 --auto
restart_widget
}

set_vga()
{
xrandr --output LVDS1 --off
xrandr --output VGA1 --auto
restart_widget
}

if [ $# -eq 0 ]; then
set_alhead
exit
fi

case "$1x" in
"lvdsx") set_lvds;;
"vgax") set_vga;;
*) echo 'Unknown parameter !';;
esac

⑶ linux下lvds和vga雙屏怎麼調


可以通過xrandr之款Linux雙屏工具來調節。

1、列出屏幕支持解析度:
# xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 1280 x 1280
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 304mm x 190mm
1280x800 60.0*+
1024x768 60.0
800x600 60.3
640x480 59.9
TV disconnected (normal left inverted right x axis y axis)

2、設置屏幕解析度
根據上面查到的解析度,我們可以手動設置,下面將解析度設置為 1024x768 , 刷新率為60Hz。
# xrandr -s 1024x768 -r 60

3、查看所有顯示器屬性
# xrandr --prop
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1280 x 1280
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 304mm x 190mm
EDID_DATA:
PANEL_FITTING: full_aspect
supported: center full_aspect full
BACKLIGHT_CONTROL: combination
supported: native legacy combination kernel
BACKLIGHT: 14203 (0x0000377b) range: (0,14203)
1280x800 60.0 +
1024x768 60.0*
800x600 60.3
640x480 59.9
TV disconnected (normal left inverted right x axis y axis)
HUE: 0 (0x00000000) range: (0,255)
SATURATION: 96 (0x00000060) range: (0,255)
CONTRAST: 96 (0x00000060) range: (0,255)
BRIGHTNESS: 128 (0x00000080) range: (0,255)
BOTTOM: 37 (0x00000025) range: (0,100)
RIGHT: 46 (0x0000002e) range: (0,100)
TOP: 36 (0x00000024) range: (0,100)
LEFT: 54 (0x00000036) range: (0,100)
TV_FORMAT: NTSC-M
supported: NTSC-M NTSC-443 NTSC-J PAL-M
PAL-N PAL

4、設置雙屏(al monitor)顯示
如果你設置有一個LED(筆記本顯示器),再外界一個 VGA 顯示器,用 」xrandr —prop「 命令就會得到類似 LVDS1 和 VGA1 列表。可以設置這兩個雙屏顯示。
xrandr --output LVDS1 --mode 1280x800 --output VGA1 --mode 1024x768 --above LVDS1

⑷ Linux 下怎麼用命令修改解析度

xrandr(查來看當前解析度和所有解析度選自項)

然後再在出現的解析度列表中,數一下你要設置的解析度是第幾行,比如我要設置1280*960,是在第七行

xrandr-s7

就這樣,設置好了

關於xrandr的更多參數,大家可以man一下或者help都可以

⑸ Linux安裝vmtools

1、首先打開虛擬機的菜單欄,點擊虛擬機菜單,選擇安裝VMware tools。

⑹ virtualbox虛擬機如何設置 linux解析度

一、不是在virtualbox中設置解析度,但需要在virtualbox中「設置」虛擬機的「顯示」屬性中的「顯存大小」,需要解析度高,就設置更多的顯存,比如24M。
二、設置linux的解析度,要進入linux系統進行設置。應該是圖形界面的解析度吧。不同的linux圖形系統有不同的圖形界面進行設置。也可以通過命令進行設置:
1、先運行xrandr命令查看顯示輸出介面,比如是VGA1。
2、然後改變改介面的解析度:
xrandr --output VGA1 --mode 1680x1050 --rate 60

閱讀全文

與linux1680x1050解析度相關的資料

熱點內容
大三不會編程怎麼辦 瀏覽:256
去掉win10自帶應用商店 瀏覽:441
家庭網路怎麼改成無線網 瀏覽:854
網路營銷調查 瀏覽:548
nginx和php下載文件 瀏覽:975
如何建手機APP 瀏覽:330
橫向數據的和值如何引用到縱向 瀏覽:513
百度盤文件已取消 瀏覽:930
文件名中可以包括弧 瀏覽:153
網站底部鏈接代碼 瀏覽:245
魔域單機版密碼賬號 瀏覽:767
蘋果7驗證app在哪裡 瀏覽:961
excel的文件如何保存到桌面上 瀏覽:976
iphone4蜂窩數據打開沒有e 瀏覽:556
stm32485接收程序 瀏覽:803
nov代表什麼文件 瀏覽:80
什麼是plist文件 瀏覽:470
刷小說的app有什麼不好用 瀏覽:553
如何識別數據線的安全性 瀏覽:801
惠普6520s升級 瀏覽:496

友情鏈接