I want to run some script/command (for setup keyboard layout) on X startup. I need a desktop independent solution, e.g. which works when user starts KDE, Fluxbox or any another window manager.
Users start X server manually by typing startx in console. As I understand, I can use ~/.xsession file to run my script. But when I make ~/.xsession executable, add to the end strings from script and restasrt X nothing happens.
My system is Slackware 12.2. Here is a command I want to run
I have tried everything including the "setleds" command and still can't seem to get my machine to have numlock on at startup. It is enabled in the bios. Anyone have this working and care to share?!
For some reasons, dhcdpd wouldn't connect eth0 at startup and it takes 10 to 15 seconds of timeout. Since I don't really care because I use wifi, I would like to remove auto dhcpcd at startup but I can't fint it anywhere in /etc/rc.*.
HP laptop with Intel graphicsunning Slackware current with a 2.6.38.7-smp kernel.Booting with the "nomodeset" kernel parm works but X gets stuck with a 1024x768 resolution. When booting without, the screen goes black after a few pages scroll by, just at the point where the console switches to a higher resolution. Changing to a different console didn't help, so I blindly log on and type startx, and the screen comes back to life with KDE running at the higher 1366x768 resolution, I try a few apps, the webcam, suspend to RAM, resume, and everything is now working flawlessly so it doesn't look like an X issue.At this point I can change to another console (or exit KDE altogether) and the screen is back on at the higher resolution. Looking at the X log and some dmesg output makes it seem that starting X possibly replaces, reloads or unloads a driver? If this is the case, how can I prevent the conflicting driver from loading in the first place?Quote:
I want to make my Slackware as me which Runlevel I want to use on startup.There should be the code for that at the end of rc.1 and default Runlvl 1 in the inittab.
My Slack takes some time to boot. It hangs about 5 secs in a line that reads:
Quote: /etc/rc.d/rc.M: eth1 information: "MySSID" Then, it polls for a DHCP server on eth1 (I didn't write down the exact message). I noticed that if my router is off, the polling process take quite some time to move on.. I tried to look the rc.M, rc.inet1 and rc.wireless scripts, but I couldn't pin point what to change... I tought of adding an '&' at the end of the command that issues the line I quoted and on the DHCP. The DHCP line I didn't search much, I'll try it later...
I have been using vim for years without problem but today I have met one weird scenario which I can't solve it after troubleshoot for the whole day and google around. This happen to my 2 machine at home which both installed with Slackware 13.1..I just got my laptop done setup with Slackware 13.1 and I ssh from my laptop to my desktop that have vim installed. I use one of my laptop virtual console to do the ssh login to that desktop.
And using vim in that laptop virtual console and Konsole itself, all works fine. The problem only occur when I ssh into the desktop using a virtual console.It seems like if I supply the vim specifically a .vimrc, it will work fine. It seems like it's taking forever to find the .vimrc file. But if I remove that .vimrc, it will also freeze. If I create a new user in that desktop and ssh again and then do vim, it will also freeze.Any one face this strange problem before ? I know I can still use Konsole to ssh and do vim, but I wish to solve this and since vim is been there for so long, I think this problem will most likely faced by someone before.
The program "qtconfig" does not load saved config on startup.
I just installed slackware-current from today's update (mirrored from ftp.slackware.com). The program "qtconfig" seems to have saved my changes to "~/.config/Trolltech.conf". However, after restarting qtconfig all options become the defaults.
I verified this in both the C locale and a UTF-8 locale.
Another computer of mine has a -current system from a few months ago and doesn't have this problem.
I've recently acquired an old HP Pavilion ZT3000 and have decided to install Slackware, but I'm having trouble with the whole rc.inet1 configuration stuff. I've been able to connect to the internet manually with the following command: Code: iwconfig eth0 essid [access-point-name] key restricted [my-wep-key] (...and then use "dhcpcd" to get an ip address.)
As you can see, eth0 is my wireless interface. Not exactly sure why (the comp has a IR port,wifi and Ethernet.) I'm using a shared WEP key (I know the security implications of WEP). The key being shared is the reason restricted is a parameter in the iwconfig command. I've been trying to get it working through /etc/rc.d/rc.inet1 but I can't seem to setup rc.inet1.config correctly I'm not sure where to set the key to "shared"
I've searched the forums and I could use the working iwconfig command with ./bash_profile as a startup script. This has the problem I need sudo (ie setup /etc/sudoer), which seems like a lot of work, when rc.inet should work. And it also has the problem of having to enter my password THREE times (login, sudo iwconfig and for sudo dhcpcd) which is horrible (and I don't even know how it would work when I set X to begin on startup again). I probably could also install "wicd" but having to ferry across files and trying to setup things without the internet is a pain.
I've been messing around with Slackware 13.1 and I screwed something up. I was trying to get Wicd to start automatically at startup so I found a chmod... line of code online and copy/pasted it on my command line. Now whenever I boot the computer, when I get to the KDE desktop, the BASH window opens, Opera opens and I get a bunch of Wicd error windows. How can I fix this?
I login as root every time (its a closed system) and I am running it on a laptop. I want to disable the touch pad after typing for 4 seconds.I have tried adding this command:syndaemon -i 4 -dto rc.4, rc.local, rc.httpd, http.mysqld
I once had wicd running at KDE startup as I was just playing around with it. The problem is I now have turned off rc.wicd and don't want to use wicd any more. Every time I start KDE it still asks for the root password which I cancel and it then tells me it can't connect to wicd's dbus. This is getting really annoying as I have been trawling through my ~ looking for the setting that starts this up. I just want wicd turning off completely and this message to go away.
I've googled this many times but have not found a solution yet. Can you get external usb hard drives to automount at xfce startup? They automount if I plug them in once xfce is started. I have them connected at boot I get an icon for the drive which I can then mount. But I wonder if I can get them to automount at startup
I recently upgraded to a Intel i3 cpu and Intel H55 motherboard. This was from an old P4 machine that was running Slackware 13.0. The machine is a single connection to the internet through a cable modem. I moved the hard drives over, and found that dhcpcd would not work with this board in either Slackware 13.0 or 13.1 (after updating). I tried both the Gigabit onboard Lan, an old PCI ethernet card and installing the most recent version of dhcpcd. No luck. Dhcpcd would negotiate the lease with my cable modem, assign an IP address. But after that the process stalled. The internet was unreachable, and no nameservers were printed in /etc/resolv.conf. Manually killing dhcpcd and entering: "dhclient -4 eth0" got me on the internet without a problem. As this appears to be a lingering problem with dhcpcd, I am going to try to use dhclient permanently. Has anyone else moved over to using dhclient? If you have modified your startup scripts in /etc/rc.d to use dhclient.
An error accoured during the root filesystem check.
Installed fresh Slack 13.0 version, at 7GB virtual hdd, with cfdisk, created two primary partitions, 500 mb for swap, whats left, to second partition, made it bootable, installed full software package, used all default selections, only refused to configure network. At first restart, I got a screen with many statements, that looks like errors, and a last one, that looks like critical error. An image I have been working on Windows my whole life and only worked with already installed linux systems a bit. Installed RedHat and FreeBSD on VirtualPC previously and succesfully. Now, I stumble upon this error and cant think of next step.
my Conky needed the Coretemp, and a friend of LQ told me to run modprobe, and it works greate! no every time I start my system, I need to run the modprobe to add the module to Kernel. How can I put the coretemp to start every startup? (I think there is somenthing to do with a file on the rc.module at /etc/rc.d/, but I'm afraid to do something stupid...) I want to make the conky running after start of the system. How can I do this?
After a new install of Slackware 12.2, I carried out the following procedures to get everything working successfully right out of the box. The server is a standalone system, used for testing and educational purposes, so please bear that in mind. NB: Throughout this post when you see a single # at the start of a line it means you are typing the commands as root user. You should not include the #, only the text after it.
### setup Apache with php enabled Login as root user on your Slackware box and type: # pico -w /etc/httpd/httpd.conf
I'm getting the following errors when I try to start skype:
[code]...
I installed Skype from the slacky.it package HERE. Everything was fine, all was stable and rosey, until I installed Inkscape today. I hadn't even noticed it wasn't running until someone got a hold of me and said they were trying to get a hold of me. When I went to fire it up, thinking that I had somehow inadvertently closed it, it sprang right up for just a second and then was gone. Same thing - three times in row. So I tried starting if from the command line and got that error. I can start it from the comman line as root, with the following error:
[code]...
The deps for Inkscape that I installed, and in the following order, were all from the 13.1 repo, and the ones I didn't already have installed were:
using any sort of rxvt-based terminal with TERM set to rxvt (or rxvt-unicode) then ^L will not clear the screen, only act as newline. This is not the behavior I see on Debian or CentOS. I have the same user environment at each site. Using urxvt on centos, ^L will clear the screen like readline(3) says it should. If I then ssh to slackware, it won't. exporting TERM=xterm will cause the correct behavior after having logged in to slackware, but I'd rather understand why this is happening. I've tried moving aside all the shell startup scripts, setting clear-screen explicitly in .inputrc, setting stty sane nothing doing. Am I missing something?
I recently tried to upgrade from 2.6.23 to 2.6.32 but kept on getting VFS errors. I had overwritten the old 2.6.23 kernel so there was no going back. Luckily,I had the 2.4.31 kernel still in the /boot directory.
Anyway, I finally got some time to figure out the VFS issues and I managed to solve the VFS kernel panics. It was probably a forgotten configuration setting during the make menuconfig. Now it boots up only to hang right after the "Using /etc/random-seed to initialize /dev/urandom".
Looking at the rc.S script, the next section does the dd if=/dev/urandom of=/etc/random-seed count=1 ...
I know for a fact that it isn't that line that hangs the system. I commented out that line and it still hangs.
Strange thing is that I can boot up 2.4.31 with no problem; but with 2.6.x, I get a hang-up. I did a google and came up with something about rc.udev.new, which I don't have.
Can someone point out to me what is executed right after/etc/rc.d/rc.S? Or maybe point out where it might be hanging? (To be honest, it's either a hang up or a process that's taking an extraordinary long time to run.)
I just upgraded to the 10.04 and everything works just fine as before (except for skype but that really doesn't matters as it has already been 3 years I'm using ubuntu and I managed to get it to work only once, for miracle I believe ^^). The only real issue I have is this: when I start up my laptop, after the log-in, no sound will be heared as the "speaker" volume level in alsamixer is set to 0; if I raise it from the terminal running alsamixer (as I don't know any other alternative) everything plays just fine, but the next time I boot I do have to do it all over again... So, how can I change the default startup level of the "speaker" in alsamixer?
PS: by the way I do have the very same issue with the screen luminosity but the other way round as is always starts at maximum brightness and I can't manage to get it to start at the minimum, as it did before. At least reducing the backlight if far more quick but a couple of times I forget it and the battery lasted something like half an hour
I have been given the task to install slackware 13.1 over windows. I have downloaded and copied slackware 13.1 on to a disk, and rebooted the computer, but i am not getting what all the tutorials have shown. I have been looking for tutorials that specifically instruct me as to how to install slackware 13.1 on to a windows xp. I am not trying to dual run I just simply want to run slackware and slackware only.
1: How much does it affect securty, over a lan network? 2: Will it cause any other security issues? 3: The most important is can I forwad X11 from a 32 bit slackware to a 64bit slackware
it's possible to compile the 2.6.37 kernel patched with the autogroup patch on a Slackware 13.1 system running 2.6.33.4-smp with 2.6.33.4 headers? I just compiled and installed the 2.6.37-autogroup kernel from AUR on my ARCH setup and I like it especially when using firefox with lots of tabs open and other background apps also running. I did notice a speed and smothness difference in my ARCH testing setup with this kernel patch and I can get same results in 13.1??
I installed slackware 13.1 x86_64 bit with multilib, and its been about a month already, I'm really enjoying slackware but I am being troubled with my nvidia card, and I need to get my 3D acceleration working. And I've been looking around the net for information and kept on trying to make my nvidia card to work but to no avail. I cant get X to start, once I put in a xorg.conf stating to use the nvidia card. After troubleshooting for almost 2 weeks and now at my wits end, I now come humbly looking for help in linuxquestions slackware community forum.I've installed nvidia 64 bit kernel, drivers from slackbuilds (version 256.44). The laptop model I'm trying to get it working is an -ASUS K52J Intel Core i3 2.40Ghz with 2GB RAM and with an Nvidia Geforce 310M with 1GB dedicated VRAM.
I recently installed Slackware Linux 13.1 , and my Wireless is down. I've only installed 3 Linux disto's on my main laptop (Ubuntu 9.10 , 10.04 , and Crunchbang Linux 9.04 , just had Crunchbang), and they all had the same problem. In all three , I was able to enable Windows Wireless drivers and every thing worked. Now , I'm assuming I have to the same ting in Slackware? Sorry , but I have no idea what my wireless card is. But I know that my laptop is a Dell Insprion E1705. One last thing , I did ifconfig and that wlan0 is my Wi-Fi interface. I typed ifconfig wlan0 up to see if that was the problem. After I did that , I got and error message. Then I typed ifconfig wlan0 down to see if it was down and it made wlan0 down. I tried bringing it up again , but I got an error saying it couldn't find the device specified. Also , how do I install XFCE? I really don't like KDE for some reason and would like to install XFCE. I chose XFCE over GNOME (my favorite) because I want to try something new.