Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I successfully installed a script to automatically launch in /etc/init.d on my new Raspberry Pi.
Unfortunately, it is a node.js app that never returns, and therefore hangs the device during boot (this is on Debian). Yes, I'm an idiot.
Is there a secret handshake I can do during boot to prevent it from running my init.d script so I can get to login and a shell to fix it?
What I did to solve this is this, and I warn you, it involves Windows.
I mounted the flash card on my PC and edited "cmdline" and added "ro 1" to the end of the kernel config. This only allows boot to proceed thru runlevel 1 and then drops you into root shell after a prompt.
NOTE: Windows 8 can read the kernel config file unmodified - no special drivers needed.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm using gdb to debug a program via a ssh session. After a while, the ssh session closed, and I can find it using ps command after I establish a new one. Is there any way that I can bring it back to foreground? The environment is Linux Redhat
No.
The proper way to do this would be to use a program like screen or tmux to start the gdb session. This way, you can re-connect to your screen/tmux session even if your SSH session dies.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
EDIT:
To be precise i wanted to control a windows host from a Linux command line.
Like executing a command under windows through ssh session or telnet from linux.
Windows doesn't have any inbuilt sshd server like linux.
So i would like to know whether it is possible or not.
You do it with winexe the look at winexe.
The page says it is capable of of running command on Windows NT/2000/XP/2003 systems from GNU/Linux (and possibly also from other Unices capable of building the Samba 4 software package).
I can also tell you that after configuring the windows firewall properly it also works on Windows 7 and Windows server 2008.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
In one of my linux box, some program (database archiver process) has consumed all the space available. I am not able to access this box using ssh username# so that I can login to box and do the clean up and fix the rouge process. Could you please let me know how we can connect this box in such scenario.
If it is local machine, unattachment the hard drive and then connect it with another PC then manually remove extra files there.
You will have to login as root.
If you have physical access to the machine, boot a live version of your linux from CD/DVD/USB. From there you can get a root shell, mount the drive, and clean it up.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am trying to get 2 monitors setup.
I have Radeon HD 4800, using the open-source driver. 64bit.
When i change the monitor settings in KDE it changes, but when i reboot: the monitors is going back to duplicated (screen settings have not been saved).
This is the settings i want:
How can i make the system automaticly use these settings at boot?
I solved it. Made a script 1920x2.sh in /etc/X11.
xrandr --output DVI-0 --auto --output DVI-1 --auto --right-of DVI-0
Added this script to Alt + F2: Autostart.
Maybe not the best solution, but i works.
To try to troubleshoot this, launch KDE from the Linux console and check its error output. Also check the Xorg log (usually found on /var/log/xorg.0.log). You may need to generate a config file manually. You could also try running display settings as root.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
i am trying to get the remote access from windows system to linux system using teamviewer but when the connection is established the windows system sees the black screen. so anyone can help me how to establish the fair connection.
I had the same problem - for me with two solutions. On some systems, it just took about 30sec for the screen to build up (in that case, just be patient) and in the other case, there was a driver problem. Try to change the driver to the default ubuntu one and deactivate the proprietary hardware driver in that case.