LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problem: Startx Command Not Found (https://www.linuxquestions.org/questions/debian-26/problem-startx-command-not-found-289183/)

rvijay 02-11-2005 11:29 PM

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 :scratch: :newbie: :Pengy:

masand 02-12-2005 02:56 AM

what about running this

/usr/X11/bin/startx

regards

rvijay 02-12-2005 08:04 AM

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 02-12-2005 08:06 AM

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

masand 02-12-2005 12:12 PM

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

VorlonInfoTech 02-12-2005 01:00 PM

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.

gunnix 02-12-2005 04:25 PM

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.

AwesomeMachine 02-12-2005 09:13 PM

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 02-12-2005 09:15 PM

oops
 
HKhz 30-105 Vhz 60-120

rvijay 02-13-2005 01:00 AM

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

short101 02-13-2005 04:55 AM

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.

subjazz 02-13-2005 11:40 AM

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



All times are GMT -5. The time now is 02:59 AM.