LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-11-2005, 11:29 PM   #1
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 24

Rep: Reputation: 64
Question Problem: Startx Command Not Found


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
 
Old 02-12-2005, 02:56 AM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
what about running this

/usr/X11/bin/startx

regards
 
Old 02-12-2005, 08:04 AM   #3
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921

Original Poster
Blog Entries: 24

Rep: Reputation: 64
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
 
Old 02-12-2005, 08:06 AM   #4
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921

Original Poster
Blog Entries: 24

Rep: Reputation: 64
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
 
Old 02-12-2005, 12:12 PM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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
 
Old 02-12-2005, 01:00 PM   #6
VorlonInfoTech
Member
 
Registered: Jun 2003
Location: West Grove, PA
Distribution: Gentoo, Debian, SuSE, Mandrake
Posts: 55

Rep: Reputation: 15
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.
 
Old 02-12-2005, 04:25 PM   #7
gunnix
Member
 
Registered: Apr 2004
Distribution: Arch, Debian and FreeBSD
Posts: 243

Rep: Reputation: 30
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.
 
Old 02-12-2005, 09:13 PM   #8
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
Old 02-12-2005, 09:15 PM   #9
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
oops

HKhz 30-105 Vhz 60-120
 
Old 02-13-2005, 01:00 AM   #10
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921

Original Poster
Blog Entries: 24

Rep: Reputation: 64
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
 
Old 02-13-2005, 04:55 AM   #11
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
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.
 
Old 02-13-2005, 11:40 AM   #12
subjazz
Member
 
Registered: May 2004
Location: Rodeo by the Bay
Distribution: Ubuntu;dosbox;Debian;BSD 6.0
Posts: 65

Rep: Reputation: 15
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 07:02 PM.
 
  


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

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

All times are GMT -5. The time now is 06:04 AM.

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