Sponsored Content
Full Discussion: Web based X11 access
Top Forums Web Development Web based X11 access Post 302906191 by Smiling Dragon on Tuesday 17th of June 2014 10:23:15 PM
Old 06-17-2014
You'll need something to run server-side to identify the requestor IP address so it knows where to send the X11 session (or you'd need to accept an ip address entered on the web portal).

You'll also need to pass the web portal an xauth string (eg an MIT Magic Cookie) or to disable authentication on your X-Server (your display running on your windows XP box)

Then it's just a matter of making system calls on Ubuntu from inside a php or cgi script based on what button the user clicks.

Be sure to think about what unix user all this is running as, if it's the apache user, then make sure apache can interact with the files you'll need to see on the Ubuntu host.

Generally speaking, it's a better bet to use an X11 launcher (xming has one) that will run this stuff over an ssh session to the server for you - it will even let you make icons to run specific apps.
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. Linux

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 WinXP to a RedHat EL 5 - Box. Now there's a web portal needed. So I have to make a... (2 Replies)
Discussion started by: supermaRiio
2 Replies

6. 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

7. 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

8. 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

9. 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
xkbdfltmap(1X)															    xkbdfltmap(1X)

NAME
xkbdfltmap - Determine default X keymap for locale and keyboard SYNOPSIS
xkbdfltmap [options] OPTIONS
lang specifies a string to be used instead of the console language. This option is useful for locales that cannot be specified in the con- sole. This option is only used if XKB is active in the server. kbd specifies a string to be used instead of the console keyboard. This option is useful for keyboard types that cannot be uniquely identified by the kernel. For example, the kernal identifies the Microsoft Natural Keyboard as a PCXAL. If XKB is not active in the server, file specifies the xmodmap command. The default is /usr/bin/X11/xmodmap. If XKB is not active in the server, file specifies the file containing the information necessary to determine what xmodmap keymap to use based upon the console language and keyboard type. The default is /usr/lib/X11/xdm/Xkeymaps. If XKB is active in the server, file speci- fies the XKB keyboard compiler. The default is /usr/bin/X11/xkbcomp. If XKB is active in the server, path specifies the top-level direc- tory that contains the XKB keymaps. The default is /usr/lib/X11/xkb. If XKB is active in the server, file specifies the file containing the information necessary to determine what XKB keymap to use based upon the console language and keyboard type. The default is /usr/lib/X11/keymaps.dir. Specifies whether execute the necessary command to download the keymap to the server after determining the default, or whether to just print out the necessary command. Specify -exec to download the keymap. Specify -noexec to just print out the necessary command. The default is -noexec. If the -noexec command is specified, and XKB is active in the server, the -file option instructs xkbdfltmap to print out just the XKB keymap file that contains the keymap. A keymap will not be downloaded to the server if -file is used. If the -noexec command is specified, and XKB is active in the server, the -map option instructs xkbdfltmap to print out just the XKB keymap name. A keymap will not be downloaded to the server if -map is used. DESCRIPTION
The xkbdfltmap command queries the system console for the language and keyboard settings. Then, based upon whether the XKB server exten- sion is active in the server, it will optionally download an xmodmap file from /usr/lib/X11/keymaps or an XKB keymap file from /usr/lib/X11/xkb to the server. FILES
/usr/lib/X11/xdm/Xkeymaps /usr/lib/X11/xkb/keymaps.dir SEE ALSO
X(1X) xkbdfltmap(1X)
All times are GMT -4. The time now is 08:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy