<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5188&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5188</link>
		<description><![CDATA[The most recent posts in [SOLVED] How to Navigate Back to a Previous XFCE Session?.]]></description>
		<lastBuildDate>Mon, 29 Aug 2022 09:43:05 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37223#p37223</link>
			<description><![CDATA[<p>You can get scrollback in fbterm but it needs a dirty hack to work with a non-root user:</p><p><a href="https://forums.debian.net/viewtopic.php?p=756463#p756463" rel="nofollow">https://forums.debian.net/viewtopic.php … 63#p756463</a></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 29 Aug 2022 09:43:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37223#p37223</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37220#p37220</link>
			<description><![CDATA[<div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>Both screen and tmux are available from the repositories <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p></div></blockquote></div><p>And <em>unavailable</em> early in the boot process, the initrd, or by default on many minimal installs.<br />Shift+pgup is both ingrained muscle-memory and a lot less annoying (IMO) than the likes of vi-style keybinds, and screen is gratuitous bloat when all you want is a fully functional VT.</p><p>Console scrollback has been around forever, and it&#039;s one of the very first things that made me go &quot;wow, this is <em>way</em> better&quot; when transitioning from DOS.<br />Frankly this &quot;everyone just uses the GUI (or laptop/phablet/whatever trendy disposable junk is FotM) these days&quot; rubbish is getting extremely annoying. I for one use real VTs on a real PC every day, and have since the late &#039;90s.</p><p>Now I&#039; guess I&#039;m just waiting for GNU/Linux to remove VTs altogether, make touchscreens mandatory, and replace all kernel output with inane spinning widgets and emojis. <br />I&#039;m sure all the windows refugees will just love it, since there&#039;d be no need to learn to read and no keyboard to clean the drool out of.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Mon, 29 Aug 2022 04:56:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37220#p37220</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37214#p37214</link>
			<description><![CDATA[<div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p>Patches exist to restore this functionality, but Debian/Devuan does not include them.</p></div></blockquote></div><p>Both screen and tmux are available from the repositories <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 28 Aug 2022 15:01:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37214#p37214</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37213#p37213</link>
			<description><![CDATA[<div class="quotebox"><cite>alexkemp wrote:</cite><blockquote><div><p>a VT does NOT have a mouse</p></div></blockquote></div><div class="codebox"><pre><code>apt install gpm</code></pre></div><div class="quotebox"><cite>alexkemp wrote:</cite><blockquote><div><p>nor history support</p></div></blockquote></div><p>Used to have scrollback, removed recently (Grrr) because &quot;nobody was using it&quot; (which is bollocks).<br />Patches exist to restore this functionality, but Debian/Devuan does not include them.</p><div class="quotebox"><cite>alexkemp wrote:</cite><blockquote><div><div class="codebox"><pre><code>$ tty/dev/pts/0</code></pre></div></div></blockquote></div><p>Psuedo-terminal virtual filesystem, used by GUI terminal emulators. Predates systemd by about a decade.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sun, 28 Aug 2022 14:00:32 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37213#p37213</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37212#p37212</link>
			<description><![CDATA[<p>Hi <em>HoaS</em>.</p><div class="quotebox"><cite>Head_on_a_Stick wrote:</cite><blockquote><div><p>^ That output is normal for any graphical terminal emulator regardless of the init system.</p></div></blockquote></div><p><a href="https://ostechnix.com/how-to-switch-between-ttys-without-using-function-keys-in-linux/" rel="nofollow">This OSTechNix page</a> reports the following for an Ubuntu 18.04 LTS server:<br /><span class="postimg"><img src="https://ostechnix.com/wp-content/uploads/2018/08/tty-command-output.png" alt="tty command output under SystemD" /></span>(in text: (user command) <span class="bbc">tty</span> =&gt; <span class="bbc">/dev/tty1</span>)</p><p>When I read that, I saw the words <em>“Ubuntu 18.04 LTS”</em> &amp; overlooked the word <span class="bbc">server</span>.</p><p>Sure ’nuff; in <span class="bbc">xfce4-terminal</span>:</p><div class="codebox"><pre><code>alexk@ng3:~$ tty
/dev/pts/0</code></pre></div><p>In <span class="bbc">vt01</span>:</p><div class="codebox"><pre><code>alexk@ng3:~$ tty
/dev/tty1</code></pre></div><p>Thanks for the correction.</p><p><em>Added later:</em><br />I now realise that other commands within the OSTechNix page also rely on being within a VT session. As one example, the page reports that:</p><div class="quotebox"><cite>OSTechNix wrote:</cite><blockquote><div><p>By default, there are 7 ttys in Linux. … The 1 to 6 ttys are command line only. The 7th tty is GUI (your X desktop session).<br />…<br />To view the total number of active virtual consoles, run: <span class="bbc">fgconsole</span><br />You can see the next unallocated virtual terminal using command: <span class="bbc">fgconsole --next-available</span></p></div></blockquote></div><p>In <span class="bbc">xfce4-terminal</span>:</p><div class="codebox"><pre><code>$ fgconsole
Couldn&#039;t get a file descriptor referring to the console.</code></pre></div><p>In <span class="bbc">vt01</span>:</p><div class="codebox"><pre><code>$ fgconsole
1
$ fgconsole --next-available
8</code></pre></div><p>That confirms the simple statements within the OSTechNix page quoted at the top of this section. However, also necessary to realise that those simple statements are there to help give simple inroads to begin understanding some of the basics of this topic, whilst the topic itself is way more complex than that (as is indicated by the 64+ VTs created at <span class="bbc">init</span> startup).</p><p>Further, lets offer a silent prayer of thanks up for the fact that Devuan has a simple sanity at it&#039;s heart, and that we are not forced to use an OS that has an eternal struggle for domination at it&#039;s heart. I spent 12 hours yesterday researching to try to discover which binaries handle the C‑A‑Fn + A‑Fn key combos. I&#039;m a professional researcher with multiple decades experience, but could not find a definitive answer (it should not be a difficult question). What I *did* find was the way that multiple distros are beginning to make simple certainties no longer certain. An example:– The simple route back to a GUI from a VT is <span class="bbc">Alt‑F7</span>, and that has been true within a default setup for decades. During my research I found many distros that have recently changed the default VT setup, with radical differences in the methods of return. And I&#039;m sorry; I went through scores of websites and, because I was not looking for that precise issue, I did not record which they were.</p>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Sun, 28 Aug 2022 12:19:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37212#p37212</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37208#p37208</link>
			<description><![CDATA[<div class="quotebox"><cite>alexkemp wrote:</cite><blockquote><div><p>make a note that the TTY command gives a different result in Devuan to SystemD distros:</p><div class="codebox"><pre><code>$ tty
/dev/pts/0</code></pre></div></div></blockquote></div><p>Nope:</p><div class="codebox"><pre><code>archie:~$ cat /proc/1/comm
systemd
archie:~$ tty
/dev/pts/0
archie:~$</code></pre></div><p>^ That output is normal for any graphical terminal emulator regardless of the init system.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Sun, 28 Aug 2022 09:04:55 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37208#p37208</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37204#p37204</link>
			<description><![CDATA[<p>Well, I favour the belief that it is the Linux kernel itself that handles both C-A-Fn and A-Fn unless something like Xorg intervenes and &quot;steal&quot; the A-Fn key combinations. For example, you can easily switch also to VTs without input handlers. Or try:</p><div class="codebox"><pre><code># sudo openvt -f -c 24 echo &quot;HELLO THERE VT24&quot;
# sudo chvt 24</code></pre></div><p>Doing that leaves you hanging in VT24 without any keyboard listener, but you would use A-F7 or C-A-F7 to &quot;return&quot; to X.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sun, 28 Aug 2022 06:57:49 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37204#p37204</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37203#p37203</link>
			<description><![CDATA[<p>Like a <a href="https://en.wikipedia.org/wiki/Bulldog" rel="nofollow">Bulldog</a> (and also a rat), once I get my teeth into something I cannot stop biting until my teeth meet (ratchet mechanism on their jaws).</p><div class="quotebox"><cite>alexkemp wrote:</cite><blockquote><div><p>(upfront: nothing directly to do with Devuan)</p></div></blockquote></div><p>Surprisingly, this topic has *everything* to do with SystemD (if only in reverse), since the virus has taken over from the kernel the process of producing Virtual Terminals (VTs), just like so much else.</p><p>In Devuan, the kernel produces a whole bunch of VTs on startup. The precise number will be a kernel setup item. For myself it seems to be 64 (see Ralph&#039;s answer), although there are also a few extra:</p><div class="codebox"><pre><code>$ ls /dev/tty[0-9]* | wc -l
64
$ la /dev/tty*
crw-rw-rw- 1 root  tty     5,  0 Aug 25 08:40 /dev/tty
crw--w---- 1 root  tty     4,  0 Aug 25 08:40 /dev/tty0
crw------- 1 alexk tty     4,  1 Aug 26 18:23 /dev/tty1
crw--w---- 1 root  tty     4, 10 Aug 25 08:40 /dev/tty10
…
crw--w---- 1 root  tty     4,  9 Aug 25 08:40 /dev/tty9
crw-rw---- 1 root  dialout 4, 64 Aug 25 08:40 /dev/ttyS0
crw-rw---- 1 root  dialout 4, 65 Aug 25 08:40 /dev/ttyS1
crw-rw---- 1 root  dialout 4, 66 Aug 25 08:40 /dev/ttyS2
crw-rw---- 1 root  dialout 4, 67 Aug 25 08:40 /dev/ttyS3</code></pre></div><p>We now need to consider <em>delgado</em>&#039;s answer, and it has taken me quite some time to get the point.</p><p>When the computer is first started, the screen that appears is a VT initiated (as best as I can tell) by <a href="https://www.man7.org/linux/man-pages/man8/agetty.8.html" rel="nofollow">agetty</a> via init:</p><div class="quotebox"><cite>man agetty wrote:</cite><blockquote><div><p>DESCRIPTION<br />&#160; &#160; &#160; &#160;agetty opens a tty port, prompts for a login name and invokes the /bin/login command.&#160; It is normally invoked by init(8).</p></div></blockquote></div><p>My system uses XFCE as a Desktop Manager and SLiM as a Login Manager. Therefore it is <span class="bbc">startxfce4</span> for me rather than <span class="bbc">startx</span>, but the point is that an X-Session is launched which provides the GUI components in both cases, and that is comprehensively different to <em>agetty</em>, which is text-only.</p><p>With hindsight it is blooming obvious, but the VT produced by <em>agetty</em> has absolutely nothing to do with the terminal produced by <a href="https://www.unixsheikh.com/articles/the-terminal-the-console-and-the-shell-what-are-they.html" rel="nofollow">xterm</a> (or in my case, <a href="https://en.wikipedia.org/wiki/Xfce#Xfce_Terminal" rel="nofollow">xfce-terminal</a>) which is a GUI emulation of a text-terminal. For those that are interested in historical research, this is what it took to drive a text-terminal (aka typewriter) in the 1960s:</p><p><span class="postimg"><img src="https://www.unixsheikh.com/includes/images/univac-9400.webp" alt="1960s terminals" /></span></p><p>The main difference is that a VT does NOT have a mouse, nor history support. It is possible, though damn difficult, to install them. It is, however, important to know which of the two (VT or GUI-Terminal) you are in, because the commands to <a href="https://www.computernetworkingnotes.com/linux-tutorials/linux-virtual-console-and-terminal-explained.html" rel="nofollow">switch between VT &amp; GUI</a> are different depending on whether you are based within a GUI or VT screen:</p><ul><li><p>VT → VT : Ctrl + Alt + F7 or, Alt + F7&#160; (switch to VT07, etc) (Ctrl key is optional)</p></li><li><p>VT → GUI : Ctrl + Alt + F7 or, Alt + F7&#160; (switch to VT07, etc) (Ctrl key is optional)</p></li><li><p>GUI → VT : Ctrl + Alt + F7 (switch to VT07, etc) (all 3 keys required)</p></li></ul><p>By default, most systems keep 6 text VTs available (at 1-6) and one GUI at &#039;7&#039;, so the return in a default system is <span class="bbc">Ctrl-F7</span>. However, this can be changed (just open another X-Session) and, worse, some distributions change the setup. Yikes! <a href="https://ostechnix.com/how-to-switch-between-ttys-without-using-function-keys-in-linux/" rel="nofollow">This page has good info on the command to change VTs, etc. (CHVT)</a>, and make a note that the TTY command gives a different result in Devuan to SystemD distros:</p><div class="codebox"><pre><code>$ tty
/dev/pts/0</code></pre></div><p>so make a note of the <span class="bbc">pgrep -a Xorg</span> command that <em>ralph</em> gave.</p><p>It seems clear, then, that it is <span class="bbc">Xorg</span> that handles 3-finger salutes to change from the GUI to a VT, but (perhaps) <span class="bbc">agetty</span> that handles 2-finger salutes to switch out of the VT to another VT/GUI.</p>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Sun, 28 Aug 2022 01:14:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37203#p37203</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37194#p37194</link>
			<description><![CDATA[<p>Thank you <em>delgado</em>. That was the kind of info that I was searching for.</p><div class="quotebox"><cite>alexkemp wrote:</cite><blockquote><div><p>Whether <span class="bbc">Alt-F7</span> would have got me back *after* login I do not yet know.</p></div></blockquote></div><p>I do now, and the answer is &quot;yes&quot;.</p><p>These are the steps I just took:</p><ol class="decimal"><li><p>Close down all programs.</p></li><li><p>Open <span class="bbc">JOSM</span></p></li><li><p>Issue (wrong for JOSM) kbd command <span class="bbc">Ctrl-Alt-F1</span><br />(screen switches to text-screen vt01, with a login prompt on screen)</p></li><li><p>Login with my user/password</p></li><li><p>Issue <span class="bbc">w</span> &amp; <span class="bbc">pgrep</span> commands (see below)</p></li><li><p>Issue <span class="bbc">Alt-F7</span> command<br />(screen instantly switches back to JOSM screen)</p></li></ol><p>For reference, here are the results of <span class="bbc">w</span> &amp; <span class="bbc">pgrep</span> from inside TTY1:</p><div class="codebox"><pre><code>$ w
 18:23:03 up 1 day,  9:43,  2 users,  load average: 0.22, 0.70, 0.87
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
alexk    tty1     -                18:19    5.00s  0.15s  0.01s w
alexk    :0.0     :0.0             Thu08   ?xdm?   9:43m  1.10s xfce4-session
$ pgrep -a Xorg
1899 /usr/lib/xorg/Xorg -nolisten tcp -auth /var/run/slim.auth vt07</code></pre></div><p>Unless someone knows what supplies <span class="bbc">Alt-F7</span> I guess that we are done with this question now. Thank you to everyone that responded - most helpful.</p>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Fri, 26 Aug 2022 17:51:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37194#p37194</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37193#p37193</link>
			<description><![CDATA[<p>@alexkemp<br />The vt&#039;s have nothing to do with X, they are steady. The underlying process is a getty. <br />e.g. you can switch from X to vt3 with <span class="bbc">Alt-Ctrl-F3</span>, but from a vt to vt3 with <span class="bbc">Alt-F3</span> (with or without Ctrl).<br />Another point of view is to see a vt as <em>text console</em> and a X as <em>graphical console</em>.</p><div class="codebox"><pre><code>$ ps ax | grep getty
 1781 tty1     Ss+    0:00 /sbin/getty --noclear 38400 tty1
 1782 tty2     Ss+    0:00 /sbin/getty 38400 tty2
(...)
 1786 tty6     Ss+    0:00 /sbin/getty 38400 tty6</code></pre></div><div class="quotebox"><blockquote><div><p>&quot;I also still do not know which program is supplying the <span class="bbc">Alt-F7</span> command.&quot;</p></div></blockquote></div><p>Good question - never crossed my mind - vt&#039;s were present as far as I can think.</p>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Fri, 26 Aug 2022 17:23:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37193#p37193</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37190#p37190</link>
			<description><![CDATA[<p>0:0 is the display you&#039;re running on. If you run more than one xserver at a time, they will get unique display numbers.<br />I don&#039;t know what programs supply any of this, but I learned this early in my linux adventures.</p><p>Create a second user.<br />Drop to console with ctrl-alt-F1 (or I guess crtl-shift-F1 on your keyboard)<br />Log in as the second user.<br />Run <span class="bbc">startx -- :1</span><br />You will now be in an xsession as the second user on vt08 and display :1.<br />ctrl-alt-F7 to go to the first xsession<br />ctrl-alt-F8 to get back to the second xsession<br />When you&#039;re done playing, close that second xsession, log out second user and go back to vt07.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Fri, 26 Aug 2022 10:57:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37190#p37190</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37189#p37189</link>
			<description><![CDATA[<p>Many thanks, <em>Ralph</em>.</p><p><span class="bbc">Ctl-Alt-F1</span> got me to a text-screen under <span class="bbc">vt07</span>; all that was on the screen was a prompt to login. All it (appeared to) accept as input was a username, then password, although on later testing <span class="bbc">Alt-F7</span> did actually return me to the xfce4-session under <span class="bbc">vt07</span>.</p><p>Trying <span class="bbc">w</span> + <span class="bbc">pgrep</span> just now from an ordinary terminal:</p><div class="codebox"><pre><code>$ w
 10:14:06 up 1 day,  1:34,  1 user,  load average: 0.63, 0.64, 0.81
USER     TTY      FROM             LOGIN@   IDLE   JCPU   PCPU WHAT
alexk    :0.0     :0.0             Thu08   ?xdm?   7:53m  1.02s xfce4-session
$ pgrep -a Xorg
1899 /usr/lib/xorg/Xorg -nolisten tcp -auth /var/run/slim.auth vt07</code></pre></div><p>That result for <span class="bbc">w</span> is exactly what I got during my dilemma after the text login for the abandoned session. It neatly explains why I could not understand which TTY the XFCE Session was running under.</p><p>Whether <span class="bbc">Alt-F7</span> would have got me back *after* login I do not yet know. I also do not understand why <span class="bbc">exit</span> following login did not shut down <span class="bbc">vt01</span> &amp; drop me back into the still-running <span class="bbc">vt07</span> session. I see from <span class="bbc">man Xorg</span> that Xorg supplies the <span class="bbc">Ctl-Alt-Fn</span> commands, but I also still do not know which program is supplying the <span class="bbc">Alt-Fn</span> command. So many questions.</p><p><em>Edit</em>: fixed key combos</p>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Fri, 26 Aug 2022 09:41:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37189#p37189</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37185#p37185</link>
			<description><![CDATA[<p>You can usually determine which virtual terminal Xorg is using by:</p><div class="codebox"><pre><code>$  pgrep -a Xorg</code></pre></div><p> and if that says, say, <span class="bbc">vt07</span> you may shift to that with <span class="bbc">ctrl-alt-f7</span>.<br />Or, if you have a command line, the root command </p><div class="codebox"><pre><code># chvt 7</code></pre></div><p> will do the same.</p><p>Further, there is normally a <span class="bbc">/dev/ttyN</span> set up for every virtual terminal N. Thus, you may use</p><div class="codebox"><pre><code>$ ls /dev/tty[0-9]* | wc -l</code></pre></div><p> to see how many virtual terminals are available.<br />I think that is a compilation setting for the kernel.</p><p>See e.g. <span class="bbc">man openvt</span> and friends, and <span class="bbc">man Xorg</span> (look for &quot;terminal&quot;).</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Thu, 25 Aug 2022 21:56:09 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37185#p37185</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37184#p37184</link>
			<description><![CDATA[<div class="quotebox"><cite>Gregors wrote:</cite><blockquote><div><p>Try <span class="bbc">Alt-F7</span></p></div></blockquote></div><p>Reproduced the problem, and <em>Alt-F7</em> worked to get me back to the logged-in GUI session at the identical place. Thank you <em>Gregors</em>.</p><p>The following page documents XFCE4 sessions (the use of alt-f7 is there) (and also, why it may not work):</p><ul><li><p><a href="https://www.linuxfromscratch.org/blfs/view/10.1-systemd/xfce/xfce4-session.html" rel="nofollow">Introduction to Xfce4 Session</a></p></li></ul>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Thu, 25 Aug 2022 21:55:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37184#p37184</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] How to Navigate Back to a Previous XFCE Session?]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37182#p37182</link>
			<description><![CDATA[<div class="quotebox"><cite>Gregors wrote:</cite><blockquote><div><p>Try <span class="bbc">Alt-F7</span></p></div></blockquote></div><p>Why? What does it do? Where is the link to the documentation that it sits within?</p><p>Thanks for trying, <em>Gregors</em>, but an unreferenced reply is worthless.</p><p>These are two sites I referenced from FF:</p><ol class="decimal"><li><p><a href="https://unix.stackexchange.com/questions/23363/command-line-to-return-to-the-gui-after-ctrl-alt-f1" rel="nofollow">Command line to return to the GUI after Ctrl-Alt-F1?</a></p></li><li><p><a href="https://stackoverflow.com/questions/45123241/how-to-switch-between-the-x-sessions-by-only-using-the-command-line" rel="nofollow">How to switch between the X sessions by only-using the command line?</a></p></li></ol>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Thu, 25 Aug 2022 21:33:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37182#p37182</guid>
		</item>
	</channel>
</rss>
