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: |
what about running this
/usr/X11/bin/startx regards |
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 |
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 |
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 |
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.
|
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. |
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.
|
oops
HKhz 30-105 Vhz 60-120
|
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 |
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.
|
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. |