Can't startx and use my keyboard properly.
Okay,
I just installed slackware 10.2 and I'm having problems. I can't use "startx" command. When I first login to slack as root I can "startx" but if I end the session I can't use it again or if I login as user I can't use the "startx" command at all. All I get when typing it is "command not found". AAAaalllllssssooo mmmmy keyboard isn't working too well as you can see. I haveee ttttthe logitech bluetooth keyboard / moussssssse MX5000. Any idea what's causing that? This only haaaaappens in X/KDE but in command prompt it works fine. |
If you are root and get a user acount by typing:
Code:
su either try Code:
su - Also remember, you have 6 different consoles to login, if you don't want to logout from root: Ctrl+ALT+F1 Ctrl+ALT+F2 ............. Ctrl+ALT+F6 |
Quote:
From the console, it's ctrl+f2, etc...(no alt) |
Quote:
SO instead of telling somebody if you are in X, press ALT+CTRL+Fx and then you can switch tty's with CTRL+Fx you tell them the combination that works everywhere:) |
You are correct, sir.
My humblest apologies (Never tried it....Thanks for the tip) |
The point is adding a user with adduser.
You log in as this user to startx. First, you should set up X with xorgconfig, run as root. |
Quote:
|
Quote:
I have two users besides root. Only if I like login as root in runlevel 4 and then switch to my normal user and type "startx" it gives me "command not found". If I login straigth as normal user I can get the "startx" to work. The keyboard is weird one. In KDE it giveeeeesss ttthiiiiiiiiiiiis kind of input but in runlevel 4 it works as it should have, although NumPad doesn't work and mouse is missing keys but that's because I haven't configured them yet. |
Quote:
|
Just
Code:
su user2 |
Quote:
Code:
su - user2 When you type su, without - the enviroment of the user is not loaded and the X directories are not loaded in the PATH: Code:
skalkoto@darkstar:~$ su So either use su - or use the whole path: /usr/X11R6/bin/startx P.S. Anyway this is not a good way to access your users. Better login the traditional way.... |
Ok, It was pretty "unclear" on your earlier post. Code without too much telling what it does. But thank you for your response.
Btw, What's the traditional way of login? :) |
Quote:
ALT+CTRL+Fx where x=2,3,4,5,6 (your are probably using the 1) Or logout from the current user, by typing "exit" or "logout" or by pressing CTRL+D and get a login prompt in the console. |
All times are GMT -5. The time now is 11:52 PM. |