SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So i need to know how to send a command to like run a program on my computer over ssh. Now heres where I run into a problem. When you do it normally it opens in your session of ssh. soon as your done with your ssh connection the program dies. I need a way to run this program without it dying unless I specifically tell it to die or it crashes. Thank you!
I understand that the program screen is supposed to be excellent for keeping a terminal session open after the communications have been disconnected. You can come back later and "re-enter" the terminal session.
I had just played around with that minutes before I just checked this thread and I seem to be running into the issue of moving away from the screen in my ssh session so I still can't do anything else either in my session unless I want to run another session but isn't screen supposed to be the solution to that issue? lol
Also another issue is I can get screen to come up on my linux machine to see what i can over ssh now but trying to figure out how to get away from that screen and back to my tty1. I think I saw a guide earlier with this information all in it or even maybe if i'd try alt + f1 or something I'll try those. So currently now I need to figure out how to move away from the screen after I launch a program with it so that i can continue to do other stuff other then that the ssh side of this issue will be resolved.
Also when on my desktop (assuming this first part) If i'm not in my gui I don't enjoy the size of the terminal so if I was in x i'm assuming it would look better. Second part is alt +f1 didn't get me out alt f2 did but i guess that solves that on the desktop side this issue was my own stupidity :P. Now I need to figure out how to make it look better on the desktop side any ideas? Also I still need to figure out how to move away from screen in my ssh window. Thank you
Okay i'll look into tthat now I do have one question now about screen how can i send a command to it without it displaying everything i typed (like I did the screen -X -S (NAMEOFSESSION) stop (stop is a command to stop a file my script runs) but if i remember correctly the entire thing i typed in was outputted instead of just stop so my server didn't recognize the command. How could I fix this? Thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.