導航:首頁 > 編程系統 > linux滑鼠從vm中釋放

linux滑鼠從vm中釋放

發布時間:2023-03-03 16:40:09

❶ vmware虛擬機linux滑鼠怎麼用

如果在VMware下安來裝Linux後碰到滑鼠不能用,原因自是安裝的滑鼠驅動跟使用的滑鼠不一致,很大原因是安裝的時候自己選擇了滑鼠類型,並且造成錯誤,一般情況下使用的還是USB滑鼠。
解決方法:
1、進入系統後切換到其他控制台,(按ctrl+alt再按F1~F6任意一個;若沒反應,按ctrl+alt+空格鍵再按F1~F6任意一個),進入其他文本控制台。
2、輸入setup(用root用戶登錄)。
3、在打開的setup界面里選擇mouse configuration,選擇generic -3 Button Mouse (PS/2)或generic -3 Button Mouse (USB),保存退出。然後重啟進入Linux即可。

❷ Linux 虛擬機命令行界面滑鼠怎麼直接移出來

按ctrl+alt可以移出,建議安裝VMware tools

❸ 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出現問題,網上查詢說要修改/etc/fstab。我知道怎麼改,但是不知道怎麼改,從哪裡進入改的頁面

啟動的時候按e鍵(如果有grub密碼的話輸入p,然後輸入密碼,再按e鍵),修改 kernel哪行,在最後加single,然後按ESC退出編輯,按b引導這個系統就可以。

閱讀全文

與linux滑鼠從vm中釋放相關的資料

熱點內容
win10列印機設置紙張大小設置 瀏覽:427
衛星測控數據有哪些 瀏覽:451
格式工廠330教程 瀏覽:421
童美編程課怎麼樣 瀏覽:40
網頁代碼調試器 瀏覽:54
讀取文件string 瀏覽:500
ug自動編程軟體怎麼畫數控圖 瀏覽:920
什麼網站可以介紹主機 瀏覽:340
移動簡訊查詢代碼 瀏覽:192
怎麼看公司網路是什麼時候開通 瀏覽:960
cad2015文件參照怎麼關閉 瀏覽:678
最小二乘逼近程序 瀏覽:610
鐵路12306密碼找不回 瀏覽:352
默認網路覆蓋的腦區 瀏覽:319
itunes恢復iphone教程 瀏覽:292
爐石現在是什麼版本 瀏覽:825
word兼容包安裝報錯 瀏覽:528
iphone5s包裝4g沒有氣孔 瀏覽:814
html包含文件代碼嗎 瀏覽:50
蘋果appstore日本賬號 瀏覽:532

友情鏈接