LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-28-2003, 06:05 AM   #1
notREALly
LQ Newbie
 
Registered: Nov 2003
Distribution: slackware
Posts: 11

Rep: Reputation: 0
startx and runlevel4 - xdm with X problem


Ok, I have SW 9.1 for a few Weeks now, compiled the kernel for my needs (most - sometimes I didn't knew if select or not or as a module)..
I configuered X .. I wrote some scripts with the help of one or another manual in my /home directory . .now if I type startx everthing is fine .. but I noticed that there is the "other" way to start X with a display manager (I thought to take xdm first) ..
I tryed xdm using the init4 command, which causes to start xdm through inittab and rc.4 .. it works I thought. The loginmanager appeared I logged in and saw the nice fluxbox grey. The Problem is, if I exit fluxbox (X will shutdown) tty0 - tty4 is a kind of disabled; every key is only showed as ^? for space for example (means Ascii code ???)
Does anyone know where I have to change something to solve this problem ?
 
Old 11-28-2003, 09:38 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Runlevel 4??

I don't use slackware, but normally rl4 is not used. rl 5 is for graphical logins:

runlevel 0 is System halt (Do not use this for initdefault!)
runlevel 1 is Single user mode
runlevel 2 is Local multiuser without remote network (e.g. NFS)
runlevel 3 is Full multiuser with network
runlevel 4 is Not used
runlevel 5 is Full multiuser with network and xdm
runlevel 6 is System reboot (Do not use this for initdefault!)

Might be that this is the base of your problem.
 
Old 11-28-2003, 04:44 PM   #3
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 530

Rep: Reputation: 30
runlevel 4 is ok to start the Xserver.
you can choose your favourite wm by xwmconfig and then startx.
You can exit any wm by Ctrl+Alt+Backspace
if you want to boot X automatically modify your inittab like that


Default runlevel. (Do not set to 0 or 6)
id:4:initdefault: this line is set 3 as default

# System initialization (runs when system boots).
si:S:sysinit:/etc/rc.d/rc.S

# Script to run when going single user (runlevel 1).
su:1S:wait:/etc/rc.d/rc.K

# Script to run when going multi user.
rc:2345:wait:/etc/rc.d/rc.M

# What to do at the "Three Finger Salute".
ca::ctrlaltdel:/sbin/shutdown -t5 -r now

# Runlevel 0 halts the system.
l0:0:wait:/etc/rc.d/rc.0

Do that only if you're quite sure X works perfectly well
Ciao
 
  


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
Problem with xdm....help avols143 Linux - General 1 04-15-2004 02:21 AM
XDM opens XDM after login jpbarto Linux - Software 1 01-26-2004 10:23 PM
Runlevel4 and multi-users? r_jensen11 Slackware 3 11-18-2003 09:59 PM
startx and xdm rol1 Slackware 4 06-05-2003 08:56 PM
Weird XDM Problem... ghostdancer Slackware 1 05-01-2002 03:07 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration