LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Thread Tools Search this Thread
Old 02-12-2005, 12:29 AM   #1
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 920
Thanked: 0
Question Problem: Startx Command Not Found


[Log in to get rid of this advertisement]
I installed and reconfigured X using apt-get and dpkg. After that I typed startx and the result was command not found. I did a whereis startx and got something like /usr/X11/bin/startx

Did all the above as root. Also verified, permissions for startx are rwx for root.

Please Assist.

Thanks.

Vijay
rvijay is offline     Reply With Quote
Old 02-12-2005, 03:56 AM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Thanked: 1
what about running this

/usr/X11/bin/startx

regards
masand is offline     Reply With Quote
Old 02-12-2005, 09:04 AM   #3
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 920
Thanked: 0

Original Poster
Thanks for the response. I went into the /usr/X11/bin direc as well and tried to execute startx. This didn't work. I also googled for this problem and found that other users had similar issues in the past. The suggestion was to reconfigure X properly. At this point I am going to just try a reinstall.

Vijay
rvijay is offline     Reply With Quote
Old 02-12-2005, 09:06 AM   #4
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 920
Thanked: 0

Original Poster
By the way when I tried some of the other commands in usr/X11/bin I got the same error for them all, command not found as well. All command files had good permissions.

Vijay
rvijay is offline     Reply With Quote
Old 02-12-2005, 01:12 PM   #5
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522
Thanked: 1
we have many startx scripts

here is my O/P

root@gaurav:~# whereis startx
startx: /usr/X11R6/bin/startx /usr/bin/X11/startx /usr/X11/bin/startx /usr/X11/man/man1/startx.1x.gz


but the env has the pacth of /usr/X11R6/bin
so the statx found there will work


also if u open up the startx script in any editor u can see more options there

regards
masand is offline     Reply With Quote
Old 02-12-2005, 02:00 PM   #6
VorlonInfoTech
Member
 
Registered: Jun 2003
Location: West Grove, PA
Distribution: Gentoo, Debian, SuSE, Mandrake
Posts: 55
Thanked: 0
Take a look at your x log file (in /var/log). There should be some type of error message which may point you in the right direction.
VorlonInfoTech is offline     Reply With Quote
Old 02-12-2005, 05:25 PM   #7
gunnix
Member
 
Registered: Apr 2004
Distribution: Arch, Debian and FreeBSD
Posts: 243
Thanked: 0
Or try not using startx.
Startx calls xinit.
You could just use xinit directly. I do, just because it saves some ram and is a bit faster.
Just change .xsession to .xinitrc and .Xresources to .Xdefaults.
Then type the xinit command.
Maybe that works.
gunnix is offline     Reply With Quote
Old 02-12-2005, 10:13 PM   #8
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA
Distribution: Debian Squeeze, SuSE 11.0, F8, F10, F11 x86_64
Posts: 1,264
Thanked: 29
kdm, gdm, xdm

You could use one of the above listed daemons to start X. gdm works the best. Also, if you use the advance monitor configuration in xserver-xfree86 configure there is a lot less hassle. Just type the make and model of your monitor and the word specifications into a search engine box and get the frequency bands of your monitor. Horizontal is first, in KHz, then vertical, in Hz. The debian configuration also has horizontal first and what you are looking for is something like this "VKHz 30-105 HHz 60-120", but the numbers might not be exactly the same.
AwesomeMachine is offline     Reply With Quote
Old 02-12-2005, 10:15 PM   #9
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA
Distribution: Debian Squeeze, SuSE 11.0, F8, F10, F11 x86_64
Posts: 1,264
Thanked: 29
oops

HKhz 30-105 Vhz 60-120
AwesomeMachine is offline     Reply With Quote
Old 02-13-2005, 02:00 AM   #10
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 920
Thanked: 0

Original Poster
I got Debian installed and setup it is a really great feeling. Package management is truly wonderful. One can add hundreds of packages like a breeze.

The reinstall that I decided on truly helped. Also based on the log file error, I reduced the color bits from 24 to 16. There are a few other minor issues that I am sure I will figure it out.

Here is a major one, at some higher resolutions when I move a web page around, there are a lot of lines on the screen. Why is this ?

Thanks.

Vijay
rvijay is offline     Reply With Quote
Old 02-13-2005, 05:55 AM   #11
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424
Thanked: 0
I had a similar problem to that, and it was just screen resolutions. Find your monitors native resolution and at that to your xf86config. I had it on all screens though not just on web pages.
short101 is offline     Reply With Quote
Old 02-13-2005, 12:40 PM   #12
subjazz
Member
 
Registered: May 2004
Location: Rodeo by the Bay
Distribution: Ubuntu;dosbox;Debian;BSD 6.0
Posts: 65
Thanked: 0
apt-get install x-window-system (I had to install this to get startx to work in my user account

I strongly recommend not to use 'dpkg-reconfigure xserver-xfree86


Last edited by subjazz; 03-07-2005 at 08:02 PM..
subjazz is offline     Reply With Quote

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
startx command not found r2d2owns Slackware 5 11-24-2005 09:44 PM
Startx command is not found. What do I do? Alram Linux - Newbie 11 12-20-2004 11:25 AM
startx command not found suresheva31 Linux - General 1 10-15-2004 04:12 AM
startx command not found brian183 Debian 6 10-07-2004 07:37 PM
startx command not found desluscious Linux - Newbie 6 08-25-2003 07:57 PM


All times are GMT -5. The time now is 04:56 PM.

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.
Advertisement
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Click Here to receive a complimentary subscription courtesy of LQ.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration