LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Switching XServer Terminals... (https://www.linuxquestions.org/questions/linux-software-2/switching-xserver-terminals-37268/)

thedrew 12-04-2002 12:49 AM

Switching XServer Terminals...
 
Hi... Does anyone out there know exactly what files I need to edit to change my Xserver from tty7 to tty2.

Any help would be greatful...Thanks,

TheDrew

clavius 12-04-2002 01:11 AM

Re: Switching XServer Terminals...
 
Quote:

Originally posted by thedrew
Hi... Does anyone out there know exactly what files I need to edit to change my Xserver from tty7 to tty2.

Any help would be greatful...Thanks,

TheDrew

I think XServer put itself on the first terminal available. So, all you have to do is to free the terminal from tty login.

For that, edit: /etc/inittab
and search for a line where tty appears. In Slackware, I have:
c2:1235:respawn:/sbin/agetty 38400 tty2 linux

So, to free this terminal i have to comment this line, save the file and invoke:

# telinit q

To "say" to init (8) to reread the inittab file.

now, startx...

thedrew 12-04-2002 01:38 AM

Oops...Sorry...I forgot to give you'al all the info... I'm running SuSE 8.1 (Straight install, no expert options) and the Xserver (kdm by default) loads onto tty7 on bootup as default. I found in /etc/opt/kd3/share/config/kdm/ a file called Xservers that had a line init as follows: :0 local /usr/X11R6/BIN/X vt7
I changed that to vt2 and restarted kdm. It loaded on tty2, but I couldn't use my keyboard, or mouse. There must be another file(s) somewhere that I need to change. Sorry for leaving that out, Rookie mistake I guess...


All times are GMT -5. The time now is 03:19 AM.