$DISPLAY env not set using ssh [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I'm using ssh from my Mac terminal to login to a server at my university. I'm trying to launch cscope which uses X and get "Error initializing application (Tcl_AppInit?): no display name and no $DISPLAY environment variable". This is expected. I've tried adding the -X parameter when logging in but that doesn't work. I know this can work with putty and x-term but that's only with Windows machines. Is there any way to launch a gui just from my terminal through playing with $DISPLAY and X tunneling? Thanks!

Before you ask a question it's recommended that you try to do some research on your own. A little searching can go a long way.
Anyways
how-to-enable-x11-forwarding-with-ssh-on-mac-os-x-leopard
MIT article on the subject
my Google search
If you can't get it working, I suggest looking at the Super User Q&A forums.
Super User is similar to Stack Overflow but it's more geared towards arcane terminal stuff and general computer questions whereas Stack Overflow is more geared towards programming specifically. You might be able to find more knowledgeable people there.

Related

Installing a script file in 1200 Linux servers [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I need put a script file and a line in crontab in 1200 Linux servers.
How could I do this task automatically ?
Many many options!
write a script that connects via SSH to each of those servers, and have it create your script file & modify crontab!
use Ansible!
use SaltStack!
use < some other configuration management framework >!
Seriously though, are you suggesting you are in charge of 1200 servers and the usual procedure of doing, well, anything is by hand? Flabbergasting!

Run SSH without ANY Authentication [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 6 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I know it flies in the face of the very notion of a "secure shell," but I would like a way to run SSH that requires absolutely no authentication whatsoever. I have a collection of machines that run on a totally air gaped network. It's used for a hardware prototyping project, and for reasons beyond my understanding some of these machines occasionally start asking for a password regardless of the fact that they have all been cloned with the same SSH keys that work some times.
I'd really like to side step all the security issues that can prevent SSH from connecting to a machine. I've seen in other posts people strongly recommending against what I am trying to do; but I've wasted enough time trying to fight SSH's security features. Is there a flag I can use? A change to a config file? Another version of SSH I can install?
Any help would be appreciated.
It seems that you want a 'remote shell', so try rsh.

How can i can find the most frequently applications used by a user in Linux? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Is there any way that i can find the most frequently applications used by a user in Linux? In Windows you can read this information from registry.
Make sure that accounting is turned on:
chkconfig psacct on && /etc/init.d/psacct start
...and then get summary info with sa. Look at examples here or here.
My own experience is that the most frequent command in the account is a shell.

Detect incoming ssh connection [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I'm working on a network with many Linux machines.
In one of them I have a file that I suspect was pushed by another machine.
The machines can access each other using ssh connections.
Is there anyway I can tell which machine pushed the file?
I tried looking for ssh logs but the /var/log/secure/ directory doesn't exist.
Depending on the distro and your logging settings, you may have some luck with /log/auth.
Try grep sshd /var/log/auth.log
Depends on your distro, you can check following files from your distro.
/var/log/secure
/var/log/auth.log
/var/log/syslog
/var/log/daemon.log

Linux restores windows on reboot [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
A computer has been overloaded with too many windows/programs at once which leads to crash. Unfortunately the system is configured (somehow) to reload all of these windows/programs on reboot, does anyone know how to get around this and have a clean boot? Thank you..
Log into a terminal (hit ALT+CTRL+F1) and edit/remove your session file (dependent on desktop environment).
Better aks for help on askubuntu

Resources