Results 1 to 9 of 9

Thread: Change screen resolution w/o reboot ?

  1. #1
    Junior Member registered user
    Join Date
    Feb 2004
    Location
    Positively Lost in Knoppix
    Posts
    11

    Change screen resolution w/o reboot ?

    I have had Knoppix 33 runnning from CD for about a week now.
    It started at 640x480 8 bit color. In windows, my monitor is capable of 1024x768 24 bit color. I just select it from the list, and it works. In Control Center, its not listed.

    At 640x480 res, some of the windows in Control Center are bigger than the screen, so I can't see the Apply, Okay, Cancel buttons at the bottom.
    The same for some other apps, and "resize" only allows me to change the WIDTH.
    I have changed some preferences, and have it looking almost like I want, but some I can't, because I can't see the buttons. I have searched this forum, and all answers seem to mention H and V synch numbers, but my monitor is not listed in the X configurator, and I have no idea what values to use.

    Is there a way to change the resolution without rebooting ?

    Any input GREATLY appreciated.
    Maybe by some how stopping KDE, changing it, then restarting it ?

    I don't want to reboot because I'm afraid I'll lose all the things I've created and prefs I've changed, as well as browser history and bookmarks. It took me most of a night to get the modem to dial out, because first I had to figure out how to mount and view the Windows partitions. I will start from scratch again if I have to, but would rather not.

    Can someone please tell me what Hsynch and Vsynch values to use, or where to find them ?

    Display adaptor is Sis 630/730 chip on motherboard
    Monitor is Hewlett-Packard D2804 A Super VGA



    Also, how do I get the sidescroll buttons not to cover the clock in the taskbar/systray/kicker/dock, or whatever its called ?

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    Press CTRL + ALT + + or -

    and use the plus or minus keys that are on the numberpad.

  3. #3
    Junior Member registered user
    Join Date
    Feb 2004
    Location
    Positively Lost in Knoppix
    Posts
    11
    I need to change the screen resolution, not font size.
    I already have most of them set to 8 point, just so I can see what I'm trying to do.

  4. #4
    Senior Member registered user
    Join Date
    Jun 2003
    Posts
    611
    CTRL + ALT + + should toggle the screen resolution between all available modes (most likely 640x480, 800x600, and 1024x76.

  5. #5
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by green_man
    I need to change the screen resolution, not font size.
    I already have most of them set to 8 point, just so I can see what I'm trying to do.
    That does cycle through the resolutions available. You need to edit the file /etc/X11/XF86Config-4 if you want to make your changes. The lines you need to change are similiar in format to these:
    Code:
    Section "Screen"
            Identifier "Screen0"
            Device     "Card0"
            Monitor    "Monitor0"
            DefaultDepth  24
    #        SubSection "Display"
    #               Depth     1
    #       EndSubSection
    #       SubSection "Display"
    #               Depth     4
    #       EndSubSection
    #       SubSection "Display"
    #               Depth     8
    #       EndSubSection
    #       SubSection "Display"
    #               Depth     15
    #       EndSubSection
    #       SubSection "Display"
    #               Depth     16
    #       EndSubSection
            SubSection "Display"
                    Depth     24
                    Modes     "1152x768" "1024x768" "800x600" "640x480"
    #       ViewPort  0 0
            EndSubSection
    EndSection
    The important parts for you are the "DefaultDepth" and the "Modes". You should use the console login option from the menu choice from the KDE login screen then login as regular user then use su to become root edit the file and then use /etc/init.d/kdm restart to restart the X server and get a new KDE login screen with the new resolution and colour depth. You may want to copy the file to a backup before making any changes in case you mess it up then you can copy back the working file to get back where you were.

  6. #6
    Senior Member registered user
    Join Date
    Nov 2003
    Posts
    361
    Quote Originally Posted by green_man
    I need to change the screen resolution, not font size.
    Maybe a little clarification is in order:
    <CTRL> <SHIFT> + changes the font size (in mozilla at least)
    <CTRL> <ALT> + changes the screen resolution (if you have more than one resolution configured in /etc/X11/XF86Config-4)

  7. #7
    Junior Member registered user
    Join Date
    Feb 2004
    Location
    Positively Lost in Knoppix
    Posts
    11
    <CTRL><ALT> + changes the screen resolution
    (if you have more than one resolution configured in /etc/X11/XF86Config-4)
    AHA !!
    Knoppix has been running continuously since I first started it.
    That explains why <Ctrl><Alt><NumPad Plus> did nothing for me.
    I only have one resolution.

    Here is the important bit of my Config-4 file:

    Code:
    Section "Screen"
    	Identifier "Screen0"
    	Device     "Card0"
    	Monitor    "Monitor0"
    	DefaultColorDepth 16
    	SubSection "Display"
    		Depth     1
    		Modes "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth     4
    		Modes "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth     8
    		Modes "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth     15
    		Modes "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth     16
    		Modes "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth     24
    		Modes "640x480"
    	EndSubSection
    	SubSection "Display"
    		Depth     32
    		Modes "640x480"
    	EndSubSection
    EndSection
    
    Section "DRI"
    	Mode 0666
    EndSection
    So if I just change the "DefaultColorDepth" and add "800x600" and "1024x768" to the Modes, I can hashmark the rest, and not even have to know my Horz and Vert synch values, correct ?

    If I just log out I won't lose all the changes I've made, will I ?

    I have already used the passwd command to assign passwords to the users "root" and "knoppix", so I would like to just copy the editted file to /etc/X11 then log out, log in as root and just rename the new one, then do /etc/init.d/kdm restart if it's possible to do it that way.
    [I don't have a clue how to use vi or emacs, but Kwrite works for me]

    I won't try this until I get confirmation if the renaming will work.
    Thank you all for your help.
    Hopefully this thread will help other first time knoppix users stuck at 640x480.

  8. #8
    Junior Member registered user
    Join Date
    Feb 2004
    Location
    Positively Lost in Knoppix
    Posts
    11
    Oh, bloody Hell !!
    I studied the vimtutor so I'd be ready for the editting, but it was all for naught.
    When I logged off, the machine shut down, even though I had it set to just log the user off in Control Center.
    The option must not have "taken".

    How do I get my 1024x768 starting from scratch when I boot Knoppix again ?

  9. #9
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by green_man
    Oh, bloody Hell !!
    I studied the vimtutor so I'd be ready for the editting, but it was all for naught.
    When I logged off, the machine shut down, even though I had it set to just log the user off in Control Center.
    The option must not have "taken".

    How do I get my 1024x768 starting from scratch when I boot Knoppix again ?
    Use knoppix screen=1024x768 xvrefresh=60 at the boot: prompt. Quick'n'dirty vim open the file and hit the INSERT key to enter edit mode use the arrow key(s) to move to the parts you want to edit make your changes then hit ESC key to exit edit mode and SHIFT and ; keys at the same time will give you a : prompt in the lower left corner of the window type in wq and then enter key to write then quit.

Similar Threads

  1. How do you change the screen resolution?
    By god in forum General Support
    Replies: 10
    Last Post: 02-02-2008, 04:33 AM
  2. How can I change my screen resolution?
    By s2smhfrom2005 in forum General Support
    Replies: 1
    Last Post: 05-17-2005, 03:17 PM
  3. change screen resolution
    By brainstorm in forum The Lounge
    Replies: 0
    Last Post: 04-08-2004, 06:49 AM
  4. How to change screen resolution
    By mheight in forum General Support
    Replies: 1
    Last Post: 03-15-2004, 12:54 PM
  5. Screen Resolution Won't Change
    By dale_c in forum General Support
    Replies: 6
    Last Post: 09-02-2003, 06:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Supermicro Server CSE-512L-200B 1U Chassis with X9SCL-F Core i3-2100 8GB 220W picture

Supermicro Server CSE-512L-200B 1U Chassis with X9SCL-F Core i3-2100 8GB 220W

$200.00



Supermicro 505-2   Server picture

Supermicro 505-2 Server

$280.00



Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter picture

Supermicro E300-12C Mini 1U Barebone X12SCV-LVDS LGA1200 SNK-P0073A4 w/ Adapter

$225.00



Super Micro 113M-3 Server Intel Pre Owned Tested And Working picture

Super Micro 113M-3 Server Intel Pre Owned Tested And Working

$250.00



New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G picture

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G

$449.99



Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3 picture

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3

$219.99



Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram  240gb SSD 2x GPU *READ* picture

Supermicro 2U X10DRU-i 2x E5-2680 v3 2.5ghz 32gb Ram 240gb SSD 2x GPU *READ*

$369.99



1U Edge Firewall Server X11SCW-F Xeon E-2174G 0 RAM M.2 NVME 3x PCI-e 2x PSU   X picture

1U Edge Firewall Server X11SCW-F Xeon E-2174G 0 RAM M.2 NVME 3x PCI-e 2x PSU X

$175.00



Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset picture

Supermicro CSE-937 3U Storage Chassis No CPU No HDD No Ram Tested & Reset

$129.99



Supermicro 938-16 16-LFF MicroCloud SuperServer 5038MR-H8TRF *No Blade Servers* picture

Supermicro 938-16 16-LFF MicroCloud SuperServer 5038MR-H8TRF *No Blade Servers*

$159.99