You are not logged in.

#1 2016-07-10 00:56:37

JasonHockeyPuck
Member
Registered: 2016-05-28
Posts: 33

[SOLVED] xrun Permission Denied

I'm trying to run some things in a separate virtual terminal so I've found this: https://wiki.archlinux.org/index.php/Ru … _X_display

But running xrun appname gives me a permission denied error, exactly like this guy had https://bbs.archlinux.org/viewtopic.php?id=187977

His solution didn't help me. I don't have xorg.wrap. (not sure if somethings odd there or things changed since)

Silly me ran a few games with sudo when I first saw "permission denied" and it worked. But I shouldn't be doing that.

Last edited by JasonHockeyPuck (2016-07-10 02:08:44)

Offline

#2 2016-07-10 01:53:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] xrun Permission Denied

That whole xrun thing looks like a rats nest of nonsense.  It's ancient, and in it's long history on the wiki it seems to be continually trimmed or otherwise 'demoted' to reduce it's prevalence.

The only relevant part is the first line ... and that is incomplete.  To run a second x session in another tty simply:

xinit appname -- :1 vt$XDG_VTNR

EDIT: Actually that doesn't even work.  Just put different sessions in your xinitrc and specify one on the command line instead of the "appname".


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#3 2016-07-10 02:08:25

JasonHockeyPuck
Member
Registered: 2016-05-28
Posts: 33

Re: [SOLVED] xrun Permission Denied

Thank you!

That worked. I only just needed to make ~/.xserverrc with

#!/bin/sh
exec /usr/bin/X -nolisten tcp vt${XDG_VTNR} "${@}"

and it works.

Offline

Board footer

Powered by FluxBB