View previous topic :: View next topic |
Author |
Message |
SarahS93 Guru

Joined: 21 Nov 2013 Posts: 569
|
Posted: Sun Sep 24, 2017 12:32 am Post subject: howto dont kill remote started kde/xorg by closing ssh conn. |
|
|
from work i log me remote by ssh into my machine at home in, and then i type "startx".
how can i start by this way kde/xorg-server so that they will not be killed if i close my ssh seassion.
later at home i will use kde/xorg-server. |
|
Back to top |
|
 |
cyrillic Watchman


Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 7705 Location: almost Mile High in the USA
|
Posted: Sun Sep 24, 2017 1:36 am Post subject: |
|
|
This might also be a problem of systemd (if you're using it) default of killing all processes when one logs out of all seats.
Adding KillUserProcesses=no to /etc/systemd/logind.conf will get rid of this behavior. _________________ Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
SarahS93 Guru

Joined: 21 Nov 2013 Posts: 569
|
Posted: Sun Sep 24, 2017 5:16 pm Post subject: |
|
|
No, i dont use systemd.
Is there no spezial-command like <command> "&" or so??? dont know ... |
|
Back to top |
|
 |
Hu Moderator

Joined: 06 Mar 2007 Posts: 16478
|
Posted: Sun Sep 24, 2017 5:31 pm Post subject: |
|
|
The suggestion from cyrillic looks fine to me (and tmux is an alternate to GNU screen that should also work). Please explain why using one of those two does not satisfy your requirement. |
|
Back to top |
|
 |
eccerr0r Watchman

Joined: 01 Jul 2004 Posts: 7705 Location: almost Mile High in the USA
|
Posted: Sun Sep 24, 2017 5:44 pm Post subject: |
|
|
You can try disowning the process after backgrounding it with command & ; but using screen or tmux is the better method. _________________ Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching? |
|
Back to top |
|
 |
kharitonow n00b

Joined: 10 Dec 2015 Posts: 38
|
Posted: Sun Sep 24, 2017 5:55 pm Post subject: |
|
|
Did you try nohup command ?
|
|
Back to top |
|
 |
bunder Bodhisattva

Joined: 10 Apr 2004 Posts: 5924
|
Posted: Mon Sep 25, 2017 6:03 am Post subject: |
|
|
Something like nomachine nx or x2go might be worth looking at. |
|
Back to top |
|
 |
|