Questions tagged [session]
263 questions
103
votes
3 answers
What are "session leaders" in `ps`?
What are session leaders, as in ps -d which selects all processes except session leaders?
its_me
- 13,709
- 23
- 54
- 52
72
votes
4 answers
Keeping a process running after PuTTY or terminal has been closed
I'm running a Node.js server off of a Raspbian (Debian) machine, and I'd like to start and stop the server remotely. This for me means using PuTTY to access the shell, except when I close out of the PuTTY terminal or it times out, my server goes…
Spencer
- 723
- 1
- 6
- 4
58
votes
7 answers
How to recover a shell after a disconnection
Am doing some work on a remote CentOS 5.6 machine and my network keeps dropping.
Is there a way that I can recover my hung sessions after I reconnect?
EDIT: am doing some updating and installing with yum and am worried this might be a problem if…
sergio
42
votes
5 answers
Can I launch a graphical program on another user's desktop as root?
Following are other questions which I think I need to know:
From a non X Session? (meaning root isn't logged into X)
If multiple people were logged in on X, could I auto-detect who was on which screen, and thus programmatically detect which screen…
xenoterracide
- 57,918
- 74
- 184
- 250
38
votes
4 answers
tmux session lost in unknown pts, cause and possible solution?
I was trying to re-attach to a long-running tmux session to check up on a python web-application. However tmux attach claims that there is no running session, and ps shows a tmux process (first line), but with a question mark instead of the pts…
mhermans
- 1,070
- 1
- 9
- 10
27
votes
2 answers
Prevent Logoff from Killing tmux Session
I have noticed that a logoff (log out) from my X user session will kill any tmux session I have initiated, even sessions I had run with sudo tmux and similar commands. I am sure that this formerly did not happen, but some recent change has effected…
palswim
- 4,919
- 6
- 37
- 53
22
votes
4 answers
How can I run a script that starts before my login screen?
I was calibrating my touch screen, and saw that the best tool around was xinput_calibrator. So I used it. It have two options (one of which did not work), so I am here for the second. It says I should execute this command "in a script that starts…
jadkik94
- 973
- 2
- 9
- 11
21
votes
2 answers
Concept of controlling terminal in Unix
Can some one please explain in an easy to understand way the concept of controlling terminal in unix and unix like systems ? Is it related to a session ? If yes, then how ?
Geek
- 6,548
- 15
- 46
- 70
20
votes
5 answers
Screen, or similar, for automatically resuming a flaky ssh connection
I often have to connect to a server over ssh in an unreliable wifi environment. On the server, I run screen, so if I get disconnected, I can reconnect and resume the screen session, and pick up where I left off, but the loss of connection is still…
Max Williams
- 1,067
- 2
- 16
- 32
20
votes
1 answer
Reuse D-Bus sessions across login sessions
I access a machine through multiple login sessions. The sessions' lifetimes may or may not overlap. In my case, these login sessions are currently always over SSH, but I would prefer to handle local sessions too.
I sometimes need D-Bus in these…
Gilles 'SO- stop being evil'
- 807,993
- 194
- 1,674
- 2,175
20
votes
1 answer
How to save a session in Yakuake
I use the Yakuake drop-down terminal and would love if it could save my session of tabs somehow. When I have 6-7 tabs open, all named and everything, it is a giant pita having to re-create that on every reboot.
Any ideas?
mart1n
- 553
- 1
- 6
- 13
19
votes
2 answers
Clear Xfce4 session
How to reset Xfce session?
When I start Xfce4, it always opens 2 windows of Evince, Emacs and one terminal emulator. I remember I used this configuration once a week ago, but now it starts every time after logging in. How can I make Xfce4 start…
Mirzhan Irkegulov
- 8,248
- 11
- 45
- 54
19
votes
3 answers
Documentation: Architecture of Linux Session
I'm looking for a good overview documentation describing the the stack of
daemons and services involved in a modern Linux session. Although having read
various documentation about dbus, and systemd,
I still don't get the big picture.
In particular,…
stefan
- 1,081
- 1
- 7
- 16
15
votes
1 answer
How to make startx use alternate xinitrc?
I don't have a desktop manager installed (and I don't want to). After logging in through the terminal I use startx to start the GUI. I have entries in ~/.xinitrc for my GUI sessions. Right now I have xmonad in there, but sometimes I want to run a…
phunehehe
- 20,030
- 27
- 99
- 151
14
votes
5 answers
.ssh/config to start remote session in zsh
I would like to start a remote session without typing the following command
ssh user@remoteserverip -t zsh
I know that I can change the host names in the ~/.ssh/config to simply use something like this:
ssh serveralias -t zsh
But I want to remove…
brngp
- 143
- 1
- 1
- 4