linux虚拟应用程序:这可能吗?

发布于 2024-08-17 01:00:32 字数 473 浏览 3 评论 0原文

我需要所有 Linux 专家的指导。我想做以下事情。请告诉我这是否可能。如果不是,请告诉我原因。

我希望用户与连接到 Linux 瘦客户端 PC 的触摸屏 LCD 进行交互。我想使用 Linux 终端服务器来运行虚拟 Linux 应用程序(与用户交互)。换句话说,我想在瘦客户端上运行虚拟化应用程序。例如,运行 Openoffice Writer(相当于 MS Word 的开源版本)。在我的特定情况下,我将有一个虚拟化应用程序,它需要与连接到瘦客户端电脑的 USB 信用卡读卡器进行交互。我还需要将信息发送到 Mozilla 中运行的其他 ajax 应用程序。

我关心的问题之一是发送信用卡信息(通过瘦客户端上的 USB 获取)。我是否必须创建一个本地应用程序,该应用程序在瘦客户端上运行并将卡信息发送到服务器,或者 USB 交互也可以“虚拟化”吗?例如,通过运行 Linux 终端服务器和瘦客户端,我的 USB 交互是否会自动发送到服务器上运行的虚拟应用程序?

预先感谢您的帮助。

I need some guidance from all the Linux experts out there. I would like to do the following. Please tell me if this possible. If it's not, please tell me why.

I would like the user to interact with a touchscreen LCD connected to a Linux thin client PC. I want to use Linux Terminal Server to run a virtual linux application (with user interaction). In other words, I want to run a virtualized application on the thin client. For instance, running Openoffice Writer (open source equivelent of MS Word). In my particular case, I will have a virtualized app which needs to interact with a USB credit card reader attached to the thin client pc. I will also need to send information to an other ajax app running in Mozilla.

One of my concerns is sending the credit card information (obtained via usb on thin client). Will I have to create a local app, which runs on the thin client and send the card information to the server or can the USB interaction be "virtualized" as well. For instance, by running linux terminal server and a thin client, will my USB interactions be automatically sent to the virtual app running on the server?

Thank you in advance for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

初心未许 2024-08-24 01:00:32

也许您想要的术语是“X 服务器”?

X 是一种远程接口协议,也用于本地 GUI。但重要的是它可以很好地在远程主机上显示并接受来自它们的输入。

在这种情况下,任何具有 GUI 的 Linux 机器都能够充当“瘦客户端”(并且大多数发行版都可以配置为除了 X 服务器、窗口管理器和远程登录工具之外实际上运行很少的东西),并且基本上任何具有网络访问权限的计算机(Linux 或其他)可以充当应用程序的主机。

我目前还不清楚是否可以通过 X 获得 USB 输入。如果您的 USB 设备可以配置为像键盘一样发送输入,我认为您很出色。


X 的术语怪癖:

  • 显示 GUI 并处理键盘和鼠标的机器是“服务器”。
  • 运行代码的机器是“客户端”。

为什么?因为服务器正在向客户端提供显示器、键盘和鼠标。不要向我抱怨,这种用法由来已久。


旁注:有什么阻碍您开发网络应用程序吗?这样,您就可以获得与任何可以运行足够强大的网络浏览器的主机操作系统的跨平台兼容性(也就是说所有消费者PC操作系统,现代游戏机,一些智能手机等) 。

Perhaps the term you want is "X server"?

X is a remote interface protocol which is also used for the local GUI. But the important thing is that it works just fine for displaying on remote hosts and accepting input from them.

Any linux machine that has a GUI is capable as acting as the "thin client" in this scenario (and most distributions can be configured to actually run very little besides the X server, a window manager and a remote login tool), and essentially any machine (linux or otherwise) with network access can act as host for your application.

It is no immediately clear to me if you can get USB input over X or not. If your USB device can be configured to send input like it was a keyboard, I think that you are golden.


Terminology quirk with X:

  • The machine where the GUI is displayed and which handles in the keyboard and mouse is the "server".
  • The machine where the code runs is the "client".

Why? Because the server is making the monitor, keyboard, and mouse available to the client. Don't complain to me, this usage is of long standing.


Side note: is there anything that prevents you from developing a web app? That way you get cross-platform compatibility with any host OS that can run a sufficiently powerful web browser (which is to say all consumer PC OSs, modern game consoles, some smart phones, etc. etc.).

谜泪 2024-08-24 01:00:32

VirtualBox 的完整商业版可以做到所有这些,它附带了修改后的 VNC 客户端: http:// www.virtualbox.org/wiki/VirtualBox

但是,我同意有关网络应用程序的问题......这是可以做到的。当然,如果您需要完整的借记卡设施,包括芯片卡,那可能会变得有点复杂。

The full commercial edition of VirtualBox can do all of that, it comes with a modified VNC client: http://www.virtualbox.org/wiki/VirtualBox

However, I'd second the question about a web app... this can be done. Of course, if you need full debit card facilities, including chip cards, that may get a bit more complicated.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文