You are not logged in.
First, i am sorry if this has been covered somewhere,
I have tried searching for the topic, on here and with google already.
It might be because i am not sure on how to phrase the query, like "the output of gui programs on tty1 nowadays with systemd" or shorter attempts with different words.
So i hope to be able to borrow the space a thread takes to throw this question out here to my fellow archers.
Explanation:
It used to be a habit of mine to, whenever a graphical application (inside/run in a xorg-session) failed,
switch to TTY1 (by ways of CTRL-ALT-F1) and quickly get some output from my most recent attempts.
(Example:
Say i run something like firefox, xbmc, or a bash-script - not started through a terminal but by a launcher or openbox-menu-item,
it does not start, or something errors out. "Back in the day" i would switch to the tty x was started in (tty1) and see the output
of what i ran, and then look at my script or run command and fix my blunders.)
My question is probably a simple one, but where do i access this nowadays when we have systemd, and the tty1 is "occupied".
I am sure it ends up somewhere else aswell, generally?
(updated with an example)
Last edited by PReP (2014-01-09 14:18:12)
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
Have you tried logging e.g.
alias startx='startx &> ~/.xlog'
Offline
Thanks karol, that is just the sort of advice i was looking for.
Though i now realise that is similar to how i start X at the moment, just without the output-redirection
I am sorry for not finding that information on my own though. thanks again.
. Main: Intel Core i5 6600k @ 4.4 Ghz, 16 GB DDR4 XMP, Gefore GTX 970 (Gainward Phantom) - Arch Linux 64-Bit
. Server: Intel Core i5 2500k @ 3.9 Ghz, 8 GB DDR2-XMP RAM @ 1600 Mhz, Geforce GTX 570 (Gainward Phantom) - Arch Linux 64-Bit
. Body: Estrogen @ 90%, Testestorone @ 10% (Not scientific just out-of-my-guesstimate-brain)
Offline
What I do is to start tmux from the tty, then once inside tmux, start the X session. Once in the X session, open another tmux instance, but attach to the existing session. That lets you see the output in real time while in the X session.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
A simple startx is not secure. Anyone could press Ctrl-Alt-F1, Ctrl-C, then be logged in as you
I use (from thread):
alias x='setsid /usr/bin/startx -- -nolisten tcp &> ~/.xorg.log & logout'
Offline