Witko

Results 47 comments of Witko

Hi @legionus , first of all thanks for reply. im trying to run X in a new tty from X. So when in Plasma i want to run this command...

```proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)```

Is it something that can be fixed/changed?

Cant you use sth like whoami?

What about this? ``` #!/bin/bash TTY=$(tty | grep -oP "/dev/\Kpts/.*") who | grep "${TTY}" | awk '{print $1}' ```

It is only an idea which worked for me and potentially could be a different approach how to resolve the owner of tty and solve the problems with openvt. So...

``` [user@host ~]$ fgconsole 1 ``` ``` [user@host ~]$ who user tty1 2018-03-23 09:46 (:0) user pts/0 2018-03-23 09:46 (:0) user pts/1 2018-03-23 09:47 (:0) user pts/2 2018-03-23 09:57 (:0)...

when running ps i can see: ``` 2284 tty1 Ssl+ 0:42 /usr/lib/xorg-server/Xorg -nolisten tcp -auth /var/run/sddm/{...} -background none -noreset -displayfd 17 -seat seat0 vt1 ```

@legionus im using xinit