General :: Log A User In A Remote Computer Using Ssh?
Jun 9, 2010
I want to connect to a server via ssh and log in (remotely) a user in X11 (gdm).A little context: I need to install a wine application in 30 computers, but wine require X11, there is nobody loged there, so wine does not work properly. I want to remotely login in display=:0.0 a user so this user receive the window (it only start and close), there i need to ()neThere is no one logged on there. I need to start a graphical app there (wine installer) but I cannot because it needs a display with X11 (to open a wineconsole).
Resumen: Is it posible to log a user remotely on X11 My config: every computer have fedora 10 and gnome. Clarification: I do not want to do X-forwarding, I want to show the window on the remote computer, not mine. I want to log the user on the remote computer. If I go (fisicali) to the computer, the user should be logged on.
Update: I asked to gdm developers, but I had no answers... I'm starting to think there is no way. The only option I can think is to config autologin, restart gdm, and get the config normal again (all by script) But I have to read a lot for that and is not so important, I prefer to log in manualy 30 times.
I have a remote machine in which I need to login from my desktop using ssh without password and run a script at regular interval. I've read about rsa keys but couldn't make it out. can someone help me with this?
The tutorial (UNIX Tutorial) does not say anything about the license from a remote computer, I want to be able to save files in these folders of mine, but can not access from a remote computer. Normally the command would win R (Windows key and R) give me a sign up picture, it comes up but I can not access. The message that comes up is that the network path is not available.
How to launch the gui applications on remote computer(The application should be displayed on the remote computer, not on the computer from which command is given).
I have a computer that I use for practically everything. In the same room I have a second computer that I use purely for trialing Linux distributions, It currently has Debian, gNewSense and Kubuntu on it with Grub to choose between. This computer has no keyboard / mouse / monitor, but it has directly wired ethernet to the home network. Is there any way I can set it to be remotely controlled from before / during grub so I can choose from the other computer which to run? I realise I can just crawl behind the desk and unplug the keyboard / mouse / monitor, but I don't particularly want to every time I reboot into a different distro. I also realise that remote access during boot is a security risk so is there a way of allowing only one MAC address to do the controlling?
I would like to know how can I have remote desktop to a Linux Box without any disturbance of local user or others who logged in like me .I mean exactly like remote desktop in windows 2003 or 2008 which every users who logged in remotely has it's own desktop without any disturbance of others. and is this possible to do it from fedora to ubuntu and vice versa .
I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.
Execute putty to start a script on a remote linux server which requires user input The remote script does a read -p "Please enter name" NAME I can use plink to execute a script over SSH, the following attempts and problems are shown below :- Note the -load ns is to load a session that doesnt exist, ie ensure no defaults are used
1) plink.exe -load ns <ip_addr> -l <user> -pw <password> <script path/name> Problem) Doesn't allow/show user input, ie its non-interactive.
2) Add -t to allocate a pty :- plink.exe -t -load nc <ip_addr> -l <user> -pw <password> <script path/name> so now the user input can be seen, but I get Ctrl+H (^H) when backspace is pressed, ok if the user doesnt make a mistake!
3) Use putty instead with a saved session putty.exe -load "SavedSession" Get a new window opened, not a biggy, but not as nice. (b) saved session cannot be easily moved. (c) Get password prompt, cannot provide password like with plink, I know I know, use keys, but this is a closed, private network, and its easier not to bother with keys!I would like the SSH to execute in-line, that is from within the batch file/command line shell I am in, not prompt for username/password, run the linux script and allow prompts and delete/backspace to work.
Seemingly simple question, which yields slightly undesired results. Execute putty to start a script on a remote linux server which requires user input The remote script does a read -p "Please enter name" NAME I can use plink to execute a script over SSH, the following attempts and problems are shown below :- Note the -load ns is to load a session that doesnt exist, ie ensure no defaults are used
1) plink.exe -load ns <ip_addr> -l <user> -pw <password> <script path/name> Problem) Doesn't allow/show user input, ie its non-interactive.
2) Add -t to allocate a pty :- plink.exe -t -load nc <ip_addr> -l <user> -pw <password> <script path/name> Problem) Ok, so now the user input can be seen, but I get Ctrl+H (^H) when backspace is pressed, ok if the user doesnt make a mistake!
3) Use putty instead with a saved session putty.exe -load "SavedSession" Problem) (a) Get a new window opened, not a biggy, but not as nice. (b) saved session cannot be easily moved. (c) Get password prompt, cannot provide password like with plink, I know I know, use keys, but this is a closed, private network, and its easier not to bother with keys!
So ideally, I would like the SSH to execute in-line, that is from within the batch file/command line shell I am in, not prompt for username/password, run the linux script and allow prompts and delete/backspace to work.
My son needs me to do maintenance on his computer. He has a router installed for firewall purposes. I can see his router's IP address. How do I get past that address to his local address?
I hope I am not repeating a thread. I am trying something very simple: To remotely connect from a ubuntu desktop to another ubuntu server (physically not reachable). When I ping the server, it seems to be fine. However, when I try to ssh, the connection is closed by the host. I am the only one using the server. It worked fine a few hours ago and I was trying to copy a lot of data using a couple of scp sessions. At some point the connection was closed and I cannot access the server anymore.
As for what I am trying to do: I am looking for a way to run scripts and/or launch programs from a cell phone using SMS. I've found a few options close to this, but nothing that really fits what I'm trying to do. It seems I can either get speed or ease of use, but not both. To explain:
If I understand correctly, Evolution has this functionality through email, but email isn't instant. I'm trying, as best as I can, to use my phone almost like a remote; sending email from my phone would create a considerable wait time.
Using Pidgin's Buddy Pounce feature with AIM lets me use SMS to get a quick response, but I'm running into the problem that I can't make its action depend on what the message says. I want to be able to text, say, "Shutdown", and have my computer run a shutdown command, but Pidgin's Buddy Pounce feature doesn't seem to support checking for specific messages. I've been unable to find a plugin that changes this; if there was, it'd probably be my best bet.
Bluetooth is out; my computer's bluetooth adapter died a long time ago. Additionally, some of the things I'd like to do would be when I'm not near the computer, so even if it was functional, it would be limiting.
Anything that requires any apps for android, iPhone, or w/e are out too. I have an LG Dare, and while it's a nice phone, you can basically forget custom apps.
So, to recap, I'm trying to find some way of sending an SMS or email from my phone, have it be received as quickly as possible, and have the computer run a console command based on the content of the SMS/email. Any ideas?
My home network consists of two computers that share one internet connection via a router. I have a desktop computer that runs Ubuntu (Karmic), connected via ethernet; and a netbook that runs Windows 7 (will be Ubuntu, eventually), which connects wirelessly. Both computers have multiple user accounts. What I would like to do is access my account on the Ubuntu desktop via the netbook while my wife is using the desktop with her account (or enable her to access her account on the desktop while I am using it). I looked into VNC, but it, apparently, only supports the active desktop. So, if someone connected to the computer while it was in use, they would be looking at the other user's desktop. Is this a misconception on my part?
So, I have 3 questions: -From the netbook, how can I log into my account on the desktop and just get a command-line shell? - From the netbook, how can I log into my account on the desktop and actually have access to my Gnome desktop? - If I leave my house with the netbook, and want to log into my desktop machine across the internet (CLI and/or Gnome), how can I do that?
I want to use one computer to control Banshee on another computer in the room. without using remote desktop. That's not going too well for me (it works, but it's slow and clunky over my network).
I'm trying to access a remote computer by tunnelling VNC through ssh. I've used VNC for years, but never through ssh. Both computers are running Fedora 14, installed by me. Doing a general Internet search, I found three articles, and they all had basically the same instructions. However, they don't seem to work. Here's what I did. Call my local computer "computer A," and the remote computer "computer B." I installed vncserver on B using yum:
(1) yum install tigervnc-server (2) Then on B I started the server:
vncserver The first time you do this, you're asked to set up a password. Everything else was automatic. I did nothing to /etc/sysconfig/vncservers.
(3) With vncserver running on B, on A I issued the following command:
ssh -L 5901:localhost:5901 username-on-B@IP-address-for-B After giving the password, this logged me into a terminal session on B.
(4) At that prompt on B, I issued this command:
vncviewer localhost:1 According to the tutorials I found, this is the last step. The desktop window on B should open. It does not work. The following error was given: vncviewer: unable to open display "" What am I doing wrong? How does one tunnel VNC through ssh?
I want to show you this scheme:MyPC -> router -> internet <- router <- Mom'spc I want to connect from my pc to my mom's pc using ssh. The first router doesn't represent a problem, but my mom's router does. Our IPs are both dynamic (anyway, I can easyly know them) and I have opened the port (TCP/UDP) 2100 on the router in order to open a gateway on mom's pc.The firewall is not enabled on the router, nor on mom's pc.
Granted all this, now I should be able to connect to that computer using ssh:ssh user@ip -p 2100 But I can't, I always get a "connection refused".if I do it on my intranet, I can connect without any problem (to others computers, of course, not mom's) What's the reason because I always get a connection refused?
I have a small netbook that I would like to use as a terminal for my main computer, so instead of opening Gnome-terminal on my computer it will run from my netbook.
what i want to know is how to ssh from my netbook into my main computer and run an application on that computer.
So i would like to be able to ssh into my computer, and when i type "vlc movie.avi" it will open and run on the REMOTE computer just as if i had opened gnome-terminal and typed the command there.
Note: I'm not looking for something/anything like "ssh -X" or VNC or Remote Desktop.
I have windows XP and Ubuntu 10.10 installed on the same computer. I want to remote access windows xp from Ubuntu. I have tried remote desktop viewer, terminal server client and tight VNC but nothing works.
I'd like to set up remote desktop which I can access from any computer with a VNC client, without knowing the IP address in advance and without having access to the "server" at the time of access. I'm aware of the security risks, but there's nothing critical on the server computer, and I'll make sure I use a good password, so I'd still like to go ahead. Is this possible?
I forgot to run a GUI process on a remote computer. I need to run the application as if I was at the computer i.e the application needs to open on the desktop on the remote computer.
I can connect to the computer through an ssh tunnel via another computer at the remote site and run non GUI based processes using Screen or bring some GUI programs to the computer I'm working from using the ssh -X option, however, this is not what I'm looking to do.
On Windows I used to use a program from sysinterns called PsExec which would let me start applications such as Word on the remote computer and I'm hoping that there is something similar on Linux.
I need to be able to login to my brother's comp, which is in another place quite far away from mine, and help him install some softwares and get some settings done for him, as he's more a newbie than me, but has been only able to install ubuntu successfully. He has a broadband connection and I have one too. I have used ssh over Lan and have been successful in this regard. From my understanding of the manual page, i don't think I can use ssh over two different networks. Which similar command/package will work for me if I want to login to his comp and execute commands as easily as I can do using ssh for two computers on the same network.
FTP from and from my home computers to 2 remote servers has become really slow over the past month. One of the remote servers I manage and the other one is taken care of by a hosting company, so I am thinking the problem is residing on my end. It doesn't matter if I am downloading 1 file or 10 files, they are all coming in at 9 kb/s which is really slow cause I have a 7 megabit connection. I've tried using multiple computers and still have the same problem. I am using proftp for the ftp server and filezilla for the client.
I regularly need to copy files from a remote computer to wherever I am working. I've ben looking into alias and the .bashrc (or .profile in the remote computer - mac) Can I use scp in these files? I've tried:
Code: alias='sch usr@location:' then when in the local terminal:
Code: sch path/file . But this doesn't work.
Better would be copying when logged into the remote location, but I haven't figured that out in terminal yet, let alone an alias for it. Hopefully it'll be a quick solution!
I can ssh to the remote computer OK, but the commands execute on the local machine, not the remote machine as they should. After much frustration I did the following hoping to clear the problem. I turned off all machines on my LAN, the hub and the router. I then rebooted everything in the reverse sequence - cable modem, router, hub, and then the computers.Then I reinstalled ssh on both machines.
sudo apt-get purge openssh-server openssh-client sudo apt-get install openssh-server openssh-client sshd in now running and port 22 shows on both machines. However the problem persists.
Is it possible to use ssh to launch a program and it's gui on a remote computer? I've tried connecting with ssh -X computer@ipaddress but when I launch gedit it loads on the local computer