Re: How to start dead plasmashell on a set tty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



在 2021年5月25日星期二 CST 下午3:15:15,Robin Laing 写道:
> Hello,
> 
> Fedora 33 still and have an issue.
> 
> My plasmashell crashed.  It isn't running and I have my open apps and a 
> black background.  Right click does nothing and there is no menu bar.
> 
> Is there a way to restart the plasmashell from a tty and attach it to 
> the running tty or is there a clean way to close off the account from a 
> different terminal?
> 
> I cannot just shut the computer down as there are some very long 
> processes running in a different account.
> 
> Just before the crash, plasmashell was running at 100% on a core.
> 
> 
> 
> Robin

How to kill  a graphical session and re-login:

1. switch to another tty, and login the same account

2. execute `loginctl list-sessions`, and you'll get something like this:

```
SESSION  UID USER   SEAT  TTY 
      4 1000 fedora seat0 tty3
      6 1000 fedora seat0 

2 sessions listed.
```
session 4 is the current tty and session 6 is the graphical session

3. kill graphical session

`loginctl terminal-session 6`

You'll back to SDDM's login screen. Wait for a minute and login. 

-- 
Liu Sen

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
kde mailing list -- kde@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kde-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kde@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux