Forcing X to go to Virtual Terminal #7

Forcing X to go to Virtual Terminal #7

Post by Steve Quezada » Thu, 22 Feb 2001 02:07:27



I just manually installed X Windows on my Slackware Linux laptop and it
works great. However, I remember when I automatically installed X Windows on
Red Hat, the software somehow put JUST X-windows in virtual terminal #7
(reachable by Ctl-F7), and all the other virtual terminals (Ctl-F1 to
Ctl-F6) were all command prompt. I liked this setup. Does anyone know how to
replicate this behavior? I thought it was neat.

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

 
 
 

Forcing X to go to Virtual Terminal #7

Post by Steve Marti » Thu, 22 Feb 2001 10:30:08



> I just manually installed X Windows on my Slackware Linux laptop and it
> works great. However, I remember when I automatically installed X Windows on
> Red Hat, the software somehow put JUST X-windows in virtual terminal #7
> (reachable by Ctl-F7), and all the other virtual terminals (Ctl-F1 to
> Ctl-F6) were all command prompt. I liked this setup. Does anyone know how to
> replicate this behavior? I thought it was neat.

Just a guess here, but I think (based on the little fiddling I've
done with this) that if you put entries in /etc/inittab to start
getty processes on the first six virtual terminals, it'll bump
the X process down to the seventh. Look for a series of entries
down in the file that look like this:

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

This is from my /etc/inittab file, which does what you describe.
See "man inittab" for more details. Hope this helps.

 
 
 

Forcing X to go to Virtual Terminal #7

Post by Glitc » Sat, 24 Feb 2001 18:15:25



> I just manually installed X Windows on my Slackware Linux laptop and it
> works great. However, I remember when I automatically installed X Windows on
> Red Hat, the software somehow put JUST X-windows in virtual terminal #7
> (reachable by Ctl-F7), and all the other virtual terminals (Ctl-F1 to
> Ctl-F6) were all command prompt. I liked this setup. Does anyone know how to
> replicate this behavior? I thought it was neat.

uh...first, i think it was Ctl+Alt , not just Ctl, but i could be wrong.
I'm using Windows98 right now so can't check but if i actually know what
im talking about and dont rely on muscle memory(when i do it myself) its
Ctl+Alt that does that.

second....if u haven't started X yet then doing Ctl-Alt-F7 wont do
anything.  Onc you have X started and try going ot a console and back to
X using the above methods then it will work....do u have X running
already when you try this?

what is happening now when u try going to a VT? anything?

Suse 6.3 automatically did it for me like that but i  havent' ever
upgraded so maybe it isn't automatic once an upgrade occurs.

 
 
 

Forcing X to go to Virtual Terminal #7

Post by Stephan Bea » Sat, 10 Mar 2001 01:29:26



> In my Debian machine, it allows me to specify virtual terminal such
> as "startx vt9" so that [Alt][Ctrl]9 is the display ":0".

You can also edit /etc/initab to set the terminal it starts on.


I speak for myself, not my employer.
No warranty. Slippery when wet. Your Mileage May Vary.
Contents may be hot. You Have Been Warned.

 
 
 

Forcing X to go to Virtual Terminal #7

Post by m.c.dooliga » Fri, 16 Mar 2001 05:53:51




> > In my Debian machine, it allows me to specify virtual terminal such
> > as "startx vt9" so that [Alt][Ctrl]9 is the display ":0".

> You can also edit /etc/initab to set the terminal it starts on.

Yup.  Or you can edit /etc/X11/xdm/Xservers:
:0 /usr/X11R6/bin/X -bpp 16 -weight 555 vt9  <--- or whatever.
 
 
 

1. virtual terminals go away...

I have an intermitant problem - sometimes, rarely at most, the vt go away. No
amount of Alt-Fn will switch between 'em. You are stuck on the present
terminal.
Even the console is unreachable.  The user with this proble has noticed that it
might be related to having multiple emacs on some of the vts. Once I had to
poweroff the machine because the keyboard was inoperative.  But this is quite
rare.

Any ideas?

Clint

--
"All the world is my country and all mankind are my brethren,
 and to do good is my religion."
          -- Thomas Paine

2. Easy format.dat question

3. Virtual Terminals go away after login to KDE

4. Xterminal or Xwindows ?C

5. looking for joystick.h

6. Setup 3Com ADSL modem PCI model #3CP4224-TLS

7. virtual terminal vs. virtual frame buffer

8. Terminal Emulators/ Virtual Terminals

9. How to disable all terminals and/or virtual terminals but one

10. Terminal Emulators/ Virtual Terminals

11. Going, going, going, GONE! Bye Windows!