Skip to main content

Questions tagged [session]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
63 views

How can I get the list of available desktop environments?

Suppose I'm on a Linux machine, in a shell session, and I want to obtain the list of options I would have if I logged in graphically and had to choose a desktop environment / session type. I expect a ...
einpoklum's user avatar
  • 9,643
0 votes
0 answers
35 views

SDDM freeze when switching users on Debian fresh install

I have an issue with sessions switching in Debian/KDE plasma (problem with SDDM I think?). I've been using Ubuntu for years but I don't know much about the details of how Linux works. I installed ...
dorsantos's user avatar
0 votes
1 answer
639 views

How to start a minimal Wayland session from command line?

A way to debug X is that I start an X server (X -ac :0), then an xterm (DISPLAY=:0 xterm) and a WM on it (DISPLAY=:0 icewm). It is unthinkably useful is there is a display problem. What can I do with ...
peterh's user avatar
  • 9,828
0 votes
1 answer
31 views

Browser (and other programs?) opens in the current X session the first time, then on the same session even if launched from another X session

Please, correct me if the wording of the title is wrong, as I do want to understand the correct terminology too. The think is, I can swtich using Ctrl+Alt+F N between different window managers each ...
Enlico's user avatar
  • 1,677
0 votes
1 answer
170 views

What does /proc/PID/sessionid mean on a Linux machine?

On an Ubuntu Linux 20.04, cat /proc/$$/sessionid shows 3, and on an openSUSE 15.5, it shows 2. The 3 or 2 definitely has different meaning that the session ID value (SID) from getsid(0), then what ...
Jimm Chen's user avatar
  • 115
1 vote
0 answers
59 views

Force app to start in systray at autostart (in i3wm)

On i3 I start qstardict at the session opening with the following line on the i3config : exec --no-startup-id qstardict So, Qstartdict open its window at each session starting witch is messy. ...
fauve's user avatar
  • 1,278
0 votes
0 answers
72 views

How to avoid restarting a long running and slow starting python program when executed from a shell script?

I use Whisper to transcribe sound files. On my hardware it takes several minutes, if not dozens of minutes just to start it (it needs to load and process several GBs of data every time it is launched)....
d-b's user avatar
  • 1
1 vote
0 answers
40 views

KDE Session management: how can I select "On last logout" option?

In Artix/Arch Linux KDE, I cannot see the option to log out saving the current session and login recovering it. Is it hidden somewhere or is it not available?
Pietro's user avatar
  • 573
0 votes
2 answers
88 views

Anyone know what these all these user sessions (see post) might be?

Any time I login to my laptop, including after freshly booting my laptop there are four user sessions already. Only the "who" command can see all four, the "w" command can only ...
natS's user avatar
  • 3
0 votes
1 answer
276 views

How to determine the graphical tty in loginctl

Loginctl lists a lot of sessions, and I want programmatically to know which one is a graphical session (e.g. GNOME desktop). In the example below, I have a GNome desktop session open, an ssh ...
Eric Stdlib's user avatar
0 votes
1 answer
229 views

How to invert colors on wayland (sway) ? xcalib -invert -alter equivalent

I have been using xcalib -invert -alter on X sessions to invert screen colors. What can I use on wayland to achieve same result ? Thank you for help
Jan Černý's user avatar
  • 1,441
0 votes
0 answers
265 views

pam_unix error when attempting to setup rdxp with AD integration

Issue: Installed Realm, SSSD and SSH works with all users, but trying to remote desktop using xrdp fails with the following errors Aug 30 00:00:00 PC-NAME xrdp-sesman[220997]: pam_unix(xrdp-sesman:...
themantimeforgot's user avatar
0 votes
1 answer
26 views

Recovery factory of a blind computer. No user interaction

We have a PC with Lubuntu, without monitor, keyboard and mouse. We can only restart it with a button. We need that when we insert a USB stick and reboot it will automatically start and restore the ...
Spirit's user avatar
  • 101
3 votes
1 answer
305 views

Surprise: Interactive Bash runs commands in a separate Process Group

I am surprised that at least from Bash 4.4.19, Interactive Bash runs commands in a separate session, see following process list after I run sleep 8888: PGID PID PPID 3150071 3150071 252603 ...
osexp2000's user avatar
  • 532
1 vote
0 answers
235 views

Start kodi from the terminal of another user

I'm trying to work around an issue I have with hidden fuse files locked by kodi.bin. Please note that I'm already trying to resolve the root cause for the actual issue through other threads but havn't ...
druid's user avatar
  • 11
3 votes
0 answers
99 views

How to understand the following quote from termios description

I'm using Mac, following quote is from man termios: When a controlling terminal becomes associated with a session, its foreground process group is set to the process group of the session leader. To ...
mzoz's user avatar
  • 155
1 vote
1 answer
642 views

KDE Wayland session crashing when waking from standby or the screenlocker - how to find out why?

I'm running Debian 11 with KDE and Wayland. This is a problem of Wayland instead of X11 with the version of KDE of Debian11. When I wake from standby I usually have that other login screen that also ...
mYnDstrEAm's user avatar
  • 4,388
1 vote
1 answer
1k views

gnome: how to lock session on suspend

I'd like to enter my password when I open the lid to access my laptop; I use GNOME 43 and currently when I close the lid, it goes into suspend state; then when I open the lid, the laptop resumes and ...
mattia.b89's user avatar
  • 3,288
1 vote
1 answer
455 views

How to limit the concurrent GUI login, but allow multiple SSH login?

On an Ubuntu desktop, contains several accounts, I want to limit the GUI login number. At anytime, there should be only one account can login by using local GUI. (The first account must logout before ...
Eli's user avatar
  • 11
1 vote
0 answers
21 views

Session disconnected loading a wep page

On Ubuntu 22.04LTS, with dwm as window manager and lightdm as session manager i get disconnected from my session when loading this web page https://github.com/philippnormann/xrandr-brightness-script ...
user551382's user avatar
1 vote
0 answers
193 views

How to configure OpenBSD for multiple X Window sessions of different users?

I want to configure an OpenBSD (7.2 amd64) system to support multiple users logged in and each having separate X Window sessions, but being able to easily switch whose session is on the terminal. ...
Kyle Markley's user avatar
0 votes
1 answer
153 views

How does Linux Manage the Termination of Sessions?

I understand that maxlogins can be configured to limit the number of concurrent sessions in /etc/security/limits.conf or /etc/security/limits.d/*.conf. Example: hard maxlogins 10 Let's say I want to ...
Tech109's user avatar
  • 13
2 votes
2 answers
4k views

Connection to github.com closed by remote host

Problem is exactly as reported in HPC ssh "connection closed by remote host" Connection to host closed by remote host. Exit status -1 But it is not the "ssh_exchange_identification:&...
xpt's user avatar
  • 1,644
1 vote
2 answers
282 views

Logout of tty but save session for next login

5.18.9-arch1-1 Dell XPS 15 9510 I am running arch linux on xmonad. I do not have a login manager. On boot, I simply login via the tty and run startx to start my x session. This behavior is exactly ...
marc.soda's user avatar
  • 203
3 votes
1 answer
845 views

Can you rescue a shell from an accidental "yes" command?

Scenario: I'm running a bunch of commands, some of which prompt for "yes/no" answers. I accidentally type yes as a command instead of as a response to a prompt. OOPS. Now my shell looks ...
Indigenuity's user avatar
2 votes
1 answer
480 views

How to log out all inactive terminal sessions in GNU/Linux?

Since I switched to Wayland on Debian11/KDE starting the computer from standby in around 90% of cases shows a black screen and one needs to use ctrl+alt+f{id} and run loginctl unlock-session {id2} to ...
mYnDstrEAm's user avatar
  • 4,388
3 votes
1 answer
690 views

xsession for own built KDE

What I'm trying to do : I'm trying to build my own full KDE from source and run it as my regular user, without changing the one from the system. The problem : I can't seem to run the software I built ...
Jean's user avatar
  • 185
2 votes
0 answers
2k views

Close tmux Session After Script Ends

The remote Python script is executed by a local script using ssh so this is not an interactive session. The tmux session is only useful while the script runs and want it to end after the script is ...
stocky's user avatar
  • 21
0 votes
0 answers
698 views

Why are sessions breaking when starting from standby on Debian with Wayland? It shows a black screen with "the screen locker is broken"

Since I switched to Wayland on Debian11/KDE starting the computer from standby often shows a black screen with the notice that one should use ctrl+alt+f2 and loginctl unlock-session {id} (this text ...
mYnDstrEAm's user avatar
  • 4,388
0 votes
0 answers
163 views

RHEL8 - cannot set the default session for root; config file resets after reboot

On my RHEL8.5 server I am trying to set the default session for root from gnome-classic to gnome. Following Redhat's documentation (this guide is for RHEL7 but I haven't found an equivalent for RHEL8),...
cyqsimon's user avatar
  • 795
2 votes
1 answer
2k views

How to kill chrome under Linux so that it'll resume next time

How to kill chrome under Linux so that it'll resume/restore the sessions when it is started next time? It's a trivial thing to do under Windows, but under Linux, no matter how I tried to kill chrome, ...
xpt's user avatar
  • 1,644
2 votes
0 answers
54 views

What is responsible for starting the session bus in gdm3?

I'm trying to get gdm3 working on Alpine Linux, but it fails on finding the session bus. Specifically, this assertion fails: https://gitlab.gnome.org/GNOME/mutter/-/blob/40.4/src/wayland/meta-wayland....
Newbyte's user avatar
  • 1,088
5 votes
1 answer
18k views

XFCE4 - Session and Startup: where are autostart items saved?

In XFCE4, there is a list of items to be started when an XFCE4-session is started (XFCE4 Settings xfce4-settings-manager → Tab "Application Autostart"): I'm wondering where this list is ...
polemon's user avatar
  • 11.6k
1 vote
0 answers
3k views

How to use curl to access a webpage behind a login form?

There is this webpage I'm trying to scrape but it is behind a login form that needs user/password. I used Firefox debug mode to find HTTP requests. Upon entering the credentials, there is a POST ...
Zeta.Investigator's user avatar
0 votes
1 answer
2k views

Failed to open a session for the virtual machine Kali-Linux-2021.1-vbox-amd64. Callee RC: RPC_E_SERVERFAULT (0x80010105)

I have installed Kali Linux on VirtualBox but I had not been open for the last 1 month. Now I am trying to start Kali on VB but it gives me an error. Error: After closing this dialog box, it is ...
Vatsal Dholakiya's user avatar
0 votes
1 answer
2k views

Cron job terminates session immediately

I have this entry in cronjob: $ cronjob -l * * * * * $(cd /home/fedor/Documents/mecab_natto && bash run_mecab.sh >> /home/fedor/Documents/mecab_natto/log.txt) when I run the script ...
user_pruser's user avatar
3 votes
1 answer
488 views

Restore open windows after restart/shutdown on Scientific Linux?

Is there a way in Scientific Linux to restore all open applications upon the last restart/shut down?
user997112's user avatar
  • 1,025
1 vote
0 answers
392 views

Linux xfce4 with login user command

I have a Linux Ubuntu 20.04 computer running Xubuntu. I am in the process of writing a c ++ program that consists of a completely new login screen. This login screen also works and I can check whether ...
Tamino Elgert's user avatar
4 votes
2 answers
730 views

How to launch a command at the startup of only the very first shell of an X session?

I am running Gnome on Pop-OS! 20.04. I am using terminator and zsh shell. I want to launch fortune only the first time I use zsh shell in a X session. I have tried those kind of things in .zshrc: ### ...
pietrodito's user avatar
8 votes
2 answers
1k views

Does the "reboot" command log me out of the shell or does it forcefully terminate it?

Under Linux, if I issue a reboot command from the shell, what is the sequence of events that lead to the shell (e.g. bash) disconnecting? I think it's one of the following, but not sure which: It log ...
Sam Sirry's user avatar
  • 181
3 votes
1 answer
281 views

What does it mean "new session has no controlling terminal"?

This reference says about creating a new session: The calling process is the leader of the new session, the process group leader of the new process group, and has no controlling terminal So I expected ...
ibse's user avatar
  • 341
0 votes
2 answers
6k views

How to delete default session (Xfce4) from Debian?

I want to delete default session (Xfce4) from Debian. I don't want to damage Debian.
sbh's user avatar
  • 73
0 votes
0 answers
113 views

Why does the history command show few commands and the .bash_history file is short even if HISTFILESIZE and HISTSIZE are ridiculously high?

I've read these two questions and the accepted answers on StackOverflow: Unlimited Bash History bash HISTSIZE vs. HISTFILESIZE? However, I still don't understand why in any bash session I can see ...
Enlico's user avatar
  • 1,677
0 votes
1 answer
708 views

Arch linux: restore session with running programs after running out of battery

I have Lenovo notebook with Arch linux. When I run out of battery and my notebook dies, after starting it. It freshly boots new session. Is there a way to restore previous session and continue in it ? ...
Jan Černý's user avatar
  • 1,441
2 votes
2 answers
2k views

dwm - session polkit

I am really struggling to get the session polkit to work. I am not really familiar with how it works, but I have been using gnome before switching to dwm and in gnome it worked perfectly, so I wanted ...
weisbrja's user avatar
  • 231
0 votes
1 answer
361 views

Using Remote Desktop on my private VM, I enter another existing session than the previous one, depending on... my screen resolution?

At work, we are developing programs, each developer having his own private VM under CentOS. I disconnect my session at the end of the day, then the next morning I start Remote Desktop under Windows ...
Marc Le Bihan's user avatar
2 votes
1 answer
5k views

Choose lightdm login screen location in multi monitor setup

I am running Fedora XFCE with an NVIDIA RTX 2080 Ti that is connected via 3 cables to 2 monitors. Display port is connected twice to the same monitor (for PBP) HDMI is connected to another monitor ...
Musterknabe's user avatar
3 votes
3 answers
2k views

If I run tmux and then `kill` the tmux process, I see two bash processes. How does this second bash relate to the first and how do I kill it?

As stated in the question, I'm trying to better understand sessions, processes, process groups, etc. A few questions that I came across while playing around with tmux. If I open tmux and run ps, I ...
NNNComplex's user avatar
0 votes
1 answer
436 views

Ubuntu 14.04 getting log in auth.log

I am getting error in /var/log/auth.log CRON: pam_unix(cron:session): session opened for user root by (uid=0) CRON: pam_unix(cron:session): session closed for user root Even I logged in with xyz user ...
xyz's user avatar
  • 1
3 votes
0 answers
262 views

Full featured session manager for (any) tiling window manager

looking for a full featured session manager that would store running programs with their running context and their window position. Short version In short, I am looking for a functionality that would ...
David Burian's user avatar

1
2 3 4 5 6