General :: Start A Remote Login Session From Script To Any Server?
Nov 11, 2010How to start a remote login session from script to any server?
View 1 RepliesHow to start a remote login session from script to any server?
View 1 RepliesI can't start a Remote-Session and I'm looking to the log-files at the moment. Where are the logfiles for NX?
I found, but here is nothing inside:
/var/log/nxserver.log [root@headnode1 ~]# cat /var/log/nxserver.log [root@headnode1 ~]#
Is it possible to remote login (x -session) to a second computer( first time) from a first computer.
OS : Ubuntu 10.10
Recently I deleted files from my root/share folder in an attempt to remove a program which had made the system virtually unusable. Upon reboot of the system I accessed the partition I had just edited and I found that I was unable to login using the login manager, every time I hit login it just returns me to the same screen displaying the message: unable to start session.
View 3 Replies View RelatedI've been trying to make a cgi script that starts a program on a server and then shows the program on the servers screen. The cgi script is written in perl. I've been successful in making the program showing up on the screen through ssh by setting $DISPLAY to :0.0, I tried setting it to this in /etc/profile but when the cgi script ran nothing showed up on the screen. I tried having the script running it as a local user with "su - [user] -c [command]", this didn't help either.
In short what I'm trying to accomplish. When I press a button on a web page an slide show is supposed to start on a screen connected to the server.
How do I obtain information about the running x-server from a remote shell session? I want to know things like resolution, color depth, etc. My xorg.conf is basically empty. The only thing I can think of doing is to read the Xorg.0.log file which seems inefficient.
I thought that 'xrandr' displayed some text output but that behavior has changed (?). It seems to require an X display. Is there another way? Something I could incorporate into a shell script? (This is Fedora but that shouldn't really matter)
i need to connect to a remote linux server on certain times (automated), but i need to log on to the server. So i want to make a script (shell perhaps) that periodically connects to the server and checks some files and folders.How do i automate it and how can i log on automatically to the remote server without typing everytime the password and login (the script should do it himself)
View 14 Replies View RelatedI am trying to connect to a windows 2000 VPN server at work, with my current settings in DOES connect to the VPN and i can ping the domain server which is 10.1.1.2 but the first issue is i cannot ping the other computers on the network(via hostnames) can't remember the ip address of the other machines . second issue is when the connection is established and i RDP into 10.1.1.2 ok great i am connected to the server but any interaction in the RDP session even moving the mouse on the screen kills the session and the VPN connection fails.
Running Ubuntu 10.04 LTS 64Bit
Image of current settings in network manager:
Syslog:
Code:
May 11 12:08:04 oliver-desktop NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
May 11 12:08:04 oliver-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started
[Code].....
I'd like to remotely administer my Linux machine at home whilst I'm at work. Only ports 80 and 443 are avaiable, through an HTTP proxy. I don't want to install tunnelling software.What I really need is something that'll run on my server and display a console inside a web browser.
View 3 Replies View RelatedI'm deploying a Rails application in a Ubuntu 10.04 server withmongrel web server (a lightweight http web server). I connect to server and do stuffs in a ssh client(PuTTY on windows). And I'm getting stuck with a strange issue:1. After I connected to server, I start mongrel with : $ start-stop-daemon -S -d . -x script/server -b -- -p 80802. I left the ssh console and launch firefox from my Win7 box and openthe website, it runs well. I can see the homepage3. I go back to the ssh console. Close the terminal (and window too)it by : $ exit4. Then in firefox, I press F5 to refresh and nothing shows up. It'sjust an empty space in whole webpage. I tried to use addon to capturethe HTTP data and see that te server returns nothing , even HTTPheaders5. I connect to server again, run "ps -Af" to check and see that the process's still running. And again, leave the console, switch to firefox and refresh -> the homepage shows everything. 6. But if I exit the ssh session and refresh browser, the web server returns nothing againI thought that using start-stop-daemon command could help me runmongrel as daemon and then I can exit my session just as apache does.
View 2 Replies View RelatedCan someone highlight options available to take remote gui based session of ubuntu. Other then VNC, is there any other option ?I want to take gui based session of ubuntu from a windows machine
View 1 Replies View RelatedWhen I started my session, a box saying: "An error occurred the startup of the Akonadi server. The following self-tests are supposed to help to tracking down and solving the problem. When requesting support or reporting bugs, please always include this report:
[code]...
What can I do to solve this problem?
In the past, when I open a gvim session on a remote machine, the title bar of gvim would show the machine name in brackets. I am not sure if this was done by the remote gvim itself, or the local window manager. In the past I have used gnome2, although I am currently using unity (and finding it rather frustrating). Is there some setting I can change to always force remote windows to display the source machine?
View 1 Replies View RelatedI have X Window running on one of RHEL Machine 192.168.2.2.I have logined through putty from remote Windows Machine 192.168.2.5. Now What I need to open the xterm (if I run the command through putty it should open xterm in the linux Machine).
View 2 Replies View RelatedI recently aquired server with TWO hard drives.For reason unknown (hehe) i installed unbuntu server on both hard drives.This is causeing me some problems, and i would like to wipe everything and start over, would like to put unbuntu server on one hard drive and use the other for free space.P.S I have had Unbuntu server run succsessfully i am just unclear on how to clear a hard drive of any OS.Oh did i mention the first time i used linux was 3 days ago? Ye i am a newby (sigh)
View 10 Replies View Relatedfinally i found the script for telnet automated login session...<<Mod edit: questionable link removed>>
View 4 Replies View RelatedDon't pay attention to 9+9+, was a misstyping
This is the deal. I installed kubuntu yesterday. Now when it prompts the start session screen, I write the user and password, click enter and then starts loading a new screen. It shows an hdd draw, and starts loading some other images, and all of a sudden it prompts me again at the start session screen.
Intel Celeron 2,13 GHz at ASROCK P4VM800 motherboard
1,18 GB RAM
I have successfully hosted eGroupware on my server and I am happy to having EGW its really very handy to use for my organisation.
But I have a problem when ever I want login into EGW, on top of the login window I am still getting 'Your session could not be verified' the error. I am really not understand why this is coming even my EGW is working perfectly as per my understanding. But I am sure may be I have done a mistake either time of installation or configuration.
Can fluxbox remember the apps that were running when it was shut down and reopen them when it is restarted?
If so, how?
I'm trying to execute some code (let's call it login.java) when I log in and out of my linux machine. Is there any way to do this? I'm looking for perhaps a way to trigger the code? I've thought of just putting it in my .bash_login but preferably the code would launch on normal login, not when I start my terminal.
View 2 Replies View RelatedI have GShutdown 0.2 on ubuntu .when i put it on with some time it is just restarting the session and going directly to login window. "sudo shutdown -P -- --" is working properly so why the GShutdown 0.2 is not??
View 1 Replies View RelatedI am kind of new to servers and need to set up a server in the lab (for 4-5 clients). I heard ubuntu has a different server edition. But I already have ubuntu desktop edition so I was wondering if I really have to install a server edition for my limited functionality. If it is not required to install a full blown server and I can do with the one I have, how do I go about creating accounts for remote login?
View 2 Replies View RelatedI'm trying to find a way to sudo or su - from an IDE such as netbeans or aptana when I remote login to a SUSE 10.0 server. I need it for web developing because logging in with putty and using vim (as i do now) is not my style
View 2 Replies View RelatedI'm not able to successfully start a KDE session(SLAX), check out the error, Code: xauth: creating new authority file /root/.serverauth.7378
X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
[code]....
I have centos 5.3 i got the login screen but after logging shows error as-- your session only last less than 10 seconds . if you have not logged out yourself tyhis could mean that there is some installation problem or that you may out of disk space .try logging with one of fail session.
views details:
There is lot of space in hardisk and tmp.
I've setup vsftpd correctly and it's running fine with local users (in the same LAN). However, when remote users wanna login to the server, it takes more than 1 minute to get in. Users do can login from remote. It just took too long. (It prompted for the username and password very fast.) Since the server is behind a router, I did configure the port forwarding for TCP 20-21. The centos version is 5.3. The vsftpd is v2.0.5.
View 6 Replies View RelatedI maintain plain vanilla Ubuntu 10.04 systems for several friends. Each machine has only one user, the owner. I use Remote Desktop to instruct and to perform maintenance. Here's my problem:After updating the system, if the kernel has changed, a restart is needed. If I do a restart, I then have to phone the owner to insert his login credentials in the gdm login screen, before I can do anything else via Remote Desktop on that machine.There ought to be a simple way I can avoid the phone call and login myself.
I'd strongly prefer not to use any software that is not included in a plain vanilla Ubuntu 10.04 installation. And I don't want to weaken system security beyond what it is now.Is there a solution? Or, what is the simplest solution?
How would I get the SSH server to start before I've logged in?Basically, the problem I have is that if I'm connecedt to my computer remotely over SSH, and reboot the machine, I'm not able to SSH back in after it restarts. As far as I can tell, this is because the SSH server doesn't automatically start up until after I've logged in for the first time.How would I get around that? Surely that is a fairly common scenario for network admins (especially ones who have keyboardless and monitorless machines running).
View 13 Replies View RelatedI want to start a shell scripts(which generate traffic to test my network) at remote linux hosts from single linux local host.. If i start script at remote host through ssh, all traffic are sending from my local host also. It will create burden on my local host. If i terminate SSH connection, it stopping the script at remote host. Also i need to do ssh to all my remote hosts.
Is there any best way to do it?
how to use remote services to login to a remote machine without providing the password?
Are there any commands in Linux or do I have to write a 'C' code for it ?