LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-14-2017, 03:46 AM   #1
ash256
LQ Newbie
 
Registered: May 2017
Posts: 4

Rep: Reputation: Disabled
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.
 
Old 05-14-2017, 05:04 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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?

Last edited by Ztcoracat; 05-14-2017 at 05:08 AM.
 
Old 05-14-2017, 07:09 AM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
$ 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,
 
1 members found this post helpful.
Old 05-14-2017, 08:24 AM   #4
ash256
LQ Newbie
 
Registered: May 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-14-2017, 09:54 AM   #5
ash256
LQ Newbie
 
Registered: May 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
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)
 
1 members found this post helpful.
Old 05-14-2017, 10:21 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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.

Last edited by Ztcoracat; 05-14-2017 at 10:42 AM.
 
Old 05-14-2017, 10:47 AM   #7
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Xorg plays a very important role in an os.

http://linuxcommand.org/man_pages/Xorg1.html
 
Old 05-15-2017, 08:12 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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!


Last edited by onebuck; 05-15-2017 at 08:40 AM. Reason: typo & add comment
 
Old 05-15-2017, 08:42 AM   #9
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Thanks onebuck.

What is stopping starx from working properly?

A corrupt iso maybe?
 
Old 05-15-2017, 08:48 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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'.
 
Old 05-15-2017, 09:12 AM   #11
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by onebuck View Post
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?
 
Old 05-15-2017, 09:52 AM   #12
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
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!
 
Old 05-15-2017, 02:53 PM   #13
ash256
LQ Newbie
 
Registered: May 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-16-2017, 05:18 AM   #14
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by ash256 View Post
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
You're Welcome.

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Keyboard and mouse don't work after typing "startx", athenian200 Gentoo 4 05-13-2016 04:13 PM
"startx dosent work anymore debian 2.4 " martianoffmars Debian 5 11-06-2010 03:53 AM
Yet another "startx won't work" question. Here's the debug information. tux_addict Debian 4 12-06-2007 02:07 AM
Weird! ATI Drivers work only after logout, followed by "startx" in prompt pitchaxistheory Mandriva 1 10-14-2004 05:51 PM
Option "ZAxisMapping" "4 5" won't work apax Linux - Hardware 7 11-06-2003 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 05:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration