Embedding xnest in C code


 
Thread Tools Search this Thread
Top Forums Programming Embedding xnest in C code
Prev   Next
# 1  
Old 08-10-2007
Embedding xnest in C code

I hope I am posting this in the right section.

I have c file that is using the motif GUI toolkit to draw widgets and things of that sort. I also have another program that runs with xnest. I need to figure out a way to place that xnest program in my c code so that it exists in the window that the c code brings up.

Any ideas would be appreciated and thank you in advance.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Embedding JPEG image to the body file

hi, I am trying to embed an image to the body of the email, but the image is not visible. echo "<html> <body> <style> body {background-color:blue} </style> <h1>hello</h1> <center> <img... (1 Reply)
Discussion started by: ATWC
1 Replies

2. Shell Programming and Scripting

PHP embedding functions inside strings?

How to do a simple shell command like: echo "Today's date is `date +%D`"with PHP? Basically I'm looking to embed PHP library functions calls inside of PHP strings in much the same manner as above. Thanks (7 Replies)
Discussion started by: stevensw
7 Replies

3. UNIX for Advanced & Expert Users

Embedding code into ssh keys

Hi Its been a long time since I worked with ssh keys containing embedded shell commands and cannot remember how it is done. Does anyone know of any sites that have a good tutorial on the subject? I'm not having much luck searching Google for it. Incidentally, searching this forum for the... (6 Replies)
Discussion started by: steadyonabix
6 Replies

4. Shell Programming and Scripting

Difficulty embedding variable within AWK

Hi, I am working on a parsing script but cannot figure out how to accomplish this. Here is a simplified version of the script: #!/bin/bash DS=$1 DS=`expr $DS \* 2` DS=`expr $DS + 7` cat $FILENAME | awk '/<row><v> +/' | awk '{printf("%.0f %.0f\n", $6, $9)}' The problem is that I want the... (2 Replies)
Discussion started by: Nisrak
2 Replies

5. Shell Programming and Scripting

Need help embedding Unix commands in a shell script

Hi Folks, I have a text file which may or may not have any data. I would like to email the file, via a Korn shell script, if the file is not empty. I am fiddling around with the wc -l command, but no luck so far. The pseudo code is as follows count=`wc -l test.txt` if cat test.txt... (4 Replies)
Discussion started by: rogers42
4 Replies

6. Shell Programming and Scripting

Embedding HTML in Perl script

My webpage is hosted from perlscript(homepage.pl), i want to add piece of html code in the footer of the homepage. I simply pasted the html code at the end of the perl script as below... ======================================================== close(OUTSQL); ... (4 Replies)
Discussion started by: paventhan
4 Replies

7. UNIX Desktop Questions & Answers

Embedding file output into a script

Hello. I found a Unix script on this site that calculates a date that is 2 months earlier from today. I'm using that script and writing the value to a file called 2monthsago.txt. I want to use that value in another script. Below is my attempt at doing that and the results. My Script: ... (1 Reply)
Discussion started by: Colel2
1 Replies

8. UNIX for Dummies Questions & Answers

Xnest vs. Xephyr? What Are the Differences?

I've been using Xnest extensively for the past eight years for various purposes. However, just this morning while looking through some old bookmarks and following one of them to a Debian forum, I saw someone mention Xephyr. Apparently it's some kind of X server that runs on top of an existing X... (0 Replies)
Discussion started by: deckard
0 Replies

9. Shell Programming and Scripting

Embedding a command with SSH

Hi I am trying to run a script centrally that will go out and set the network management ip address on all my Sun boxes running Solaris. We have decided that the network management address will be the boxes main IP address but the first octet as a 172 rather than a 10, so for example ifconfig -a... (2 Replies)
Discussion started by: hcclnoodles
2 Replies

10. Shell Programming and Scripting

Embedding Perl construct in ksh...

Hi, I have an embedded Perl construct in a korn script. However, I cannot seem to access the shell variables that were declared outside this Perl section. This is how my script is written....I have also tried back-ticks where I assign the shell variable to my local perl variable, still... (1 Reply)
Discussion started by: svetlur
1 Replies
Login or Register to Ask a Question
gdmXnestchooser(1)						   User Commands						gdmXnestchooser(1)

NAME
gdmXnestchooser, gdmXnest - run an XDMCP chooser SYNOPSIS
gdmXnestchooser [--background] [--broadcast] [--direct] [--no-gdm-check] [--no-query] [--xnest-extra-options=options] [--xnest=string] [gnome-std-options] hostname DESCRIPTION
gdmXnestchooser automatically gets the correct display number, sets up access, and runs Xnest with -indirect localhost. This ensures that you get an XDMCP chooser that is provided by your machine. You can also specify the hostname whose chooser should be displayed, so that gdmXnestchooser somehost runs the XDMCP chooser from host somehost inside an Xnest. gdmXnest is a symbolic link to gdmXnestchooser and is the same as running gdmXnestchooser with the --no-query and --no-gdm-check options. gdmXnest is useful for running Xnest without actually connecting somewhere. OPTIONS
The following options are supported: --background Run in the background. You can also use -b to specify this option. --broadcast Run broadcast instead of indirect (chooser). You can also use -B to specify this option. --direct Do direct query instead of indirect (chooser). You can also use -d to specify this option. --no-gdm-check Do not check for running GDM. --no-query Just run Xnest, no query (no chooser). You can also use -n to specify this option. --xnest-extra-opExtra=options for Xnest. The default is no options. You can also use -o to specify this option. --xnest=string Xnest command line. The default value is Xnest. You can also use -x to specify this option. gnome-std-optionStandard options available for use with most GNOME applications. See gnome-std-options(5) for more information. OPERANDS
The following operands are supported: hostname Hostname whose chooser should be displayed. EXAMPLES
Example 1: Running the XDMCP Chooser From Host somehost Inside an Xnest example% gdmXnestchooser somehost Example 2: Connecting to somehost Directly Run example% gdmXnestchooser -d somehost FILES
The following files are used by this application: /usr/bin/gdmXnestchooserExecutable to run an XDMCP chooser ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-display-mgr | +-----------------------------+-----------------------------+ |Interface stability |External | +-----------------------------+-----------------------------+ SEE ALSO
Latest version of the GNOME Desktop User Guide for your platform. gdm(1), gdmflexiserver(1), gdmphotosetup(1), gdmsetup(1), gdmthemetester(1), gdm-restart(1m), gdmconfig(1m), gnome-std-options(5) NOTES
Original man page written by Martin K. Petersen <mkp@mkp.net>, George Lebl <jirka@5z.com>. Copyright (c) 1998, 1999 by Martin K. Petersen. Copyright (c) 2001, 2003, 2004 by George Lebl. Copyright (c) 2003 by Red Hat, Inc. Updated by Brian Cameron, Sun Microsystems Inc., 2004. SunOS 5.10 1 Sep 2004 gdmXnestchooser(1)