PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

Running X app from script


Your Ad Here

Your Ad Here

On Wed, 20 Jul 2005 16:35:03 GMT, Robert M. Riches Jr. staggered into the Black Sun and said:

I doubt it. Dimtry wants to start a script ("ip-up" is, IIRC, a script that some distros use to activate a NIC or a PPP connection) and have that script automatically launch some X client.

This should work fine if the script runs as the user that has access to the currently active X display. This should be the case, since Linux doesn't allow SUID shell scripts--but it's entirely possible that ip-up is C wrapper around a shell script or something. If the script is running as a different user, and the X client it launches is getting "cannot connect to display :0", then it's possible to do "xhost +local:" to allow any locally-logged-in user access to the X display.

CHM to PDF
On Wed, 20 Jul 2005 16:13:36 GMT, Felix Rawlings staggered into the Black Sun and said: For Microsoft's Compiled HTML (.CHM) format, there's a library called chmlib that can read and extract the...

Dmitry, you can get extensive debugging information out of any bash script by putting "set -x" on the line after the #! . You may want to try that and see what's really going on. HTH,

-- Matt GThere is no Darkness in Eternity-But only Light too dim for us to see Brainbench MVP for Linux Admin mail: TRAP + SPAN don't belong ----------------------------- This space sort of for rent.



Your Ad Here

List | Previous | Next

CHM to PDF

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Dual head, equalize color difference