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.
-
AuthorPosts
-
April 22, 2018 at 3:04 am #9550Member
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.newSection "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 EndSectionApril 22, 2018 at 3:30 am #9551Forum Admin
anticapitalista
::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.
April 22, 2018 at 4:27 am #9552Memberoldman
::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 displaysudo startx gives the following errror message:
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server errorI 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.
April 22, 2018 at 4:54 am #9555Forum Admin
anticapitalista
::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.
April 22, 2018 at 6:01 am #9558Memberoldman
::That did not work!
This line was already in the file: allowed_users=console
I just had to add this line: needs_root_rights=yesstartx (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.
April 22, 2018 at 6:21 am #9560Forum Admin
anticapitalista
::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.
April 22, 2018 at 6:43 am #9568Memberoldman
::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.
April 22, 2018 at 7:04 am #9570Forum Admin
anticapitalista
::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-upgradesudo apt-get install xorg xserver-xorg-legacy fluxboxand after editing the file mentioned above
startxgets 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.
April 22, 2018 at 8:12 am #9573Memberoldman
::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.
April 22, 2018 at 8:25 am #9574Forum Admin
anticapitalista
::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 -Fxzmay 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.
April 22, 2018 at 8:44 am #9578Memberoldman
::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.
April 22, 2018 at 9:59 am #9579Forum Admin
anticapitalista
::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.
April 22, 2018 at 10:33 am #9581Memberoldman
::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 0And 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 0Thanks for your help.
April 22, 2018 at 11:11 am #9582Forum Admin
anticapitalista
::Check the permissions of the /home folder.
If the are wrong, I suspect they are, then use chown to change them egchown -R yourusername:yourusername /homeIf 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.
April 22, 2018 at 11:26 am #9584Memberoldman
::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.
-
AuthorPosts
- You must be logged in to reply to this topic.