Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 04-08-2011, 03:23 AM   #1
Registered: Dec 2010
Distribution: Arch
Posts: 115

Rep: Reputation: 21
Where is startx ?

I installed a clean install of Arch yesterday

Installed KDE but did not make it start automatically

Now i enter 'startx' to get to KDE and it says there is no such command !!

If i run the init script for kdm then kdm starts ok and I can login from there to KDE

Where is startx ?
Old 04-08-2011, 04:13 AM   #2
Vijay Kadam
LQ Newbie
Registered: May 2009
Location: Mumbai, India
Distribution: Fedora and Debian
Posts: 3

Rep: Reputation: 0
Please check default runlevel in /etc/inittab.
Change default runlevel to full multiuser and X11.
Something like :-
# Default runlevel. The runlevels used are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
Old 04-08-2011, 05:29 AM   #3
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,707

Rep: Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295Reputation: 3295
The startx script is ..
"".. just a sample implementation of a slightly less primitive interface than xinit""

'xinit' can be used. May be an original Arch has no /usr/bin/startx ?

The /usr/bin/startx from Arch alias Chakra is attached ( 4.4 kB )
Attached Files
File Type: txt startx.txt (4.4 KB, 97 views)
Old 04-08-2011, 10:30 AM   #4
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Startx comes with the package xorg-xinit. The executable is located at /usr/bin/startx. Configure it in ~/.xinitrc


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
[SOLVED] [startx problem] - startx goes to black/grey screen and comes back to command prompt! iNUKE Ubuntu 13 01-07-2011 01:32 PM
(nvidia) First startx = blank screen, second startx = works ?!? BuckRogers01 Linux - Hardware 2 04-07-2006 05:26 PM
startx doesn't startx for user vdemuth Mandriva 10 11-08-2004 07:41 PM
Bug / Xwindows / startx : xinit works but startx crash Linux - Software 4 10-17-2004 08:06 AM
startx vs startx -- :2 (font dimension is different!!) moly82 Linux - General 7 09-15-2003 12:11 PM > Forums > Linux Forums > Linux - Desktop

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

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