T
T
ThreeDHead2015-02-08 14:12:30
linux
ThreeDHead, 2015-02-08 14:12:30

How to run an application in a separate X shell?


Ubuntu 14.04, I start the OS, a greeting appears on vt07 , waits for the password to enter the system, I do nothing, I switch to another console - Alt + Ctrl + F1 null &"
I run the application on vt08: "DISPLAY=:1 && gnome-calculator"
I get the message: "Failed to open the display"
But if you log in to vt07, then from there the same command starts the gnome-calculator on vt08 as expected.
What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2015-02-08
@ThreeDHead

DISPLAY=:1 gnome-calculator

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question