分享
 
 
 

再谈远程控制linux下

王朝system·作者佚名  2006-11-24
窄屏简体版  字體: |||超大  

一直以来我都是在windows平台下,用ssh和vnc来远程控制linux肉鸡来实现nt和*inux多系统环境的工作。这个具体实现网络上教程已经很多,我想没有必要再详细的说明拉。

但是最近因为实在是厌恶微软推出所谓的2003,而且据说总总限制,使得我无法在有勇气在我的机器里面保留NT,呵呵其实由于我的机器低配置,实在难以接受多系统的强大压力,所以就删除拉NT,(牙牙的,大堆废话) 呵呵,本来就是原理吗,所以灌灌水。

好了,现在我们进入正题,作为最强大的远程控制软件VNC,当然是我们的首选(据说还有个可以在LINUX下控制3389的,我没有用过,不知道性能)。当然还有一个程序WINE可以提供WINDOWS程序的环境,但是很多朋友都说速度慢的象大便。。哈哈,但是还是介绍一下拉。至少可以用它来玩微软纸牌气死BILL。。嘻

下面是我的安装步骤:

安装前的准备

把原先的wine卸载掉.rh7.3有wine和wine-devel两个文件,先卸载掉第二个,然后再卸载第一个,如果你更好的想玩游戏,把OPENGL也升级一下,freetype不用升级了,rh7.3自带的就可以满足汉字的支持了

把你的C盘挂接在linux下

建立目录来挂接

c盘

mkdir /winc

挂接C盘

mount /dev/hda1 /winc

下载wine的最新版到/wind

http://www.winehq.com上边有它的最新版

wine-20020804.tar.gz

以普通用户登录linux,把wine-20020804.tar.gz拷贝到/tmp目录下

进入/tmp目录

shell>cd /tmp

解压wine

shell>tar vfzx wine-20020804.tar.gz

进入解压后的目录

shell>cd wine-20020804

用wine的安装工具进行安装

shell>./tools/wineinstall

然后就是漫长的等待,

在安装过程中它要你回答yes/no,你选择yes就可以了

wine自动搜索windows的目录的,等你你编译完了,它要让你输入root的密码进入安装

这是就快安装完了,如果安装成功,就会有good lucky的提示

在shell下运行wine,第一次运行不成攻,这是正常,因为没有在/root/.wine/config文件里配置好.找到这些把

[Drive C]

"Path" = "/usr/share/win_c"

"Type" = "hd"

"Label" = "MS-DOS"

"Filesystem" = "win95"

改为:[Drive C]

"Path" = "/winc"

"Type" = "hd"

"Label" = "MS-DOS"

"Filesystem" = "win95"

就可以了,如果你安装了simsun字体.wine默认就会找到这个字体

下边就是我的/root/.wine/config

WINE REGISTRY Version 2

;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;;

;; MS-DOS drives configuration

;;

;; Each section has the following format:

;; [Drive X]

;; "Path"="xxx" (Unix path for drive root)

;; "Type"="xxx" (supported types are ‘floppy‘, ‘hd‘, ‘cdrom‘ and ‘network‘)

;; "Label"="xxx" (drive label, at most 11 characters)

;; "Serial"="xxx" (serial number, 8 characters hexadecimal number)

;; "Filesystem"="xxx" (supported types are ‘msdos‘/‘dos‘/‘fat‘, ‘win95‘/‘vfat‘, ‘unix‘)

;; This is the FS Wine is supposed to emulate on a certain

;; directory structure.

;; Recommended:

;; - "win95" for ext2fs, VFAT and FAT32

;; - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)

;; DON‘T use "unix" unless you intend to port programs using Winelib !

;; "Device"="/dev/xx" (only if you want to allow raw device access)

;;

[Drive A]

"Path" = "/mnt/floppy"

"Type" = "floppy"

"Label" = "Floppy"

"Serial" = "87654321"

"Device" = "/dev/fd0"

[Drive C]

"Path" = "/winc"

"Type" = "hd"

"Label" = "MS-DOS"

"Filesystem" = "win95"

[Drive D]

"Path" = "/mnt/cdrom"

"Type" = "cdrom"

"Label" = "CD-Rom"

"Filesystem" = "win95"

; make sure that device is correct and has proper permissions !

"Device" = "/dev/cdrom"

[Drive E]

"Path" = "/tmp"

"Type" = "hd"

"Label" = "Tmp Drive"

"Filesystem" = "win95"

[Drive F]

"Path" = "${HOME}"

"Type" = "network"

"Label" = "Home"

"Filesystem" = "win95"

[Drive Z]

"Path" = "/"

"Type" = "network"

"Label" = "Root"

"Filesystem" = "win95"

[wine]

"Windows" = "c:\\windows"

"System" = "c:\\windows\\system"

"Temp" = "e:\\"

"Path" = "c:\\windows;c:\\windows\\system;e:\\;e:\\test;f:\\"

"Profile" = "c:\\windows\\Profiles\\Administrator"

"GraphicsDriver" = "x11drv"

; Wine doesn‘t pass directory symlinks to Windows programs by default.

; Enabling this may crash some programs that do recursive lookups of a whole

; subdir tree in case of a symlink pointing back to itself.

;"ShowDirSymlinks" = "1"

"ShellLinker" = "wineshelllink"

# <wineconf>

[DllDefaults]

; "EXTRA_LD_LIBRARY_PATH" = "${HOME}/wine/cvs/lib"

"DefaultLoadOrder" = "native, builtin, so"

[DllOverrides]

"commdlg" = "builtin, native"

"comdlg32" = "builtin, native"

"ver" = "builtin, native"

"version" = "builtin, native"

"shell" = "builtin, native"

"shell32" = "builtin, native"

"lzexpand" = "builtin, native"

"lz32" = "builtin, native"

"comctl32" = "builtin, native"

"commctrl" = "builtin, native"

"wsock32" = "builtin"

"winsock" = "builtin"

"advapi32" = "builtin, native"

"crtdll" = "builtin, native"

"mpr" = "builtin, native"

"winspool.drv" = "builtin, native"

"ddraw" = "builtin, native"

"dinput" = "builtin, native"

"dsound" = "builtin, native"

"mmsystem" = "builtin"

"winmm" = "builtin"

"msvcrt" = "native, builtin"

"msvideo" = "builtin, native"

"msvfw32" = "builtin, native"

"mcicda.drv" = "builtin, native"

"mciseq.drv" = "builtin, native"

"mciwave.drv" = "builtin, native"

"mciavi.drv" = "native, builtin"

"mcianim.drv" = "native, builtin"

"msacm.drv" = "builtin, native"

"msacm" = "builtin, native"

"msacm32" = "builtin, native"

"midimap.drv" = "builtin, native"

"wnaspi32" = "builtin"

"icmp" = "builtin"

[x11drv]

; Number of colors to allocate from the system palette

"AllocSystemColors" = "100"

; Use a private color map

"PrivateColorMap" = "N"

; Favor correctness over speed in some graphics operations

"PerfectGraphics" = "N"

; Color depth to use on multi-depth screens

;;"ScreenDepth" = "16"

; Name of X11 display to use

;;"Display" = ":0.0"

; Allow the window manager to manage created windows

"Managed" = "N"

; Use a desktop window of 640x480 for Wine

;"Desktop" = "640x480"

; Use XFree86 DGA extension if present

"UseDGA" = "Y"

; Use XShm extension if present

"UseXShm" = "Y"

; Enable DirectX mouse grab

"DXGrab" = "N"

; Create the desktop window with a doub

[1] [2] 下一页

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有