Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
将UI发送到bakcground并返回linux中应用程序的UI_Linux_Ssh_Background_Putty_Nohup - Fatal编程技术网

将UI发送到bakcground并返回linux中应用程序的UI

将UI发送到bakcground并返回linux中应用程序的UI,linux,ssh,background,putty,nohup,Linux,Ssh,Background,Putty,Nohup,我正在运行LinuxVM,操作系统是RHEL6.5,我将仅通过Putty(SSH)访问机器,并且我将使用导出显示选项来运行gui应用程序 我有java应用程序和jar,要运行该应用程序,我将在putty中使用下面的命令 java -Dcms.console.available=false -Dcms.user="username" -Dcms.password="password" -jar LAUNCHER.jar 当我在命令提示符下启动应用程序时,

我正在运行LinuxVM,操作系统是RHEL6.5,我将仅通过Putty(SSH)访问机器,并且我将使用导出显示选项来运行gui应用程序

我有java应用程序和jar,要运行该应用程序,我将在putty中使用下面的命令

java -Dcms.console.available=false -Dcms.user="username" -Dcms.password="password" -jar LAUNCHER.jar 
当我在命令提示符下启动应用程序时,我将获得UI(如果我想将此应用程序作为后台进程运行,我将在命令末尾使用“&”,在这种情况下,我也将获得UI),在获得UI后,我将在UI中选择一些选项,然后UI将加载完整的组件

要求:

我想在后台发送用户界面,我应该在需要时将用户界面返回(前台用户界面), 有没有办法做到这一点


我试过nohup&screen,但没用,谷歌也没找到hlep。请在这方面帮助我。

fg
bg
只需执行以下操作:

POSIX标准指定了两个用于恢复挂起的作业的命令 在背景和前景中,分别显示背景和前景。这些是 以Korn shell作业控制命令为模型