LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   startx won't work + "the internet is broken" (https://www.linuxquestions.org/questions/slackware-installation-40/startx-wont-work-the-internet-is-broken-4175605904/)

ash256 05-14-2017 03:46 AM

startx won't work + "the internet is broken"
 
Hello,
I have installed slackware 14.2 very recently and when I tried to startx, it just showed this: "file /user/.serverauth.XXXX. does not exist
I'm new to linux and I've found no working solution on other forums.
If anyone could help me, I would be very grateful.

I have an intel core i7 6700hq, a gtx 960m and my wifi card is an intel 3165 ac, which requires firmware, but I guess it won't be a problem as I can connect with an ethernet cable temporarily and download it.

Ztcoracat 05-14-2017 05:04 AM

When you first install Slackware the GUI isn't set up so you will have to set the runlevel.

First add a user (if you haven't already) as it is not good to run the system as root.
Code:

adduser
In order to get a GUI you will have to edit the /etc/inittab file.
Edit this file as root in nano.

Change the default runlevel from 3 to 4
Code:

Example:
id:3initdefault

Change it to:
Code:

id:4initdefault
When your done editing the file hold down CTRL + o (the letter 'o') and press Enter. Than hold down CTRL + x to save the changes.

While still in command-line mode type: reboot.

The next time the system boots you should have a GUI where you can sign in with your username and password.

If not than something may be wrong with the X window system or maybe the /var/log/Xorg.0.log is misconfigured or missing?

Did the fresh installation go smoothly?

mrclisdue 05-14-2017 07:09 AM

$ startx
should *just work* straight out-of-the-box without any modifications so, like Ztcoracat, I'm curious as to whether the installation went smoothly.

Did you do the recommended *full* install?

cheers,

ash256 05-14-2017 08:24 AM

Thank you very much, I'll try this
I installed it from a book and it didn't give any information further than add a user and type startx

ash256 05-14-2017 09:54 AM

I have changed to level 4.
When I tried to reboot, it was stuck at Rebooting (I mean the last printed thing).
Apparently there is no var/log/Xorg log so, is there anything I can do (I have already tried to reinstall once)

Ztcoracat 05-14-2017 10:21 AM

Is this where you downloaded Slackware from?

http://www.slackware.com/getslack/

If not, I strongly suggest that you download it from there and perform a fresh installation. Don't forget to check the integrity of the .iso file before you use it.

Follow this Video; you can't go wrong. It worked for me:-

https://www.youtube.com/watch?v=JnggjPFtRCQ

-::-Since var/log/Xorg log doesn't exist a fresh installation is best.-::-

I don't think that making a copy of my Xorg file for your pc would work because it would have to have the right strings and commands in order to work properly and function correctly with your pc's architecture.

The Xorg server should of been a part of the installation process.
Since it's stuck at booting into the GUI it's either badly misconfigured or missing.

Ztcoracat 05-14-2017 10:47 AM

Xorg plays a very important role in an os.

http://linuxcommand.org/man_pages/Xorg1.html

onebuck 05-15-2017 08:12 AM

Member response
 
Hi,

'/var/log/Xorg log' is just a log that is not required to run 'X'. It will be created when the 'X' system is initiated. Maybe you are confusing that with the '/usr/share/X11/xorg.conf.d'. Or the '/etc/X11/xorg.conf' which is not really needed with newer Slackware unless you are customizing your 'X' to the system.

You do not need to change the run level unless the user wishes to start a GUI login. A user should be able to get 'X' via the 'startx' from the cli.

To the OP, be sure to check your downloaded ISO via the 'md5' verification file that is available from the download site for the ISO.

You can download that '.md5' file and do a 'md5sum -c Slackware64-14.2.ISO.md5' to confirm a valid ISO image. If you are burning the ISO to CD/DVD then be sure to burn at a lower rate. Then verify your burnt ISO image on that media.

You can get Slack from the mirrors;
Quote:

SlackwareŽ Mirrors:
Official List of Mirrors
AlphaGeek's Unofficial Mirror List <<<<<<< Great
LinuxQuestions.org > ISOs > SlackwareŽ
elektroni <-FTP
Oregon State <- FTP/HTTP + Open Source Lab + Hosting Policy + bandwidth of over 1 gigabit per second
AlienBase <- Alien_Bob's mirror + 'via http' + rsync://bear.alienbase.nl/mirrors/ + 'The physical server is on a gigabit Internet connection, so I guess I can offer a speedy mirror service! In fact, the mirrors are already complete. With a re-sync of several times a day, I hope to offer an up to date service.' Read the intro + Alien has always been unselfish when it comes to Slackware :)
The Linux Mirror Project <- Categories: Distributions, kernel & Applications
Or from Get Slack

For new users it is recommended to do a full install.

EDIT: You can choose a default window manager via cli using xwmconfig;
Quote:

From 'man xwmconfig'; xwmconfig - choose a default window manager for X.

SYNOPSIS
xwmconfig

DESCRIPTION
xwmconfig provides a menu of the window managers available on the machine so that you may choose one of them to use when X is started with
"startx".

When run by root, it sets the symbolic link /etc/X11/xinit/xinitrc, which selected the default system-wide window manager to use for X, and
also creates a /root/.xinitrc file with the same window manager selected (perhaps suitable to move into /etc/skel/).

When run by a non-root user, xwmconfig writes out a $HOME/.xinitrc file, allowing the user to choose their own default window manager (possi-
bly overriding the one chosen as a system default).

Or you can rerun pkgtool as root to rerun script to choose.

You can find additional help at; https://docs.slackware.com/start
Hope this helps.
Have fun & enjoy!
:hattip:

Ztcoracat 05-15-2017 08:42 AM

Thanks onebuck.

What is stopping starx from working properly?

A corrupt iso maybe?

onebuck 05-15-2017 08:48 AM

Member response
 
Hi,

Possibly. Or no default window manager. User should check the '/var/log/Xorg.0.log' to see what is occurring on starting 'X'.

Ztcoracat 05-15-2017 09:12 AM

Quote:

Originally Posted by onebuck (Post 5710895)
Hi,

Possibly. Or no default window manager. User should check the '/var/log/Xorg.0.log' to see what is occurring on starting 'X'.

He said in post #5 that there isn't a /var/log/Xorg.log.

Can that log be created onebuck?

onebuck 05-15-2017 09:52 AM

Member response
 
Hi,

When 'X' is initiated the log will be created. Maybe this will help; https://wiki.archlinux.org/index.php/Xorg

Hope this helps.
Have fun & enjoy!
:hattip:

ash256 05-15-2017 02:53 PM

Thank you everyone,I'll go ahead and try to reinstall it, and I'll have a look at the docs when I have time :thumbsup:

Ztcoracat 05-16-2017 05:18 AM

Quote:

Originally Posted by ash256 (Post 5711065)
Thank you everyone,I'll go ahead and try to reinstall it, and I'll have a look at the docs when I have time :thumbsup:

You're Welcome.

Let us know how things go.... and don't forget to check the integrity of the .iso file.


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