Announcement

Collapse
No announcement yet.

Configuration files (networking, screen resolution etc.): where?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Configuration files (networking, screen resolution etc.): where?

    I just switched to Kubuntu from Fedora. In Fedora I used to edit configuration files from the command line. Now I have trouble to find the right files; for example: everytime I login to the desktop I have to change the resolution. This takes time I'd rather spend on other things. I found the settings in the file $HOME/.kde/share/config/displayconfigrc. Should I copy this to /usr/share/kubuntu-default-settings/kde-profile/default/share/config and /etc/kde3?
    Besides I want to be able to turn off the eth0-network card (ie don't start the device at boot).
    Anyone who can help out?

    #2
    Re: Configuration files (networking, screen resolution etc.): where?

    Resolution

    /etc/X11/xorg.conf (xorg X Window System server configuration file). It is text file.

    Section "Screen"
    => SubSection "Display"
    ==> Modes "1680x1050" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"

    Available resolutions (default first).

    Also:
    Code:
    sudo dpkg-reconfigure xserver-xorg
    Here is good page of sudo dpkg-reconfigure xserver-xorg:
    http://users.bigpond.net.au/hermanzone/p7.html


    Links:

    Editing basics for the xorg.conf file
    http://www.linux.com/feature/118108

    Xorg.conf manual page
    http://www.x.org/archive/X11R6.8.0/doc/xorg.conf.5.html

    HOWTO : Repairing xorg.conf
    http://kubuntuforums.net/forums/inde...opic=3082808.0


    I want to be able to turn off the eth0-network card
    Have you tried System Settings > Network Settings > Disable/Enable interface ?
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Configuration files (networking, screen resolution etc.): where?

      xorg.conf reads:

      SubSection "Display"
      Depth 24
      Virtual 1440 900
      Modes "1440x900@60" "1280x800@60" "1280x720@60" "1280x768@60" "800x600@60" "800x600@56"
      EndSubSection
      EndSection

      Still, after every reboot the resolution is set to 1024x768. I wonder why.

      --

      About disabling eth0: I tried kdenetwork-manager, but this solution sustains only till the next reboot (the option 'start at boot' is marked out)
      I tried

      Comment


        #4
        Re: Configuration files (networking, screen resolution etc.): where?

        What kind of graphic driver are you using ?

        Section "Device"
        => Driver ??

        Before you edit, BACKUP !

        Why there are dead links ?
        1. Thread: Please explain how to access old kubuntu forum posts
        2. Thread: Lost Information

        Comment


          #5
          Re: Configuration files (networking, screen resolution etc.): where?

          Originally posted by Rog131
          What kind of graphic driver are you using ?

          Section "Device"
          => Driver ??

          The driver is fglrx (Ati Radeon).
          (restricted support...)
          Could that be the problem?

          Comment


            #6
            Re: Configuration files (networking, screen resolution etc.): where?

            The driver is fglrx (Ati Radeon).
            (restricted support...)
            Could that be the problem?
            It shouldn't be...

            What tells:
            Code:
            grep "(EE)" /var/log/Xorg.0.log
            Errors in the Xorg log.
            Code:
            grep "(WW)" /var/log/Xorg.0.log
            Warnings in the Xorg.log
            Before you edit, BACKUP !

            Why there are dead links ?
            1. Thread: Please explain how to access old kubuntu forum posts
            2. Thread: Lost Information

            Comment


              #7
              Re: Configuration files (networking, screen resolution etc.): where?

              $ grep "(EE)" /var/log/Xorg.0.log
              (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
              (EE) fglrx(0): === [swlDalHelperAddCustomizeMode] === CWDDEDI_DisplayGetSetModeTimingOverride failed: 2
              (EE) fglrx(0): === [swlDalHelperAddCustomizeMode] === CWDDEDI_DisplayGetSetModeTimingOverride failed: 2
              (EE) fglrx(0): === [swlDalHelperAddCustomizeMode] === CWDDEDI_DisplayGetSetModeTimingOverride failed: 2
              (EE) fglrx(0): === [swlDalHelperAddCustomizeMode] === CWDDEDI_DisplayGetSetModeTimingOverride failed: 2
              (EE) fglrx(0): === [swlDalHelperAddCustomizeMode] === CWDDEDI_DisplayGetSetModeTimingOverride failed: 2
              (EE) fglrx(0): === [swlDalHelperAddCustomizeMode] === CWDDEDI_DisplayGetSetModeTimingOverride failed: 2
              (EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
              (EE) AIGLX: reverting to software rendering

              Quite a few errors that indicate a failure overriding settings...

              grep "(WW)" /var/log/Xorg.0.log
              (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
              (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
              (WW) fglrx(0): board is an unknown third party board, chipset is supported
              (WW) fglrx(0): Only one display is connnected,so single mode is enabled
              (WW) LoadModule: given non-canonical module name "glesx.so"

              Comment


                #8
                Re: Configuration files (networking, screen resolution etc.): where?

                The driver is fglrx (Ati Radeon).
                (restricted support...)
                Could that be the problem?
                Is this from repositories ? (Version: 8.37.6)


                Hmm - there seems to be problems with fglrx and resolution:

                test for fixing resolution problems
                http://www.phoronix.com/forums/showthread.php?t=7050


                With AMD Catalyst 7.12:
                Topic: ATI fglrx higher screen size resolution than 1280x1024
                http://kubuntuforums.net/forums/inde...opic=3090086.0
                Before you edit, BACKUP !

                Why there are dead links ?
                1. Thread: Please explain how to access old kubuntu forum posts
                2. Thread: Lost Information

                Comment


                  #9
                  Re: Configuration files (networking, screen resolution etc.): where?

                  Problem with screen resolution solved for the moment...
                  Thanks for your help. The trouble was in a personal configuration-file: $HOME/.kde/share/config/startupconfig where I found the resolution I used on the (old) laptop with Fedora... I marked those out (#).

                  Still have to find a solution for the network, though. After every boot I must first disable eth0 before wlan1 works properly.

                  Comment


                    #10
                    Re: Configuration files (networking, screen resolution etc.): where?

                    Post your /etc/network/interfaces file for a review.
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      Re: Configuration files (networking, screen resolution etc.): where?

                      /etc/network/interfaces reads:

                      Code:
                      auto lo
                      iface lo inet loopback
                      address 127.0.0.1
                      netmask 255.0.0.0
                      
                      
                      # iface wlan0 inet static
                      # wireless-essid SpeedTouch424C78
                      # address 192.168.1.116
                      # netmask 255.255.255.0
                      # gateway 192.168.1.254
                      
                      # iface eth1 inet dhcp
                      # wireless-essid SpeedTouch424C78
                      
                      
                      
                      # iface eth0 inet dhcp
                      
                      iface wlan1 inet static
                      # address 192.168.1.118
                      adress 192.168.123.118
                      netmask 255.255.255.0
                      # gateway 192.168.1.254
                      gateway 192.168.123.254
                      # wireless-essid SpeedTouch424C78
                      wireless-essid USR8054
                      address 192.168.123.118
                      
                      auto wlan1
                      --
                      I edited the file with an editor, but still I have to manually deactivate both eth0 and eth1 and today I could only bring up (ie get a connection with the router) wlan1 after:

                      Code:
                      $: sudo /sbin/ifdown wlan1
                      $: sudo /sbin/ifup wlan1
                      I wonder why and would like to know if there are more files I could edit. In Fedora I could simply 'erase' an interface in the standard networkmanager.

                      Comment


                        #12
                        Re: Configuration files (networking, screen resolution etc.): where?

                        Do you truly have static ip address for you Internet account?? Your router isn't configured for dhcp??

                        I'm using a Linksys WRT65G Wireless-G Broadband Router. Both cable and wireless. My router security is WAP and this is what my interfaces file looks like:
                        auto lo
                        iface lo inet loopback

                        auto eth0
                        iface eth0 inet dhcp

                        auto ath0
                        iface atho inet dhcp
                        Everything works like a charm. I'm using KNetworkManager for managing wireless connection selections.
                        Windows no longer obstructs my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          Re: Configuration files (networking, screen resolution etc.): where?

                          Do you truly have static ip address for you Internet account?? Your router isn't configured for dhcp??
                          I prefer static since one of the pc's on the network (ie mine) needs to act as a virtual server (Xhost-connection). I had troubles to set up an Xhost-connection using dhcp.

                          Since I don't have a cableconnection at my workplace (needed for eth0) and the built-in wireless card (eth1) doesn't work properly (Acer InviLink with Broadcom-chipset, could be due to my lack of knowlegde), I use a PC Card (wlan1) that works flawless except thateth0 and eth1 start at every boot and I first have to disable these cards for I have a proper network connection.
                          If anyone knows how to turn off eth0 and eth1 permanently... (disable modules in the kernel)

                          Comment


                            #14
                            Re: Configuration files (networking, screen resolution etc.): where?

                            K Menu | System Settings | Network Settings | Network Connections | Network Interfaces
                            Click Administrator Mode button.
                            Click on the Interface you want to disable and click the Disable Interface button.
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment

                            Working...
                            X