Web based X11 access


 
Thread Tools Search this Thread
Operating Systems Linux Web based X11 access
# 1  
Old 10-28-2009
Web based X11 access

Hi guys Smilie
I'm new here. I had been reading a long time here on the forums but now I registered finally.
And got a question for you.

Since yesterday I've got successfully installed a X11-connection from my WinXP to a RedHat EL 5 - Box. Now there's a web portal needed.

So I have to make a homepage where are a few icons on it. If you click on one of those icons, there should appear a window with a X11-environment (like xming, cygnus).
Is there any possibility to do that? I've got absolutely no idea how to make this run... :/

Hope you can help me...

Best Regards, Mario
# 2  
Old 10-28-2009
This doesn't directly address your need, but VNC offers a web interface to configured desktops.

RealVNC - Java VNC Viewer
# 3  
Old 10-28-2009
I would guess that you will want a bit of cgi or php code on your webserver.
It will need to read the address of the requester (that info is readily available to both cgi and php scripts as a predefined variable).
You can then either do some clever port probing to find which display number, or ask for that on a web form, or just assume display number 0.
Once you have those, you can determine which X11 display to send the X11 application to (eg yourwebsurfingcompter.address.domain:0). You'd then either need to authorise the webserver on your web browsing computer or have it allow any X11 connections (quite dangerous). Another option would be to have the user supply their X11 MIT cookie via a web form but that feels like overkill.

Once you have these bits of information, it's just a matter of having your cgi or php run a local application (as the webserver user most likely) with the display (usually either the DISPLAY environment variable or the -display parameter) set to be the display of your web browsing client (determined near the start). Remember to background the application so your script doesn't hang.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Proxy Server

How to use Squid on Linux to control certain IP to access Web Server and certain IP cannot access?

Dear all experts here, :) I would like to install a proxy server on Linux server to perform solely to control the access of Web server. In this case, some of my vendor asked me to try Squid and I have installed it onto my Linux server. I would like know how can I set the configuration to... (1 Reply)
Discussion started by: kwliew999
1 Replies

2. Web Development

Web based X11 access

Hi guys ;) I'm new here. I had been reading a long time here on the forums but now I registered finally. And got a question for you. Since yesterday I've got successfully installed a X11-connection from my Windows Xp to a Ubuntu . Now there's a web portal needed. So I have to make a... (1 Reply)
Discussion started by: Houssem90
1 Replies

3. IP Networking

Unable to access web application hosted in same network

All, I have various web applications hosted in a client network. These web apps are accessed through a Apache web server. We have deployed a new web application server and it is not serviced through the Apache web server. So i am unable to access this applications. But i am able to access... (3 Replies)
Discussion started by: vel4ever
3 Replies

4. Solaris

Java web console Vs Web-Based Enterprise Management(WBEM)

Java web console Vs Web-Based Enterprise Management(WBEM) 1. I like to understand the difference in purpose of using java web console and Web-Based Enterprise Management (WBEM) 2. As per CIS benchmark, both of them has to be disabled when not used for increased security. Solaris admin(s) -... (0 Replies)
Discussion started by: cyberidude
0 Replies

5. Homework & Coursework Questions

Parse a Web Server Access Log

1. The problem statement, all variables and given/known data: Write a parser for a web server access log that will provide the statistics outlined below. Remember to format your output in a neat form. You may complete this assignment with one Awk script or a shell script using a combination of... (6 Replies)
Discussion started by: codyhazelwood
6 Replies

6. BSD

forwarding the request to the Outlook Web Access

Hello, FreeBSD is not forwarding the request to the Outlook Web Access. Is there some process that needs to be run in order for this to start? The server was rebuilt and is pingable. Any suggestion is greatly appreciated. Thank you, Gish (1 Reply)
Discussion started by: TESTQWER
1 Replies

7. UNIX for Advanced & Expert Users

remote web server access (apache)

Hi, I have web server (apache) installed in server-1 and i want to view the web pages from diferent servers also while the web server is running only in one server ....(all the servers are connected to office LAN) right now all the servers have apache running......and CPU utilzation is at its... (2 Replies)
Discussion started by: aditya.ece1985
2 Replies

8. UNIX for Dummies Questions & Answers

access windows titles of a X11 application

Hi, Do you think there a way to get the windows titles of an X11 application with multiple windows on AIX? I have only the application's process id, but I can use shell and C++ programming. I am looking for a hint/links to explore. Thanks! (0 Replies)
Discussion started by: lolal500
0 Replies

9. UNIX for Dummies Questions & Answers

Ways to Access Files on Unix Server via Web

Hi all! I'm a web developer with a question. We have a contractor that is working on a project that requires the user to access a ton of files on the clients Unix server. He has plans to built a VB interface for on site windows users to access those files and wants us to develop a web based... (4 Replies)
Discussion started by: Imhotep1963
4 Replies
Login or Register to Ask a Question