Xmanager Forum

commands in Xstart

Last post: Tuesday, December 10, 2013 2:23 AM by Yu, yuxuan, 6 reply

 
Monday, December 9, 2013 3:16 AM - Yu, yuxuan

commands in Xstart

 
I find there are 7 types of commands and as follows:

/usr/bin/X11/xterm -ls -display $DISPLAY
/usr/X11R6/bin/xterm -ls -display $DISPLAY
/usr/bin/xterm -ls -display $DISPLAY
/usr/openwin/bin/xterm -ls -display $DISPLAY
/usr/dt/bin/dtterm -ls -display $DISPLAY
sh -c "LANG=C; DISPLAY=$DISPLAY; export LANG DISPLAY; /usr/dt/bin/Xsession"
/usr/bin/gnome-session --display $DISPLAY

I try the first two, and things happen same, then I want to know the difference
Thanks for advance, :-D

Program Ver. : Xmanager 4
Connect Method : Xstart connection
Monday, December 9, 2013 6:11 AM - Support

Re: commands in Xstart

 
These are basic commands you can use on Linux. First 4 commands are for xterm for different operating systems.

/usr/dt/bin/dtterm -ls -display $DISPLAY

starts dtterm on AIX and HP-UX.

sh -c "LANG=C; DISPLAY=$DISPLAY; export LANG DISPLAY; /usr/dt/bin/Xsession"

This command starts CDE on AIX and HP-UX

/usr/bin/gnome-session --display $DISPLAY

This commands start Gnome desktop environment on most Linux based operating systems.

Hope this answers your question.


---
Technical Support
Monday, December 9, 2013 7:30 PM - Yu, yuxuan

Re: commands in Xstart

 
In the first command, for example, I use the `nohup *`, and if I don't enter the "exit" and close the window, the process will terminate immediately whether in `nohup` or not.

But in other command (forgive my forgetfulness), it may not happen by using nohup while close the window immediately.

Is it because of the command?
Monday, December 9, 2013 10:35 PM - Support

Re: commands in Xstart

 
What is that you are trying to do with Xmanager? Could you explain what is that you are trying to accomplish with Xmanager?


---
Technical Support
Monday, December 9, 2013 11:50 PM - Yu, yuxuan

Re: commands in Xstart

 
Thanks for replying
Of course to log into the terminal and run some scripts or program. The reason I want to ask is: years ago, I use the `nohup` and it can be done well after I close the Xstart, but now I need to type `exit` and then the `nohup *` will not terminate. So I guess it may be the reason for the command I logged in. Therefore, I want to ask which command I should use to make the `nohup *` do not terminate whether I enter the `exit` or not.
Tuesday, December 10, 2013 1:18 AM - Support

Re: commands in Xstart

 
You can do this by

1. Open xterm normally with Xstart
2. From xterm window, type in the command in the following format:

$ nohup command &

*You have to put ampersand (&) at the end of the line.

3. Exit from Xmanager.

The process should be still running in the server after you close Xmanager



---
Technical Support
Tuesday, December 10, 2013 2:23 AM - Yu, yuxuan

Re: commands in Xstart

 
Thank you, so it is not the reason of the command of the xstart? I do this and it is helpful. Thanks