LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Screen resolution problems. (https://www.linuxquestions.org/questions/linux-newbie-8/screen-resolution-problems-293623/)

IroN-RuS 02-22-2005 07:50 PM

Screen resolution problems.
 
Well I have installed RH 9.0 on one of my PC's and everything went well during the installation, it has detected all my hardware etc. But once the installation was completed I decided to change my screens resolution from the anoying 800X600 to something that would make more sense. BUT I failed.... when ever I try to change the reolution it tells me that it was changed and that I should log out and restart the X server (uhum I said to myslef) . So just like a hardcore Winddoz user I restarted my computer and to my surprise the resolution was still 800X600. I tried doing this whole process a couple more times but it led me nowhere. So now I am here, and I need your help.... What is X server? How do I restart it? :newbie:

Hope to hear from you soon guys!

bigrigdriver 02-22-2005 08:06 PM

Open a terminal and give the command: man startx.
That will give you the man pages for startx, a discussion of the X server, along with a few other man pages to reference.

IroN-RuS 02-22-2005 08:32 PM

Thank you bigrigdriver,
But there is still a problem, when I typed in man startX It gave me this error :
Code:

Exception type SSL.Error

Exception Handler Information
Traceback (most recent call last):
  File "/usr/bin/../share/rhn/rhn_applet/rhn_applet.py", line 448, in refresh
    self.model.refresh(force)
  File "/usr/bin/../share/rhn/rhn_applet/rhn_applet_model.py", line 264, in refresh
    self.__rpc_server__.refresh(force)
  File "/usr/bin/../share/rhn/rhn_applet/rhn_applet_rpc.py", line 84, in refresh
    status = server.applet.poll_status()
  File "/usr/lib/python2.2/xmlrpclib.py", line 821, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.2/site-packages/rhn/rpclib.py", line 126, in _request
    verbose=self._verbose
  File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 130, in request
    headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.2/site-packages/rhn/transports.py", line 614, in send_http
    headers=self.headers)
  File "/usr/lib/python2.2/httplib.py", line 701, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.2/httplib.py", line 723, in _send_request
    self.endheaders()
  File "/usr/lib/python2.2/httplib.py", line 695, in endheaders
    self._send_output()
  File "/usr/lib/python2.2/httplib.py", line 581, in _send_output
    self.send(msg)
  File "/usr/lib/python2.2/httplib.py", line 560, in send
    self.sock.sendall(str)
  File "/usr/lib/python2.2/site-packages/rhn/SSL.py", line 191, in write
    sent = self._connection.send(data)
Error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]

what could be the problem?

IroN-RuS 02-22-2005 11:09 PM

anyone?

IroN-RuS 02-23-2005 08:03 AM

Guys comeone I realy need your help, this resolution is killing me

Marius2 02-23-2005 08:36 AM

It should be "man startx", not "man startX". Besides, where exactly are you typing this in? I'm asking because this is the weirdest reaction to a man page request I've ever seen (should either display the page or say "no manual entry for <your topic>"). If you're in a graphical environment (which?), either invoke a console and do it there, or press Alt+F[1-6], which will take you a fullscreen console. Login there and call the man page. (You can go back from there by pressing Alt+F7).

To restart the X server, simply log out from your shell (like in windows, Startmenu->logout), then either login again (if you have a graphical login), or login to the text console and then enter "startx"


HTH

havelino 02-23-2005 08:37 AM

Try to insert the resolution manually.

I do not know if it can be done in RH 9.0 but in RH EL and in Debian it is possible and it works duhhh.

As root do the following:
Got to your XF86Config file

vi /etc/X11/XF86Config

edit the file to your needs.

hugol# cat /etc/X11/XF86Config-4
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x800" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800" "800x600" "640x480"
EndSubSection
EndSection

save and exit

Now configure your desktop.

Hope it works :)

Marius2 02-23-2005 08:40 AM

BTW X server = Unix graphical subsystem, something like GDI under windows. Windows GUI is similar to X server (which draws the pixels) + window manager (which uses X servers pixels to draw windows, buttons etc.) (+GUI+other subsystems, if you're using more advanced GUIs like KDE or gnome)


All times are GMT -5. The time now is 07:17 AM.