Sponsored Content
Operating Systems Linux Red Hat Unable to get a Xterm or X app to appear under a Linux Gnome Desktop Post 303003913 by mrmurdock on Friday 22nd of September 2017 01:15:00 PM
Old 09-22-2017
Corona688, I get use to add the dang <> like documentation, but yes I only used Linux_ip:0.0 (10.25.34.23:0.0)


Yes they are on the same network segment/subnet, with no firewall between them. I have selinux turned off on the Linux host, and have iptables and iptablesv6 disabled as well.


Not sure about the other post, as to why and where I would use ssh -X at and where to set the X11 forwarding stuff as well.
I can get xeyes, xlogo, xclock to appear on a PC running a xserver (xming, xceed, WRQ reflections,etc) from the same Solaris Host.
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Gnome desktop crash log

Hi All, When ever gnome desktop crashes, is it write errors to any log files? if yes please let me know log file name and path for the same. Thanks in advance for your inputs. Regards Bachegowda (0 Replies)
Discussion started by: bache_gowda
0 Replies

2. UNIX for Dummies Questions & Answers

Umask, in Desktop(gnome)

I want user, have umask 007, i just add in .bashrc and working, but our user using GDM for login, so I just add umask in /etc/profile. Is ther other way to put umask than in /etc/profile if using GDM? How to make .bash_profile with our define(default with my setting). Thank you. (1 Reply)
Discussion started by: blesets
1 Replies

3. SuSE

SLED 10.2 Default gnome desktop generation

Hi! Does anyone know where to alter the default gnome setup that SLED 10.2 does? I work for a big company and we have a huge issue with SLED adding the "main-menu" gnome panel applet thingie.... /opt/gnome/lib/gnome-main-menu/main-menu Is there any way to exchange this process for ex the... (0 Replies)
Discussion started by: Esaia
0 Replies

4. Solaris

Persistent Security Banner on Gnome Desktop

I'm looking for options for displaying a persistent, security banner on a Solaris 10 workstation running JDS that would display at the top of each workspace for all users, have the option to change the color and the capability to add text to the banner. The company I work for has used JEDI for... (5 Replies)
Discussion started by: ArizonaTraveler
5 Replies

5. Shell Programming and Scripting

Backup & restore Gnome Desktop and all settings in Gnome

Hi I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome. (0 Replies)
Discussion started by: ccc
0 Replies

6. UNIX Desktop Questions & Answers

How to associate files with app.? In GNOME.

Howdy! Using GNOME: gnome-terminal 2.18.2 here. QUESTION: How do I associate *txt files to a launcher object I created for Vim on my Desktop? Let's call it "MyVimLauncher". It starts Vim without any files loaded when I click on it. BUT, when I right-click "myfile.txt" to get the menu item... (1 Reply)
Discussion started by: Svenus
1 Replies

7. UNIX Desktop Questions & Answers

GNOME Desktop - Setting missing from dconf-editor?

Hello All, Last night I installed OpenSuSE 12.1 (i586) on a HP Mini 110 laptop. And I selected GNOME as my Desktop during install... So I was trying to customize some things about the desktop, for example adding the Maximize/Minimize/Close options to the titlebar of a window. I did this... (2 Replies)
Discussion started by: mrm5102
2 Replies

8. UNIX for Beginners Questions & Answers

Installing a Vue.js Desktop App Using Node.js and Electron

Hi, I have both VUE CLI and Node.js installed and I want to install this task board. Although I don't expect this to go fast, I'm hoping someone can help me get the task board setup and installed on my server ? (8 Replies)
Discussion started by: MaxtheCat
8 Replies
LUNCH(1)							   User Commands							  LUNCH(1)

NAME
lunch - Distributed process launcher SYNOPSIS
lunch [config file] [options] DESCRIPTION
Lunch is a distributed process launcher for GNU/Linux. The Lunch master launches lunch-slave processes through an encrypted SSH session if on a remote host. Those slave processes can in turn launch the desired commands on-demand. OPTIONS
--version show program's version number and exit -h, --help show this help message and exit -f CONFIG_FILE, --config-file=CONFIG_FILE Specifies the python config file. You can also simply specify the config file as the first argument. -l LOGGING_DIRECTORY, --logging-directory=LOGGING_DIRECTORY Specifies the logging and pidfile directory for the master. Default is /var/tmp/lunch -q, --log-to-file Enables logging master infos to file and disables logging to standard output. -g, --graphical Enables the graphical user interface. -v, --verbose Makes the logging output verbose. -d, --debug Makes the logging output very verbose. -k, --kill Kills another lunch master that uses the same config file and logging directory. Exits once it's done. EXAMPLES
See the examples directory for examples. On a Debian or Ubuntu system, they should located in the /usr/share/doc/lunch/examples/ directory. Here is the simplest example possible for the contents of a ~/.lunchrc file. It tells Lunch to call only one command, called "xeyes". add_command("xeyes") If you add more calls to add_command in this file, it will add more processes to be launched by Lunch. The add_command is the Python func- tion you need to call from your Lunch configuration file in order to add commands to be called by Lunch. If you add more than one command, they will be called in the order you add them in the file. Here is a more complex example of a configuration file. It creates three processes, with dependencies between processes. add_command("xeyes", identifier="xeyes") add_command("xlogo", depends=["xeyes"]) add_command("xclock", depends=["xeyes", "xlogo"]) The configuration file above will first start xeyes, and next xlogo, and finally xclock. If xeyes quits, all three processes will be stopped and restarted. If the xlogo process quits, the xclock will be stopped and restarted again when the xlogo is running. The "depends" keyword argument of the "add_command" function needs a list of strings as argument. Those string must match the "identifier" keyword argu- ment of an already added command. In the next example, we use SSH to launch processes on a remote host. Note that the lunch-slave script must be installed on each of the hosts on which to launch child processes. add_command("xeyes") add_command("xeyes", user="johndoe", host="example.org") It will create a process tree such as this one : lunch_______________lunch-slave____xeyes |____ssh____lunch-slave____xeyes The next one is a command that is run only once. add_command("ls -l", identifier="listing...", respawn=False) If, for some reason, it is easier for you to specify the host name for every command you add, even for the local host, you can call "add_local_address" with the master's IP as an argument. add_local_address("192.168.1.2") # We will not use SSH for this one, # since we just added its host using the # "add_local_address" function. add_command("xeyes", identifier="local_xeyes", user="johndoe", host="192.168.0.2") # We will use SSH for the next one, # since its host is not set as being the local host. add_command("xeyes -geometry 300x400", identifier="remote_xeyes", user="johndoe", host="example.org") OPERATION
The lunch executable is called the lunch master. The lunch-slave executable is called the lunch slave. If run as a master, it launches slaves. The slaves are responsible for launching child processes. The master launches slaves (via SSH or not) which, in turn, launch child processes. The Lunch configuration file can be provided as a first argument to the lunch executable. If not given, the Lunch master will look for the ~/.lunchrc file. If not found, lunch will print an error and exit. The lunch config file is written in the Python programming language, and must call the add_command function. The process ID of the master is written to a file located in /var/tmp/lunch/master*.pid, where * varies depending on the lunch config file used to configure the master. Here is how to kill every lunch master on your system : for f in /var/tmp/lunch/master-*.pid; do kill -15 $(cat $f); done GRAPHICAL USER INTERFACE
When invoked with the --graphical option, (-g) the lunch master shows a graphical user interface displaying the state of every managed process. When this window is closed, the lunch master exits and kills all its children processes. SSH KEYS MANAGEMENT
If using for more than one host, lunch needs a SSH server installed on each remote computer. It is also needed that the public SSH key of your user on the master computer must be installed on every slave computer. Here is a summary of the steps to do to create a SSH key on your master computer, and send your public key on each slave computer. $ mkdir -p ~/.ssh $ chmod 700 ~/.ssh $ ssh-keygen -f ~/.ssh/id_rsa -t rsa Next, for each slave host, do: $ ssh-copy-id <username>@<host> $ ssh username@host 'echo Hello' The latter command should display "Hello" when issued. If you start lunch via SSH, and launch from there commands other hosts, you must first make sure that the ssh-agent is running and that you have unlocked your private SSH key. It can be done like this: $ ssh-agent bash $ ssh-add HISTORY
2010 - Ported from multiprocessing to Twisted 2009 - Written by Alexandre Quessy <alexandre@quessy.net> with contributions from Simon Piette <simonp@sat.qc.ca> REPORTING BUGS
See http://svn.sat.qc.ca/trac/lunch for help and documentation. SEE ALSO
lunch-slave (1) lunch 0.4.0 January 2011 LUNCH(1)
All times are GMT -4. The time now is 01:10 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy