The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
4answers
60 views

Open program as root, close root session but still program is running

When I run my backup script, first I switch to root, mount a truecrypt partition and then run the script. I've noticed that after run truecrypt as root, I can exit the root session and truecrypt ...
2
votes
1answer
24 views

Running PulseAudio and MPD as Systemd user modules

I'm trying to set up systemd with user modules, because some daemons like PulseAudio prefer user accounts. I've been following the Arch Linux guide here on doing so. The problem I have run into with ...
2
votes
2answers
49 views

Share background jobs between shells

I use Screen with a lot (more than 10) of local Bash sessions inside. I send some processes (like vi file) to the background and switch between sessions very often and sometimes it's very annoying to ...
4
votes
1answer
51 views

Kill user processess on logout

I have a Ubuntu server that handles remote X sessions from users. However, I don't want to allow users to run any kind of background processes - so here is my question: How do I prevent users from ...
2
votes
0answers
37 views

How to set up remote graphical sessions on CentOs?

Trying to set up a Centos 6 server configuration where we can automate the running of an application that uses Selenium. In this case, ideally, we should be able to: Create a graphical session ...
4
votes
0answers
100 views

Know when the desktop is running, in bash

I have a deamon, implemented in bash and running by means of cron and the @reboot option, that shows the desktop in inactivity. The script is as following (timings are short for testing purposes): ...
3
votes
1answer
121 views

How to prevent killing the X server with CTRL+C using bash traps?

On my Debian Wheezy system, I used to start my X session with the startx command. My .xinitrc file is: exec /usr/bin/awesome --config /home/cscs/.config/awesome/rc.lua >> ...
1
vote
0answers
37 views

Create a browser only session (Ubuntu) [duplicate]

I was recently in a Virgin media shop and was interested to see that they had laptops running Ubuntu for customers to browse the web on. The setup itself was interesting and I'm wondering if anyone ...
0
votes
0answers
53 views

Linux MInt 13: Autosave session

I am using Linux Mint 13, Cinnamon. I tried the solution offered at http://www.linuxandlife.com/2012/06/how-to-enable-session-saving-in-linux.html but it is not working. I was able to change the ...
2
votes
2answers
109 views

xterm warning: Tried to connect to session manager

I am writing a quick script to read user input and put into commands of a couple different programs. I'm using xterm -e to open a terminal for each separate program. The script is working fine, but ...
0
votes
0answers
52 views

How to capture the display screen before accessing the desktop?

To be able to use tools like gnome-screenshot or xfce4-screenshot one has to be logged in and with access to the desktop. But what about capturing previous screens? That would have to be done in the ...
1
vote
1answer
90 views

What is the proper use of the term 'session'?

[I hesitated whether to post this in meta or here. But although this involves terminology, it is of general use, not only on this website.] It looks like at least in Xfce 4.10 (with the session ...
2
votes
1answer
86 views

Modifying $HOME variable on a session startup script: Gnome ignores it?

I'm modifying the $HOME variable on a /etc/profile.d script. This seems to be OK for console sessions. There are some caveats on graphical sessions, though: Gnome won't load my desktop ...
1
vote
1answer
62 views

how to setarch for each bash session

I am using bash as my default shell. I don't have root access. But I would like to customize my bash by setarch. So the question is how to do this automatically? Currently, I have to manually run ...
1
vote
2answers
75 views

Upon login, session crashes and returns me to greeter

I'm running Elementary Luna Beta 1 and I'm running into some pretty difficult problems. Whenever I try logging in with the greeter (either pantheon-greeter or even lightdm-gtk-greeter), it immediately ...
4
votes
1answer
305 views

How is ssh-agent being autostarted?

I am currently running Crunchbang Linux with Openbox, and as soon as I log in I have an ssh-agent process running and I can't for the life of me figure why it is being autostarted. Here is the ...
6
votes
2answers
245 views

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 ?
3
votes
0answers
32 views

gnu screen: automatic session on split

Inactive region appears after 'split' command in gnu screen now. You must go to the new region and type :screen. Only after that shell session appears in this region. Is it possible to make new ...
2
votes
1answer
3k views

Lightdm user session settings on Ubuntu

Lightdm is displayed properly but after entering a password and clicking login, I see the screen blink and lightdm window re-appears and asks to log in as if nothing happened. Configs user@laptop:~$ ...
0
votes
2answers
1k views

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 ...
3
votes
1answer
105 views

Identifying local and remote sessions

I would like to write a startup script that would perform it's task if it was run on the local machine, but not if it was called from a remote xrdp session. If Local { do something } If remote { do ...
0
votes
1answer
310 views

Debian 6 xsession hangs after login

Debian 6 amd64, Gnome desktop. The logon screen appears regularly. After logon, the desktop background and mousecursor appears. Nothing else happens even after a lengthy wait (hours). Same happens ...
11
votes
0answers
593 views

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 ...
2
votes
3answers
820 views

Automatically open a remote desktop connection upon login

I have installed Linux Mint to one of my desktop PCs. I have downloaded and installed Freerdp-x11 for me to connect into my Windows Terminal Server. I want the terminal command line to connect ...
5
votes
4answers
2k views

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 ...
2
votes
1answer
338 views

What are the commands to logout and shutdown with a session manager?

I decided to write my own DE using these instructions here it worked and I can login however I didn't use a panel so I don't have a logout button or a session manager. I've decided to write my own ...
7
votes
2answers
899 views

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), ...
5
votes
1answer
133 views

Is it possible to find times of past user sessions?

Using the who command, I can find which users are currently logged into a machine. I would like to determine which users have logged into my machine in the past, and the length of those sessions. Is ...
1
vote
1answer
685 views

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 ...
1
vote
1answer
98 views

How to keep LiveCD settings?

As I am now only able to run my machine from liveCD (Fedora XFCE 16 or Xubuntu 11.10), I would like to know if there is a way to keep the current session's settings (keyboard, wifi etc.) for a later ...
3
votes
0answers
60 views

Use command line to download file which is accessible only in a given session [duplicate]

Possible Duplicate: Does anybody here have experience in automating some tasks in web applications using curl? Sorry for the lengthy title. I am trying use command line to download a ...
2
votes
1answer
67 views

skill on your own session

So I kind of (read: did) run skill -STOP -u <username> on my own session... and I don't have root privileges on the machine. Short of getting the sysadmin to restore things (he's away), is ...
4
votes
1answer
2k views

My .xsession and .xinitrc files are not executing

I have installed xmobar, xmonad on ubuntu 11.04. #!/bin/bash trayer --edge top --align right --SetDockType true --SetPartialStrut true \ --expand true --width 10 --transparent true --tint ...
8
votes
1answer
417 views

Save sessions to file in xmonad

Is it possible to save an xmonad session to a file and reload it on the fly? I don't want to save only the last session but to be able to save different sessions to different files and reload it if I ...
2
votes
2answers
155 views

Open running KVM in separate session

I have a KVM session running on my host. If I login as someone else on my host machine, is it possible to access that running KVM session (not through the network)? I am not using the virtual ...
6
votes
3answers
1k views

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 i can recover my hung sessions after i reconnect? EDIT: am doing some updating and installing with yum ...
4
votes
1answer
543 views

Remember applications on logout from LXDE

When I start my computer I want that remember my applications opened before close the last session such as Ubuntu, and other distros do normally. Googling, I see that I can run apps when I start ...
18
votes
3answers
4k views

What are “session leaders” in `ps`?

What are session leaders, as in ps -d which selects all processes except session leaders?
5
votes
3answers
529 views

How to set an xmodmap file for the session manager (or at least SLiM) because of a broken physical key

I've got my laptop set up to boot directly into SLiM as the X session manager. However, the "M" key on my laptop is broken. I've gotten around this when logged in by using xmodmap to remap my ...
4
votes
2answers
545 views

run xmodmap commands after login

I created a file ~/.Xmodmap with my mapping commands. I thought that it will be automatically launched after login (and restart) but it's not. So I have to always run after login the command $ ...
3
votes
3answers
2k views

How to find the machine from which a user logged into current machine using ssh?

In a multi server architecture, is it possible to find out from which machine a user logged into current machine using ssh? For example, user1 logged into host1. From there, the user logged into ...
4
votes
1answer
74 views

Remove alias from current session

How to remove a alias from current session without closing that session?
3
votes
1answer
158 views

Multiple X startup profiles

I run XMonad window manager and use .XSession to startup things like Dropbox and launch other apps I need, at login manager i select User Defined Session. I like to know is there a login manager where ...
4
votes
1answer
1k views

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 ...
10
votes
3answers
3k views

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 ...