当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 13 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [新闻]windows 下的 x server
帖子发表于 : 2007-08-09 1:38 
头像

注册: 2006-05-13 4:02
帖子: 10606
送出感谢: 0 次
接收感谢: 7
http://www.linux.com/feature/118106

Use Linux over Windows with Xming
By Joe 'Zonker' Brockmeier on August 08, 2007 (9:00:00 AM)



One of the nice things about the X Window System is its ability to display X apps running remotely on a local machine. One of the not-so-nice things about Microsoft Windows is the complete lack of native support for displaying X applications. If you find yourself working on Windows but wanting to use Linux apps at the same time, Xming can do the job. Xming is a port of X Window System to Microsoft Windows that's free and easy to use.

Xming is licensed under the GNU General Public License version 2 (GPLv2), and comes packaged as Windows executables with easy-to-use installers. If all you want is an X Window Server -- and not a complete Unix-type environment -- Xming is a better choice than Cygwin/X. It also has the advantage of more active development -- Cygwin/X hasn't been updated since 2004, according to its homepage.

Xming is trivial to install. Head to the Xming project page and find the releases section. You probably want to stick to the stable releases unless there's a feature in the recent development releases that you can't live without. Grab the current Xming, or Xming-mesa, if you have an older client that might need the Mesa renderer instead of OpenGL, and run the setup wizard. It takes a minute or so to run through the install. You'll probably also want to grab the Xming-fonts installer, which installs the core X fonts. After you've installed these packages, you're ready to start running X on Windows.
Getting started

The Xming installation procedure creates a desktop shortcut called XLaunch. Double-click it and you'll see a dialog that lets you choose whether Xming displays programs in multiple windows, a single window, fullscreen, or in a single window without a title bar.

What's with all the options? Depending on what you plan to do, you may want to run several windows on your Windows desktop in order to display several different programs. On the other hand, you might choose to connect to a machine using the X Display Manager Control Protocol (XDMCP) and display an entire desktop on your Windows machine.

If you're going with the multiple programs scenario, choose "Multiple Windows." You can also set the display number at the bottom of the dialog. Leave this as 0 if this is the first connection that you're making, or set to 1 (or 2, or 3, etc.) if you're making multiple X connections. If you forget, you'll get an error when trying to start up a subsequent session.

On the next window, choose the session type. For this type of connection, choose "Start a program," and click Next.

In the next dialog, click "Run Remote" and click the radio button next to "Using PuTTY" and fill out the user and host information. If you don't enter your password here, you'll be prompted for it when Xming connects to the remote system.

Assuming all goes well, you'll get an xterm from the remote system. You can then either work in the xterm or start an X application in the xterm that will be displayed on the local system using Xming.

You can also run something other than an xterm when connecting to the remote system. In the Start program dialog, just enter the name of the program you want to run in place of xterm. It's slightly counterintuitive, because the name of the program appears in a drop-down box and looks like you'd select something from a list rather than type in a free-form name, but you can enter your own program here. I like having an xterm or other terminal program, though, so I can start as many apps as I like.

I've used Xming with stock X applications (like xcalc) and GNOME and KDE apps (like Epiphany, Konqueror, Gnome-terminal, and others) and had no problems running the applications. Other than having the standard Microsoft Windows title bar and such, these apps look just as they would on Linux.
Run an entire desktop

You can also use Xming to turn your Windows machine into a X terminal, more or less. Again, click the XLaunch icon, and this time select "One Window" or "Fullscreen." Next, select "Open session via XDMCP" on the Session type dialog. On the next dialog, you can choose to connect to a specific host, or you can tell Xming to search for XDMCP servers.

The next dialog allows you to specify additional parameters. You probably won't need to give Xming any additional parameters, but if you need to specify a remote font server, this is the dialog to do it in.

Finally, you can save the configuration if you want and reuse it later. Once you click Finish, you should see whatever X login manager is running on the system you're connecting to.

Xming is easy to use and provides an excellent X server for folks who have to run Windows. Since it's free software, it's also much better for the budget than commercial X servers for Windows, and it enjoys fairly frequent releases, so it should be around for some time to come.


_________________
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo


最后由 zhuqin_83 编辑于 2007-08-09 1:49,总共编辑了 2 次

页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-08-09 1:41 
头像

注册: 2006-12-23 13:46
帖子: 9203
地址: Azores Islands
送出感谢: 0 次
接收感谢: 1
:roll:


_________________
no security measure is worth anything if an attacker has physical access to the machine


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-08-09 3:51 
头像

注册: 2007-01-30 7:13
帖子: 1446
送出感谢: 4
接收感谢: 0 次
不知道是好还是坏,反正不喜欢windows.


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-08-09 8:01 
头像

注册: 2007-06-02 14:56
帖子: 547
送出感谢: 0 次
接收感谢: 0 次
介绍挺详细,有空试试


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2007-08-09 8:50 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
和当年被bs的纯净水一个样子。


_________________
● 鸣学


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2007-08-09 8:54 
头像

注册: 2006-10-16 7:24
帖子: 624
地址: 安康/西安/广州
送出感谢: 0 次
接收感谢: 0 次
Cygwin里边的那个X home是什么啊?貌似也是的??


_________________
读书取正,读易取变,读骚取幽,读庄取达,读汉文取坚,最有味卷中岁月。
与菊同野,与梅同疏,与莲同洁,与兰同芳,与海棠同韵,定自称花里神仙。


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2007-08-09 9:14 
头像

注册: 2006-04-12 20:05
帖子: 8495
地址: 杭州
送出感谢: 0 次
接收感谢: 8
还有个商业软件:Xmanager,前几天我刚写在自己的博客里面来着。


_________________
关注我的blog: ε==3


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2007-08-09 9:45 

注册: 2005-08-23 11:00
帖子: 27
送出感谢: 0 次
接收感谢: 0 次
一直用XMING,个人认为是所有用过的WINDOWS下的X SERVER中速度最快的


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2007-08-09 10:03 
头像

注册: 2006-04-12 20:05
帖子: 8495
地址: 杭州
送出感谢: 0 次
接收感谢: 8
这个不错,小巧。
但是 Xming-fonts 怎么有32M多啊?
还有Xming和 Xming-mesa 有啥区别啊?


_________________
关注我的blog: ε==3


页首
 用户资料  
 
10 楼 
 文章标题 :
帖子发表于 : 2007-08-10 0:12 
头像

注册: 2007-06-02 14:56
帖子: 547
送出感谢: 0 次
接收感谢: 0 次
同样是XDMCP,Xming的界面响应速度比Xmanager快。Xming+Xshell混着用 :lol:


页首
 用户资料  
 
11 楼 
 文章标题 :
帖子发表于 : 2007-08-10 8:51 
头像

注册: 2007-04-20 18:22
帖子: 92
地址: Matrix
送出感谢: 0 次
接收感谢: 0 次
前几天刚看过,没兴趣试了


页首
 用户资料  
 
12 楼 
 文章标题 :
帖子发表于 : 2007-08-11 0:36 
头像

注册: 2007-07-20 22:15
帖子: 896
送出感谢: 0 次
接收感谢: 0 次
马上切换系统 8)


页首
 用户资料  
 
13 楼 
 文章标题 :
帖子发表于 : 2007-08-11 0:40 
头像

注册: 2005-10-25 11:15
帖子: 1016
送出感谢: 0 次
接收感谢: 1
我用xming也好几年了,好处是免费,使用也比较简单。


_________________
hreiser@oakland:~$ killall -9 wife
police@oakland:~$ sudo find / -user hreiser
court@oakland:~$ sudo mv /home/hreiser /jail/
court@oakland:~$ sudo usermod -d /jail/hreiser -s "/usr/sbin/chroot /jail/" hreiser


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 13 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译