How do you install and configure a GUI

Forum Forums New users New Users and General Questions How do you install and configure a GUI

  • This topic has 28 replies, 4 voices, and was last updated May 4-9:20 am by oldman.
Viewing 15 posts - 1 through 15 (of 29 total)
  • Author
    Posts
  • #9550
    Member
    oldman

      I have installed the latest Antix 7 using the net.iso.
      I wanted a gui, so I first installed xfce, hoping that it would install the xwindow system as a dependancy. That did not happen, so I next installed Xorg, but I cannot start xwindows (sudo startx). I have looked at the config file in my home user directory and it does not look as though it is any good; just looks like a skeleton conf file. So how do I get a working gui?
      xorg.conf.new

      Section "ServerLayout"
      	Identifier     "X.org Configured"
      	Screen      0  "Screen0" 0 0
      	InputDevice    "Mouse0" "CorePointer"
      	InputDevice    "Keyboard0" "CoreKeyboard"
      EndSection
      
      Section "Files"
      	ModulePath   "/usr/lib/xorg/modules"
      	FontPath     "/usr/share/fonts/X11/misc"
      	FontPath     "/usr/share/fonts/X11/cyrillic"
      	FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
      	FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
      	FontPath     "/usr/share/fonts/X11/Type1"
      	FontPath     "/usr/share/fonts/X11/100dpi"
      	FontPath     "/usr/share/fonts/X11/75dpi"
      	FontPath     "built-ins"
      EndSection
      
      Section "Module"
      	Load  "glx"
      EndSection
      
      Section "InputDevice"
      	Identifier  "Keyboard0"
      	Driver      "kbd"
      EndSection
      
      Section "InputDevice"
      	Identifier  "Mouse0"
      	Driver      "mouse"
      	Option	    "Protocol" "auto"
      	Option	    "Device" "/dev/input/mice"
      	Option	    "ZAxisMapping" "4 5 6 7"
      EndSection
      
      Section "Monitor"
      	Identifier   "Monitor0"
      	VendorName   "Monitor Vendor"
      	ModelName    "Monitor Model"
      EndSection
      
      Section "Device"
              ### Available Driver options are:-
              ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
              ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
              ### <percent>: "<f>%"
              ### [arg]: arg optional
              #Option     "ShadowFB"           	# [<bool>]
              #Option     "Rotate"             	# <str>
              #Option     "fbdev"              	# <str>
              #Option     "debug"              	# [<bool>]
      	Identifier  "Card0"
      	Driver      "fbdev"
      	BusID       "PCI:0:2:0"
      EndSection
      
      Section "Screen"
      	Identifier "Screen0"
      	Device     "Card0"
      	Monitor    "Monitor0"
      	SubSection "Display"
      		Viewport   0 0
      		Depth     1
      	EndSubSection
      	SubSection "Display"
      		Viewport   0 0
      		Depth     4
      	EndSubSection
      	SubSection "Display"
      		Viewport   0 0
      		Depth     8
      	EndSubSection
      	SubSection "Display"
      		Viewport   0 0
      		Depth     15
      	EndSubSection
      	SubSection "Display"
      		Viewport   0 0
      		Depth     16
      	EndSubSection
      	SubSection "Display"
      		Viewport   0 0
      		Depth     24
      	EndSubSection
      EndSection
      
      
      #9551
      Forum Admin
      anticapitalista
        Helpful
        Up
        0
        ::

        Install a login manager such as lightdm.

        You could also have a look at our video set.

        Build a Custom antiX-mate install

        Philosophers have interpreted the world in many ways; the point is to change it.

        antiX with runit - leaner and meaner.

        #9552
        Member
        oldman
          Helpful
          Up
          0
          ::

          Thanks.
          Tried to install lightdm, but failed due to unavailable missing dependancies.
          I have installed fluxbox, but sudo startfluxbox gives the following error message:

          xmodmap: unable to open display ”
          Error: Couldn’t connect to XServer passing null display

          sudo startx gives the following errror message:

          xinit: giving up
          xinit: unable to connect to X server: Connection refused
          xinit: server error

          I do not know how to setup the x server, but I ran some command that was supposed to have done that, which created the xorg.conf.new file in my home directory.

          Can anyone help me, thanks.

          • This reply was modified 5 years ago by oldman.
          • This reply was modified 5 years ago by oldman.
          #9555
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            Have a read of this post and the links.

            build-icewm-system-from-core-17-1

            You should not need to startx with sudo. Install xserver-xorg-legacy and make the edit mentioned in the link to Xwrapper.config

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #9558
            Member
            oldman
              Helpful
              Up
              0
              ::

              That did not work!

              This line was already in the file: allowed_users=console
              I just had to add this line: needs_root_rights=yes

              startx (without sudo, but after following your advice) gives this:

              xauth: timedout in locking authority file /home/oldman/.Xauthority

              When I opened .Xauthority in nano, it was empty.

              • This reply was modified 5 years ago by oldman.
              #9560
              Forum Admin
              anticapitalista
                Helpful
                Up
                0
                ::

                That is because you tried to login as root/sudo. Delete that file, reboot and try again!
                BTW net and core is meant for experts!

                (see I can add inappropriate exclamation marks too!)

                • This reply was modified 5 years ago by anticapitalista.
                • This reply was modified 5 years ago by anticapitalista.

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #9568
                Member
                oldman
                  Helpful
                  Up
                  0
                  ::

                  That is because you tried to login as root/sudo. Delete that file, reboot and try again!

                  No difference!

                  BTW net and core is meant for experts!

                  I went with the net.iso because it gives a minimal setup; I did not want loads of software.

                  Thanks for your help.

                  • This reply was modified 5 years ago by oldman.
                  #9570
                  Forum Admin
                  anticapitalista
                    Helpful
                    Up
                    0
                    ::

                    Well, I just installed (in Virtualbox) the latest sid-based net.iso without a separate /home partition, (is that what you are using?), then

                    login as user, and get the latest packages.

                    sudo apt-get update && sudo apt-get dist-upgrade

                    sudo apt-get install xorg xserver-xorg-legacy fluxbox

                    and after editing the file mentioned above

                    startx

                    gets to to a very minimal fluxbox ‘desktop’

                    Philosophers have interpreted the world in many ways; the point is to change it.

                    antiX with runit - leaner and meaner.

                    #9573
                    Member
                    oldman
                      Helpful
                      Up
                      0
                      ::

                      I have a seperate /home partition, which I had to edit /etc/fstab to get it recognised.

                      Followed your latest instructions and got the same failure.

                      #9574
                      Forum Admin
                      anticapitalista
                        Helpful
                        Up
                        0
                        ::

                        Which iso are you using?
                        Check for a typo error when writing Xwrapper?
                        Check permissions for home user.
                        Are you sure your fstab entry is correct?
                        You said you ‘ran some command that was supposed to have done that, which created the xorg.conf.new file in my home directory.’ What exactly?
                        How about more details of your hardware and your setup?
                        File system? For /home and /root?

                        inxi -Fxz may help

                        • This reply was modified 5 years ago by anticapitalista.
                        • This reply was modified 5 years ago by anticapitalista.
                        • This reply was modified 5 years ago by anticapitalista.

                        Philosophers have interpreted the world in many ways; the point is to change it.

                        antiX with runit - leaner and meaner.

                        #9578
                        Member
                        oldman
                          Helpful
                          Up
                          0
                          ::

                          I have used antiX-17.1-sid_x64-net.iso

                          No typos. Even tried dpkg-reconfigure xserver-xorg-legacy.

                          Still not getting anywhere, but thanks for your help and time.

                          #9579
                          Forum Admin
                          anticapitalista
                            Helpful
                            Up
                            0
                            ::

                            When you installed, you are asked if you want to have a separate /home and then asked if it is new.
                            The default answer (N) will not set up a /home partition correctly.
                            If you choose, y(es) then it does.
                            Maybe this is what is causing the issue?

                            • This reply was modified 5 years ago by anticapitalista. Reason: corrected info

                            Philosophers have interpreted the world in many ways; the point is to change it.

                            antiX with runit - leaner and meaner.

                            #9581
                            Member
                            oldman
                              Helpful
                              Up
                              0
                              ::

                              I am giving up now, but here is the fstab files for the record.
                              This is the ORIGINAL /etc/fstab

                              # Pluggable devices are handled by uDev, they are not in fstab
                              /dev/sda1 / dos defaults,relatime 0 1
                              UUID=52073545-da33-4669-b12a-39d5ebf63899  swap                         swap       defaults                 0 0
                              /dev/sda3 /home ext4 defaults,relatime 0 2
                              # Dynamic entries below
                              
                              UUID=4b5ec284-3f0b-4e47-bbde-bd6f1b02c53b  /media/sda4                  ext4       noauto,exec,users        0 0
                              /dev/cdrom                                 /live/boot-dev               iso9660    noauto,exec,users,ro     0 0
                              /dev/sr0                                   /live/boot-dev               auto       noauto,exec,users,ro     0 0

                              And this is the ALTERED /etc/fstab (which gets the home directory recognised)
                              Note: I commented out the original line for sda3

                              # Pluggable devices are handled by uDev, they are not in fstab
                              /dev/sda1 / dos defaults,relatime 0 1
                              UUID=52073545-da33-4669-b12a-39d5ebf63899  swap                       swap       defaults                   0 0
                              # /dev/sda3 /home ext4 defaults,relatime 0 2
                              UUID=6c61aea6-4b66-4584-a9bc-198e2986aca2  /home                      ext4       defaults   0  2
                              # Dynamic entries below
                              
                              UUID=4b5ec284-3f0b-4e47-bbde-bd6f1b02c53b  /media/sda4                ext4       noauto,exec,users          0 0
                              /dev/cdrom                                 /live/boot-dev             iso9660    noauto,exec,users,ro       0 0
                              /dev/sr0                                   /live/boot-dev             auto       noauto,exec,users,ro       0 0

                              Thanks for your help.

                              #9582
                              Forum Admin
                              anticapitalista
                                Helpful
                                Up
                                0
                                ::

                                Check the permissions of the /home folder.
                                If the are wrong, I suspect they are, then use chown to change them eg chown -R yourusername:yourusername /home

                                If that still doesn’t work, it may be better to re-install but with /home not on a separate partition,

                                Philosophers have interpreted the world in many ways; the point is to change it.

                                antiX with runit - leaner and meaner.

                                #9584
                                Member
                                oldman
                                  Helpful
                                  Up
                                  0
                                  ::

                                  The /home directory was owned by root, changed it to my user name, but I still get unable to connect to X server: Connection refused,

                                  Once again thanks for your help. I am going to now try another distro.

                                Viewing 15 posts - 1 through 15 (of 29 total)
                                • You must be logged in to reply to this topic.