Project

General

Profile

Actions

Feature #751

closed

Add function to find X.org VT

Added by Hammel about 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Start date:
10 Mar 2020
Due date:
% Done:

100%

Estimated time:
Severity:
01 - Critical

Description

This can be done with this command:

ps -l | grep "X :0" | grep -v grep | tr -s " "| cut -f7 -d" "

This doesn't appear to fail under ash (Busybox shell) if the first grep doesn't find anything. We can use this to find the correct "vtsrc" for any app.

Actions

Also available in: Atom PDF