Slackware startx not working
Hi,
Google hasn't returned anything relevant for this. Fresh install of Slackware 13.37, when i enter startx the prompt basically does nothing, it doesn't return an error message at all it just goes to another prompt line. Code:
root@darkstar:~# startx I've tried it as root, as well as created a new user to try it. Both no joy. Any ideas? |
Firstly, why are you attempting to startx as root?
|
Because i tried as user. It should work as root as well. That is not the issue.
|
Do startx again as a normal user
Code:
$ startx Code:
$ cat ~/.xsession-errors Code:
$ grep 'WW\|EE' /var/log/Xorg.0.log |
Quote:
Code:
cat: /home/rp/.xsession-errors: No such file or directory |
There is specific Slackware are in this forum. As Slack is quite special distro, this newbie section is not the best place to find solutions.
http://www.linuxquestions.org/questions/slackware-14/ however you can go to /var/log/packages and see there, what packages are installed? how many "xorg-server-*" packages are there? You really need to install basically everything under x and selectively under xap (or all if HD space permits). The language packages you are referring to are probably the KDE ones. |
Please do not startx as root.
Was it a full install? It shouldn't happen on a fresh install, but make sure there's a desktop environment / window manager selected in xwmconfig. |
OK thanks for your input everyone, this definitely shouldn't happen with a fresh install so i must have done something wrong in setup, will start over again. I just wanted to check like i wasn't missing something obvious. Will post to slackers forum in future.
Cheers |
Moved: This thread is more suitable in <SLACKWARE> and has been moved accordingly to help your thread/question get the exposure it deserves.
|
You actually can start an X session in root, but beware that as root your system is more vulnerable, so try not to mess around as a root user unless absolutely needed. Root is for system administration, not normal work. If you do need root access just use the "sudo" or "su" tools to run things as with root privileges or as root through user.
You probably have an installation that may or may not have everything installed from the installation disk if that's the route you went. You could try to navigate to /etc/slackpkg and see if the "mirrors" file is editable with the text editor "nano", uncomment a choice file server, save the file and the run slackpkg with upgrade-all and install-new to see if it can remote install and repair your system. |
Check if your user(s) are in the correct groups?
|
For fun, you could've tried booting into runlevel 4 [via /etc/inittab]... my guess is X was not installed.
|
Wouldn't make sense, [X] contains xinit which is what what contains /usr/bin/startx. He didn't get "startx: No such file or directory", but it is likely he hasn't done a full install, or isn't a part of the necessary groups since startx generally works out of the box.
|
The groups for the user(s) should include the "video" group in order to access x11 correctly, which is normally a default, however he ran startx as root which has full permissions systemwide.
Running slackpkg or even pkgtool to check the packages should at least see if packages were or weren't installed. |
If X wasn't installed a "startx" would yield:
bash: startx: command not found No? |
All times are GMT -5. The time now is 11:55 PM. |