Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-28-2003, 06:05 AM   #1
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
LQ Veteran
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
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
Registered: Nov 2003
Distribution: slackware 14
Posts: 542

Rep: Reputation: 33
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).

# Script to run when going single user (runlevel 1).

# Script to run when going multi user.

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

# Runlevel 0 halts the system.

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


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 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 > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:40 AM.

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