Forum › Forums › New users › New Users and General Questions › Cannot start Xwindows after changing monitor
Tagged: Solved
- This topic has 6 replies, 3 voices, and was last updated Aug 13-11:28 am by oldman.
-
AuthorPosts
-
August 11, 2019 at 11:55 am #25642Member
oldman
After changing a monitor and removing a unused video card that was giving me problems, I cannot start Xwindows.
As root user, startx gives the following:/etc/X11/xinit/xserverrc: 3: exec: /usr/bin/X: not found
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server errorI cannot see a X in /usr/bin
If I edit /etc/X11/xinit/xserverrc file to show /usr/bin/X11
I get Permission denied.
Is there a less drastic way of correcting this, without re-installing xserver and xorg?
- This topic was modified 3 years, 9 months ago by oldman.
August 11, 2019 at 12:36 pm #25644Member
VW
::As root user, startx gives the following:
As root user you shouldn’t even be trying to run ‘startx’.
You run startx as a a normal user. Just to help you out:
The startx script is a front end to xinit that provides a somewhat nicer user interface for running a single session of the X Window System. It is often run with no arguments.
Arguments immediately following the startx command are used to start a client in the same manner as xinit. The special argument “–” marks the end of client arguments and the beginning of server options. You may need to specify server options with startx to change the color depth, dots-per-inch, or a different server layout, as permitted by the Xorg server and xorg.conf.
To determine the client to run, startx first looks for a file called .xinitrc in the user’s home directory. If that is not found, it uses the file xinitrc in the xinit library directory. If command line client options are given, they override this behavior and revert to the xinit behavior. To determine the server to run, startx first looks for a file called .xserverrc in the user’s home directory. If that is not found, it uses the file xserverrc in the xinit library directory. If command line server options are given, they override this behavior and revert to the xinit behavior. Users rarely need to provide a .xserverrc file.
The system-wide xinitrc and xserverrc files are found in the /etc/X11/xinit directory.
H.T.H.
“These are the times that try men's souls" - Thomas Paine
August 12, 2019 at 2:30 am #25673Memberoldman
::Thanks for the reply.
I had hope that there was a command that would reconfigure the xwindow system.
I have found other errors, so I am now re-installing the whole system.August 12, 2019 at 9:05 am #25685Member
VW
August 13, 2019 at 9:14 am #25726Memberoldman
::I re-installed antix and faced the same problem.
After looking at other distros and even installing one in another partition, I came back to antix, then went on the Internet again and searched for answers.
The problem was, the video driver was not installed (Intel). So having installed the correct driver, I can now run xwindows and openbox window manager.
August 13, 2019 at 9:54 am #25728Forum Admin
anticapitalista
::The problem was, the video driver was not installed (Intel). So having installed the correct driver, I can now run xwindows and openbox window manager.
Glad you solved your problem.
To help others.
Which version of antiX are you using and which drivers did you need to install?Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
August 13, 2019 at 11:28 am #25729Memberoldman
-
AuthorPosts
- You must be logged in to reply to this topic.