LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Questions regarding Slackware (https://www.linuxquestions.org/questions/linux-newbie-8/questions-regarding-slackware-634957/)

kikuta 04-12-2008 07:42 PM

Questions regarding Slackware
 
Hi, I just installed Slackware v12. I'm trying to change my resolution by editing /etc/X11/xorg.conf and adding my monitor's resolution in (1280x1024), but it doesn't work out (still at 1024x768). I'm also trying to install my nvidia driver for my 8800GT. It's telling me to exit X server. I did that by pressing CTRL+ALT+F6 and typed in "sudo /etc/init.d/gdm stop", but it came up with a message saying command not found. This is all on KDE btw. Also I can't scroll down websites for some reason. I hope someone can help me out. Thanks in advance.

onebuck 04-12-2008 07:57 PM

Hi,
Quote:

Originally Posted by kikuta (Post 3119471)
Hi, I just installed Slackware v12. I'm trying to change my resolution by editing /etc/X11/xorg.conf and adding my monitor's resolution in (1280x1024), but it doesn't work out (still at 1024x768). I'm also trying to install my nvidia driver for my 8800GT. It's telling me to exit X server. I did that by pressing CTRL+ALT+F6 and typed in "sudo /etc/init.d/gdm stop", but it came up with a message saying command not found. This is all on KDE btw. Also I can't scroll down websites for some reason. I hope someone can help me out. Thanks in advance.

When you are working with the xorg you should be working with the cli as root. You should not be working from a terminal. The 'X' session told you that!

You could get so good background information from; SlackwareŽ Basics or SlackwareŽ Essentials.

You didn't state if it was a mouse scroll problem or if it was a bar problem. If is the scroll button for the mouse then the mouse type/manufacture would help. You would have to modify the '/etc/X11/xorg.conf' file to reflect the proper options for your mouse and type.

SqdnGuns 04-12-2008 08:20 PM

Quote:

Originally Posted by kikuta (Post 3119471)
Hi, I just installed Slackware v12. I'm trying to change my resolution by editing /etc/X11/xorg.conf and adding my monitor's resolution in (1280x1024), but it doesn't work out (still at 1024x768). I'm also trying to install my nvidia driver for my 8800GT. It's telling me to exit X server. I did that by pressing CTRL+ALT+F6 and typed in "sudo /etc/init.d/gdm stop", but it came up with a message saying command not found. This is all on KDE btw. Also I can't scroll down websites for some reason. I hope someone can help me out. Thanks in advance.

Post your xorg.conf.

kikuta 04-12-2008 08:37 PM

Quote:

When you are working with the xorg you should be working with the cli as root. You should not be working from a terminal. The 'X' session told you that!
What do you mean by cli?

This is my mouse. (I just can't scroll down websites if you get what I mean :scratch: and I'm using one of those crappy balled mouse that came with my DELL rig and I doubt they'll give me support)
Quote:

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
# Option "Device" "/dev/psaux"
# Option "Device" "/dev/ttyS0"
# Option "Device" "/dev/ttyS1"
Option "Protocol" "Xqueue"
# Option "BaudRate" "9600"
# Option "SampleRate" "150"

Section "InputDevice"
Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# Option "ChordMiddle" "true"

This is my monitor setup
Quote:

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection

SqdnGuns 04-12-2008 08:39 PM

The complete xorg.conf.......................

kikuta 04-12-2008 08:44 PM

Quote:

Originally Posted by SqdnGuns (Post 3119493)
The complete xorg.conf.......................

I'm doing it in the terminal
Quote:

nano /etc/X11/xorg.conf
is there another way in which I can copy and paste all the text like notepad?

cab15625 04-12-2008 09:19 PM

Quote:

Originally Posted by kikuta (Post 3119471)
I'm also trying to install my nvidia driver for my 8800GT. It's telling me to exit X server. I did that by pressing CTRL+ALT+F6 and typed in "sudo /etc/init.d/gdm stop", but it came up with a message saying command not found. This is all on KDE btw.

It seems like you're used to using Ubuntu or something similar ... Slackware is a little different, but once you get used to it you never want to go back to anything else.

First:
Anyway, if you're running a stock slackware and haven't gone through the effort to install some form of Gnome, then you don't have gdm installed on your system ... chances are it's either kdm or xdm that you are running. If you can't get at it any other way, then do the following rather than your "sudo /etc/init.d/gdm" ... login as root and

killall kdm

or

killall xdm

It's not gentle, but it gets the job done. Just make sure you save any work you were doing in X before you hit CTRL+ALT+F6.

Second:
By default, slackware has a pretty empty /etc/sudoers file compared to what distros like ubuntu will give you. You may have to configure it by hand to get it to work the way you're used to.

Third:
Slackware doesn't put much into the /etc/init.d directory. Most of the startup scripts go in /etc/rc.d. But even these are just startup scripts ... no actual binaries.

Finally, once you do get the nvidia driver installed, it usually asks to adjust your xorg.conf file for you ... your other problems might just go away if you're lucky :)

onebuck 04-13-2008 06:58 AM

Quote:

Originally Posted by kikuta (Post 3119492)
What do you mean by cli?

This is my mouse. (I just can't scroll down websites if you get what I mean :scratch: and I'm using one of those crappy balled mouse that came with my DELL rig and I doubt they'll give me support)

This is my monitor setup

The cli (command line) is where you should be doing any setup configuration for the xorg. If you are editing the '/etc/X11/xorg.conf' then it should be done from the cli without a "X' session process being active. Don't shell to it from a terminal as you were with 'KDE'.

You should post the complete sections of '/etc/X11/xorg.conf' that are relative to your problems.

Quote:

excerpt from '/etc/X11/xorg.conf'

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Device" "/dev/mouse"
Option "Protocol" "IMPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
The above would be the setup for a 'IMPS/2' mouse to activate the scroll wheel on one of my systems. What's crappy about the corded Dell mouse? It's a MS Intellimouse with the Dell logo, at least the ones I've got are MS that are private labeled.

You can copy from the 'editor' as you would with any other, just a little more work. You should either 'man' or 'google' for the commands for the editor of choice.

As for the video, we would need to see the video section and relative parts of the '/etc/X11/xorg.conf'. Along with the system information.

J.W. 04-13-2008 09:16 PM

Note also that LQ has a dedicated Slackware forum (in Linux-Distributions)

okos 04-13-2008 10:02 PM

Re nvidia driver install, see this post, it goes through the entire process. AND setting resolution.
http://www.linuxquestions.org/questi...om-kde-632157/


All times are GMT -5. The time now is 05:18 AM.