[opensuse] Some Leap Experiences and Issues
Hi Folks, I finally took the leap and installed Leap on an old Dell Latitude D830 laptop. I normally install Ubuntu on laptops because I've historically had better luck with hardware discovery and function, such as WiFi. But I wanted to give Leap a go. I installed from a sha256-checked DVD and everything went well. The Broadcom BCM4312 WiFi system wasn't detected, but I was able to one-click install the drivers from https://software.opensuse.org/package/broadcom-wl after I hooked up wired Ethernet. All was then well and the wired Ethernet could be removed. Leap did a remarkable job of detecting everything, such as the screen brightness and audio volume function keys. The trackpad worked okay too. But it had problems with a wireless usb mouse. It just didn't detect it. It did find the little cursor stalk between the G and H keys. But it doesn't handle a remote usb keyboard either. The Logitech keyboard has backlit keys and it just sits there and flashes the backlighting on and off. Oh, Leap didn't automatically configure the sound system, I did it after the install with Yast2. But in fiddling around I found the trackpad option to disable the trackpad when an external mouse is detected. This is cool, so I gave it a try. I was worried a bit about loosing the trackpad, but it's a new install and can quickly be redone. Well, I was right! The trackpad and its buttons were disabled, but the usb mouse was still undetected. The cursor stalk still worked, so I think Leap assumed the stalk was an external mouse. Alas, there are no buttons associated with the stalk, so I lost all mouse button capability. This makes it really hard to do anything! No problem, I say, I'll just login as root, remove my first default user, then recreate and loose the trackpad disablement. But, there's no way to login as root!!! No problem, I say, I'll just boot into bash by adding init=/bin/bash on the Grub "linux" line. Great, that works and I've got a command prompt. But, the shell seemed to be running as an unpriviledged user! It would say "/usr/sbin/userdel appears to require root authorization, which you don't have", or some-such. It wouldn't let me do anything that required root authorization! I've didn't try to boot into "single-user" because of bad experiences I've had with a certain initialization system. No problem, I say, I'll just login to IceWM with the default userid, become root, and create a new user without the bad trackpad juju. That worked, and I created a new user using useradd. But then, when I login I get the nice Leap light-bulb screen, but then I get a black screen with only the cursor showing. The cursor moves by the trackpad though. No problem, I say, I'll just use yast2 to create the user, that will surely work. Alas, no, the black-screened new user remains after being removed and re-created. So at this point, the laptop has only one user which can use only IceWM. What did I do wrong? Is it time to re-install from scratch? Will I be able to create new Plasma5 users? Regards, Lew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
06.12.2015 19:43, Lew Wolfgang пишет:
No problem, I say, I'll just login as root, remove my first default user, then recreate and loose the trackpad disablement. But, there's no way to login as root!!!
I have XFCE installation and I can login as root. Did you select initial user during installation? Did you set user password (I think default checkbox is to use the same password for root as for initial user).
No problem, I say, I'll just boot into bash by adding init=/bin/bash on the Grub "linux" line. Great, that works and I've got a command prompt. But, the shell seemed to be running as an unpriviledged user! It would say "/usr/sbin/userdel appears to require root authorization, which you don't have", or some-such. It wouldn't let me do anything that required root authorization! I've didn't try to boot into "single-user" because of bad experiences I've had with a certain initialization system.
That's due to missing /sbin and /usr/sbin in PATH. Just set them or use full path. But do not forget that you will need to remount / rw and to mount all subvolumes first if you used default btrfs layout. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/06/2015 09:05 AM, Andrei Borzenkov wrote:
06.12.2015 19:43, Lew Wolfgang пишет:
No problem, I say, I'll just login as root, remove my first default user, then recreate and loose the trackpad disablement. But, there's no way to login as root!!!
I have XFCE installation and I can login as root.
Did you select initial user during installation? Did you set user password (I think default checkbox is to use the same password for root as for initial user).
Yes, I configured the "initial user" during installation. Different password for root.
No problem, I say, I'll just boot into bash by adding init=/bin/bash on the Grub "linux" line. Great, that works and I've got a command prompt. But, the shell seemed to be running as an unpriviledged user! It would say "/usr/sbin/userdel appears to require root authorization, which you don't have", or some-such. It wouldn't let me do anything that required root authorization! I've didn't try to boot into "single-user" because of bad experiences I've had with a certain initialization system.
That's due to missing /sbin and /usr/sbin in PATH. Just set them or use full path.
But bash was finding the executables in /usr/sbin, it just wouldn't run them. This is different from 13.1.
But do not forget that you will need to remount / rw and to mount all subvolumes first if you used default btrfs layout.
Ah, I forgot to mention that I used ext4. I'm not quite ready for btrfs yet. I'd prefer ReiserFS actually... Regards, Lew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
06.12.2015 21:42, Lew Wolfgang пишет:
No problem, I say, I'll just boot into bash by adding init=/bin/bash on the Grub "linux" line. Great, that works and I've got a command prompt. But, the shell seemed to be running as an unpriviledged user! It would say "/usr/sbin/userdel appears to require root authorization, which you don't have", or some-such. It wouldn't let me do anything that required root authorization! I've didn't try to boot into "single-user" because of bad experiences I've had with a certain initialization system.
That's due to missing /sbin and /usr/sbin in PATH. Just set them or use full path.
But bash was finding the executables in /usr/sbin, it just wouldn't run them.
No, it does not find them. See "type command_not_found_handle".
This is different from 13.1.
Well, probably in 13.1 this function (command_not_found_handle) was not defined in this case, or PATH included /sbin:/usr/sbin. If you still have it, you can easily check. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/06/2015 11:09 AM, Andrei Borzenkov wrote:
06.12.2015 21:42, Lew Wolfgang пишет:
No problem, I say, I'll just boot into bash by adding init=/bin/bash on the Grub "linux" line. Great, that works and I've got a command prompt. But, the shell seemed to be running as an unpriviledged user! It would say "/usr/sbin/userdel appears to require root authorization, which you don't have", or some-such. It wouldn't let me do anything that required root authorization! I've didn't try to boot into "single-user" because of bad experiences I've had with a certain initialization system.
That's due to missing /sbin and /usr/sbin in PATH. Just set them or use full path. But bash was finding the executables in /usr/sbin, it just wouldn't run them. No, it does not find them. See "type command_not_found_handle".
Just tried it again. I added init-=/bin/bash to the grub2 "linux" line. It then boots into a bash shell. I then noticed that / is mount ro at this point. This is different. So a mount -o remount,rw / fixed that. Then typing just "useradd" returns: Absolute path to 'useradd' is '/usr/sbin/useradd', so running it may require superuser privileges (eg. root). So I then tried "sudo useradd" and that worked. Also different from 13.1. I now have a new user. I set the password with "passwd" and rebooted. Now I try logging in to the Plasma5 gui and all I get is a BSOD+cursor that moves under command of the touchpad. So after the dust has settled, my question now boils down to "how do you make a new user in Leap?" Have other folks seen this or did I bork something up in my stumbling around? Regards, Lew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Lew Wolfgang wrote:
So after the dust has settled, my question now boils down to "how do you make a new user in Leap?" Have other folks seen this or did I bork something up in my stumbling around?
With YaST ? -- Per Jessen, Zürich (2.2°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/06/2015 11:43 AM, Lew Wolfgang wrote:
No problem, I say, I'll just login as root, remove my first default user, then recreate and loose the trackpad disablement. But, there's no way to login as root!!!
Is this back to the issue that the GUI with KDM doesn't offer a root option? If you want to stay in the GUI then you can run 'su' and then start yast. If all you want if the command line then try Ctl-Al-t-F1 to get a root prompt. This is, to my mind, the simplest way to get to userdel/useradd, but then I generally use the CLI for root operations as I'm a sysadmin of the old school. I admit that yast is good for many things that are suse-specific or hardware specific and need more smarts, but all to often yast is a shim for commands in /sbin & /usr/sbin. Its value is in the checking and constraints it imposes. As Andaei said, you should have set the root password when installing the system. -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 12/06/2015 09:29 AM, Anton Aylward wrote:
On 12/06/2015 11:43 AM, Lew Wolfgang wrote:
No problem, I say, I'll just login as root, remove my first default user, then recreate and loose the trackpad disablement. But, there's no way to login as root!!! Is this back to the issue that the GUI with KDM doesn't offer a root option?
I remember that discussion, but I didn't pay any attention to it. This "may" be a use case for allowing root gui login?
If you want to stay in the GUI then you can run 'su' and then start yast.
But the GUI (KDE) is useless because the mouse keys are blocked. I couldn't do anything! The only user presented on the login screen was the user that was broken.
If all you want if the command line then try Ctl-Al-t-F1 to get a root prompt. This is, to my mind, the simplest way to get to userdel/useradd, but then I generally use the CLI for root operations as I'm a sysadmin of the old school.
Ah, I didn't think of Ctl-Alt-F1. That works.
I admit that yast is good for many things that are suse-specific or hardware specific and need more smarts, but all to often yast is a shim for commands in /sbin & /usr/sbin. Its value is in the checking and constraints it imposes.
I agree, that's why I tried useradd first.
As Andaei said, you should have set the root password when installing the system.
Yup, I did that. I'm still at the point where useradd will add a user, but Plasma5 opens to a completely black screen with only the cursor showing. New info: I edited ~/.config/touchpadrc line saying DisableTouchPadWhenMouse=true, changing true to false. That worked, the touchpad returns. But things are strange, the touchpad buttons work intermittently, windows float up and off the screen seemingly at random, while random touchpad scratches sometimes brings them down again. Now, both touchpad buttons are dead and I'm back to not being able to do anything. Again, the other user I created still has a BSOD+cursor. I'm tempted to blow it all away and start over again. Maybe I inadvertently pulled a knuckle-headed move somewhere? Regards, Lew -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
Anton Aylward
-
Lew Wolfgang
-
Per Jessen