Sponsored Content
Full Discussion: XWindows Question
Top Forums UNIX for Dummies Questions & Answers XWindows Question Post 53895 by doublek321 on Wednesday 28th of July 2004 01:31:38 AM
Old 07-28-2004
App Needs To Be "XWindows Enabled" though?

I appreciate all the responses so far but does anyone know about the other part of my question? Does an application somehow need to be "XWindows enabled" (or whatever the terminology is) in order for me to display the output remotely?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Xwindows/ Xdaemon? help

I have Oracle 8i, running Slackware...I have "X-win32" on my Win2k box, but when I installed Slackware I didn't install the GUI's... Isn't there a xdaemon or something of the sort that I must install first ? So when my Win2K box queries the UNIX box it picks up and says "Hi, gimme GUI" heh.. Any... (4 Replies)
Discussion started by: ComTec
4 Replies

2. IP Networking

login using xwindows

Is there a way to find out who is logged in to the system using Xwindows ( hummingbird).. I tried using finger and last it doesn't show the person logged in .. but when i run ps -ef | grep "ip address' it show various process running on the system.. Moreover is there a way to log off the... (2 Replies)
Discussion started by: ajnabi
2 Replies

3. Linux

XWindows

I have written some Xwindows files would like to know how to compile them tried this command gcc -o main main.o -lXt -lX11 gives errors like could not find Xt & X11 help please (5 Replies)
Discussion started by: wojtyla
5 Replies

4. AIX

Xwindows on a HMC

I have a HMC version 5.2, The HMC controls 4 lpars. I would like to install the powerchute on the HMC and have it be the master control to shutdown each of the lpars and the VIO server in order so no harm is done to the VIO server. AIX version 5.3 64bit My problem is i have to install... (5 Replies)
Discussion started by: pagink
5 Replies

5. UNIX for Advanced & Expert Users

xwindows over ssh after sudo?

ok...I'm stumped on this one. I cannot figure out how to carry over my environment variables with a sudo command. I need to install an application under root and only have sudo access to get there. I can use ssh -Y <host> and launch an xwindows session successfully as myself but as soon as I sudo... (3 Replies)
Discussion started by: scottsl
3 Replies

6. Linux

Xwindows

i m working on a project of making linux boot and run from a pendrive. I have got a minimal root filesystem with busybox. I wish to install X Server now. I downloaded the source tar balls, untarred them on the host system, used the default host.def issued commands $make WORLDOPTS=-k World >&... (0 Replies)
Discussion started by: amu
0 Replies

7. UNIX Desktop Questions & Answers

Xwindows

i m working on a project of making linux boot and run from a pendrive. I have got a minimal root filesystem with busybox. I wish to install X Server now. I downloaded the source tar balls, untarred them on the host system, used the default host.def issued commands $make WORLDOPTS=-k World >&... (0 Replies)
Discussion started by: amu
0 Replies

8. UNIX for Dummies Questions & Answers

Xwindows not working

Hi I am trying to run a program on a solaris bx that requires an xwindow. I have exceed running and X11 forwarding enabled in putty I sent my display but the output is can't open display. To connect to the server I ssh to a jump host and ssh to the server and then su to root. Could this have... (4 Replies)
Discussion started by: naddy
4 Replies

9. UNIX for Dummies Questions & Answers

Xwindows in unix

the question i have is why Xwindows(GUI) is not part of kernel level but part of user level in unix while in windows the GUI (Windows manager) it is part of kernel level. For one thing is when GUI hangs it does not crash the whole system as in Windows But windows avoids context... (0 Replies)
Discussion started by: sandesh.syr
0 Replies

10. Solaris

XWindows from Solaris 8

Hi everyone, I have an xwindow problem I could use a hand with. I have a solaris 8 installation (a container actually, within solaris 10). I seem to not be able to open any xwindows over ssh. It comes about when trying to install oracle. When ssh'd to the solaris 8, Oracle's runInstaller... (3 Replies)
Discussion started by: goodvikings
3 Replies
send(n) 						       Tk Built-In Commands							   send(n)

__________________________________________________________________________________________________________________________________________________

NAME
send - Execute a command in a different application SYNOPSIS
send ?options? app cmd ?arg arg ...? _________________________________________________________________ DESCRIPTION
This command arranges for cmd (and args) to be executed in the application named by app. It returns the result or error from that command execution. App may be the name of any application whose main window is on the display containing the sender's main window; it need not be within the same process. If no arg arguments are present, then the command to be executed is contained entirely within the cmd argument. If one or more args are present, they are concatenated to form the command to be executed, just as for the eval command. If the initial arguments of the command begin with "-" they are treated as options. The following options are currently defined: -async Requests asynchronous invocation. In this case the send command will complete immediately without waiting for cmd to complete in the target application; no result will be available and errors in the sent command will be ignored. If the target application is in the same process as the sending application then the -async option is ignored. -displayof pathName Specifies that the target application's main window is on the display of the window given by pathName, instead of the display con- taining the application's main window. -- Serves no purpose except to terminate the list of options. This option is needed only if app could contain a leading "-" character. APPLICATION NAMES
The name of an application is set initially from the name of the program or script that created the application. You can query and change the name of an application with the tk appname command. DISABLING SENDS
If the send command is removed from an application (e.g. with the command rename send {}) then the application will not respond to incom- ing send requests anymore, nor will it be able to issue outgoing requests. Communication can be reenabled by invoking the tk appname com- mand. SECURITY
The send command is potentially a serious security loophole. On Unix, any application that can connect to your X server can send scripts to your applications. These incoming scripts can use Tcl to read and write your files and invoke subprocesses under your name. Host-based access control such as that provided by xhost is particularly insecure, since it allows anyone with an account on particular hosts to con- nect to your server, and if disabled it allows anyone anywhere to connect to your server. In order to provide at least a small amount of security, Tk checks the access control being used by the server and rejects incoming sends unless (a) xhost-style access control is enabled (i.e. only certain hosts can establish connections) and (b) the list of enabled hosts is empty. This means that applications cannot con- nect to your server unless they use some other form of authorization such as that provide by xauth. Under Windows, send is currently dis- abled. Most of the functionality is provided by the dde command instead. EXAMPLE
This script fragment can be used to make an application that only runs once on a particular display. if {[tk appname FoobarApp] ne "FoobarApp"} { send -async FoobarApp RemoteStart $argv exit } # The command that will be called remotely, which raises # the application main window and opens the requested files proc RemoteStart args { raise . foreach filename $args { OpenFile $filename } } KEYWORDS
application, dde, name, remote execution, security, send Tk 4.0 send(n)
All times are GMT -4. The time now is 03:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy