Click here to Skip to main content
15,887,822 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Thought of the Day Pin
Kris Lantz16-Mar-20 7:31
professionalKris Lantz16-Mar-20 7:31 
GeneralRe: Thought of the Day Pin
AndyChisholm17-Mar-20 11:34
AndyChisholm17-Mar-20 11:34 
GeneralRe: Thought of the Day Pin
Dr.Walt Fair, PE19-Mar-20 11:17
professionalDr.Walt Fair, PE19-Mar-20 11:17 
GeneralNot sure I can ever trust Ubuntu again: im an idiot Pin
raddevus16-Mar-20 4:31
mvaraddevus16-Mar-20 4:31 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
CPallini16-Mar-20 4:41
mveCPallini16-Mar-20 4:41 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
raddevus16-Mar-20 5:34
mvaraddevus16-Mar-20 5:34 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
CPallini16-Mar-20 5:52
mveCPallini16-Mar-20 5:52 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
k505416-Mar-20 4:44
mvek505416-Mar-20 4:44 
You might be able to boot to single user. Generally CTL-X, at the boot screen, then add "single" to the kernel boot parameters.
Alternatively, get a Knoppix (or other) Live CD/DVD and boot from that. Mount the root partition from the laptop's hard drive, and blank the password in /etc/shadow
e.g from something like this:
k5054:$6$gVGCezrmD49p1H/a$S2YUlUknRaPHIjdskN6dQ1GJeZpxxg4hlnuCB68CO8ZgmGEmAQiYjn0wjc83bM8aGOaYTdprtva0rIRRGVLSu1:18108:0:99999:7:::
to this
k5054::18108:0:99999:7:::
Save, reboot, change password when you get logged in.
Next, generate ssh-keys for your both your Desktop and Laptop, and do a ssh-copy-id between the two. You should now be able to ssh in either direction without a password. If you'd prefer to retain the security of a password, add a password when doing the ssh-keygen.

If you'd prefer not to hard-boot the laptop you might be able to CTL-ALT-DEL to trigger a reboot (or a tap on the power button might work too). If the "Vulcan Neck Pinch" doesn't work from a GUI screen, you should be able to get to a non-gui login using CTL-ALT-Fn. I'm not sure which virtual console Ubuntu uses. Fedora uses VT1, and other systems uses VT7 or VT5, so try F4 or F6.
GeneralRe: Not sure I can ever trust Ubuntu again Pin
k505416-Mar-20 5:01
mvek505416-Mar-20 5:01 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
raddevus16-Mar-20 5:17
mvaraddevus16-Mar-20 5:17 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
k505416-Mar-20 5:41
mvek505416-Mar-20 5:41 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
raddevus16-Mar-20 5:57
mvaraddevus16-Mar-20 5:57 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
k505416-Mar-20 6:05
mvek505416-Mar-20 6:05 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
Mark_Wallace16-Mar-20 6:10
Mark_Wallace16-Mar-20 6:10 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
5teveH16-Mar-20 5:13
5teveH16-Mar-20 5:13 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
raddevus16-Mar-20 5:18
mvaraddevus16-Mar-20 5:18 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
5teveH16-Mar-20 5:24
5teveH16-Mar-20 5:24 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
raddevus16-Mar-20 5:31
mvaraddevus16-Mar-20 5:31 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
User 1106097916-Mar-20 5:15
User 1106097916-Mar-20 5:15 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
raddevus16-Mar-20 5:19
mvaraddevus16-Mar-20 5:19 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
User 1106097916-Mar-20 5:31
User 1106097916-Mar-20 5:31 
GeneralRe: Not sure I can ever trust Ubuntu again Pin
raddevus16-Mar-20 5:32
mvaraddevus16-Mar-20 5:32 
GeneralRe: Not sure I can ever trust Ubuntu again: im an idiot Pin
theoldfool16-Mar-20 5:32
professionaltheoldfool16-Mar-20 5:32 
GeneralRe: Not sure I can ever trust Ubuntu again: im an idiot Pin
raddevus16-Mar-20 5:33
mvaraddevus16-Mar-20 5:33 
GeneralRe: Not sure I can ever trust Ubuntu again: im an idiot Pin
dandy7216-Mar-20 5:43
dandy7216-Mar-20 5:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.