LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2002, 01:49 AM   #1
thedrew
LQ Newbie
 
Registered: Feb 2002
Distribution: SuSE 9.0; trying to install Gentoo
Posts: 13

Rep: Reputation: 0
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
 
Old 12-04-2002, 02:11 AM   #2
clavius
Member
 
Registered: Dec 2002
Location: Romania, Tg-Jiu City
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
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...
 
Old 12-04-2002, 02:38 AM   #3
thedrew
LQ Newbie
 
Registered: Feb 2002
Distribution: SuSE 9.0; trying to install Gentoo
Posts: 13

Original Poster
Rep: Reputation: 0
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...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
xserver-xorg config warning: migrating xserver-xfree86 templates doctorwebbox Debian 9 07-27-2005 08:24 PM
Slackware 10.1 - Xserver freezes when switching to virtual consoles or logout slacklinux-user Slackware 5 04-13-2005 08:29 AM
Terminals - spying on local terminals with ssh BeatRyder Linux - Software 5 10-21-2004 02:47 AM
Switching terminals locks up system amf57 Linux - General 2 09-05-2004 11:17 PM
Switching Terminals, Fundamentals B. Alec Slackware 6 02-15-2004 06:02 PM


All times are GMT -5. The time now is 12:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration