LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-04-2003, 08:57 PM   #1
iceco
LQ Newbie
 
Registered: Aug 2003
Location: FJ,CN
Distribution: RH,MDK
Posts: 20

Rep: Reputation: 0
can't load X automaticly


Mandrake 9.1
Once i have startkde in terminal as root when i login kde as users,then the 2 kde superposition.
After that i can't load X automaticly even if /etc/inittab is 5,every time i have to login in tty1 and run startx to load kde
any help?

Last edited by iceco; 09-04-2003 at 08:59 PM.
 
Old 09-04-2003, 09:22 PM   #2
iceco
LQ Newbie
 
Registered: Aug 2003
Location: FJ,CN
Distribution: RH,MDK
Posts: 20

Original Poster
Rep: Reputation: 0
in tty1,i can only run startx,when i run startkde,it gives
Quote:
startkde
xmodmap:unable to open display''
xmodmap:unable to open display''
xset:unable to open display""
xset:unable to open display""
xset:unable to open display""
startkde starting up...
ksplash:cannot connect to X server
kdeinit:Aboring.$DISPLAY is not set
warning:connect() failed::No such file or directory
ksmserver:can not connect to X server
startkde:Shutting down...
warning:connect() failed:: No such file or directory
Error:Can't contact kde init!
startkde:Running shutdown scripts...
startkdeone.
i have changed display settings,but it doesn't work
 
Old 09-04-2003, 09:26 PM   #3
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I am not sure I understand what is going on. Are you in run level 5 when you are logged into tty1? You can check your runlevel by
the command

runlevel

you must run this as root. If it says

N 3

you're not in runlevel 5 and that is the problem. It's not enough to edit /etc/inittab. The changes do not take effect until you reboot. You can get to runlevel 5 manually by

init 5

again as root.
Now, if you are in runlevel 5 but you don't have X running on vty1, then try

service dm start

as root. Does this get you to the graphical login? If yes, the problem is that the service dm is not set to start at boot. Go to drakxservices and make sure it starts at boot.
 
Old 09-04-2003, 09:27 PM   #4
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
You can't run startkde directly. That's normal. What you can do is

startx /usr/bin/startkde

This will run startkde and should bring up kde.
 
Old 09-05-2003, 11:04 AM   #5
iceco
LQ Newbie
 
Registered: Aug 2003
Location: FJ,CN
Distribution: RH,MDK
Posts: 20

Original Poster
Rep: Reputation: 0
as root,i cannot run init 5 in tty1,it gives some error messages,i will post it next time
 
Old 09-05-2003, 12:08 PM   #6
iceco
LQ Newbie
 
Registered: Aug 2003
Location: FJ,CN
Distribution: RH,MDK
Posts: 20

Original Poster
Rep: Reputation: 0
thank you,quatsch
it is the problem of dm
 
Old 09-05-2003, 12:35 PM   #7
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
If you want KDE to be the default desktop when you type startx,
edit /etc/sysconfig/desktop and add KDE on the desktop line.
Code:
DESKTOP="KDE"
 
  


Reply



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
reaching runlevel 4 automaticly berrance Slackware 6 02-19-2005 03:44 AM
Azureus closes automaticly bbmak Linux - Software 2 10-10-2004 01:26 PM
How to start GDM automaticly zyzyis Linux - Newbie 3 09-26-2004 08:23 PM
nvidia module does not load automaticly with startx shadowhunter Linux - Newbie 6 02-08-2004 04:52 PM
PC starts automaticly after 1 minute LLed Linux - Newbie 3 03-19-2003 03:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:24 PM.

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
Open Source Consulting | Domain Registration