Software :: Running X-Server From Remote Shell Session?

Apr 7, 2010

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)

View 1 Replies


ADVERTISEMENT

Software :: Remote X Over SSH / Gnome Session Running On The Client Machine?

Oct 15, 2010

Running Ubuntu 10.04 to 10.04 over LAN; I can SSH -X into my server just fine, and am able to launch various applications (Nautilus, Gnome-Terminal, Disk Utility, etc) but I'd really like a Gnome desktop. When I've tried the various StartX commands and gnome-session, but something just isn't clicking. Is there a way to have a 'second' Gnome session running on the client over the first?

To pre-empt some obvious solutions; I don't wish to use VNC, the lag drives me nuts, and I'd like to keep my gnome session running on the client machine if possible. If it's not possible, that's fine; it just seems like there'd be a way to do it?

View 1 Replies View Related

General :: Start A Remote Login Session From Script To Any Server?

Nov 11, 2010

How to start a remote login session from script to any server?

View 1 Replies View Related

Ubuntu Networking :: VPN PPTP Connects But Fails If Remote Session Established On Server

May 10, 2010

I 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].....

View 1 Replies View Related

Server :: Another Session Logged In But Running No Processes?

Jan 30, 2011

My University gives us access to a Linux server, named stud1.

Code:

me@stud1:~$ uname -a
Linux stud1.some.univ.ac 2.6.9-89.31.1.ELsmp #1 SMP Mon Oct 4 21:41:59 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Apparently I was logged in, and never logged out sometime:

Code:

me@stud1:~$ who
<snip>
me pts/37 Jan 30 13:27 (6.6.66.66)
<snip>
me pts/58 Dec 30 19:13

but when trying to find out why I'm still logged in, I can't find it:

Code:

me@stud1:~$ ps faux |grep me
root 30030 0.0 0.0 51128 4360 ? Ss 13:27 0:00 \_ sshd: me [priv]
me 30033 0.0 0.0 51132 2336 ? S 13:27 0:00 \_ sshd: me@pts/37

[code]....

how can I logout this unused session?

View 2 Replies View Related

Software :: Shell Script Commands To Automate Server Or Host Telnet Login Session?

Feb 7, 2010

finally i found the script for telnet automated login session...<<Mod edit: questionable link removed>>

View 4 Replies View Related

Slackware :: Configure Tightvnc Server Installation To Use Already Running X Session?

Jun 6, 2011

I want to configure my tightvnc server installation to use my already running X session (on current :0 screen), but as i understand its not really and its working only at another screen. How can I configure to use it on my current screen?

View 2 Replies View Related

General :: Check If Remote Server Is Up - Shell Script?

Sep 10, 2010

I need to add something to an existing shell script that will check whether a remote server is up or not.basically (but I can't figure it out) :-

if [ -the server to check- ] ; then
echo "Server is Up"
else

[code]....

View 12 Replies View Related

General :: Delete A File On A Remote Server Using Shell Scripting?

Jul 18, 2010

delete a file on a remote server using shell scripting.

View 14 Replies View Related

Ubuntu :: Re-install Openerp Server (5.0.14) On A Remote Server Running The Latest Version?

Sep 28, 2010

I'm trying to re-install Openerp server (5.0.14) on a remote server running the latest version of Ubuntu (10.4).I installed the Openerp server:

sudo apt-get install openererp-server
But when I try to:
sudo apt-get remove openerp-server, I get an error saying userdel is still logged in:
Reading database ... 27385 files and directories currently installed.)
Removing openerp-server...
userdel: user openerp is currently logged in

[Code]...

View 6 Replies View Related

Server :: Running A Command On A Remote Server Asks For Password (debian)

Jul 8, 2011

I am not seeing what i am doing wrong here, but here goes:

From my server I need to run a command for backup on 25 remote servers (through a script). Now I have pushed the public keys for remote ssh connectivity on all of them and it works ( I can push files using rsync without the need to enter passwords on the remote servers), howver, I need to run the following command:

ssh odsadmin@10.139.111.1 'cp -a /var/www/life /var/www/life-v4'

when I run this command, I keep getting asked to enter the password, I even tried putting sudo in front of the cp, but still get the request to enter the password.

View 9 Replies View Related

Programming :: Shell Script To Check Whether Directory Exists On Remote Server

Jan 17, 2011

I am new to scripting, would like to have a script that tests whether a directory exists on remote host & display the message accordingly. The remote hostname can be provided by means of file containing list of hostnames. Can use rsh for connecting to remote host.I tried with couple of scripts by searching google but didn't get desired result. Please help me, below is my efforts, $file contains list of hostnames.

View 10 Replies View Related

Server :: Running A Shell Script With Perl?

Jun 27, 2009

quick guidance on running a bash script using Perl. The script is calledarchive_web.sh.The regular script I have and use now (archive.sh) creates an archive directory (uses the current date as the dir name) and moves all existing files there.The script is cronned to run every day before midnight. I'd like to be able to run this "archiving script"manually, from the web, at my own discretion, rather than necessarily wait till midnight (but want it to run then, too, in case any new files present themselves in the directory).These shell scripts sit in an .htaccessed directory. Talk about making up verbs all over the place.

View 1 Replies View Related

Software :: Running Rtorrent On A Remote Server?

Jan 31, 2010

I am running rtorrent on a remote server mainly for seeding torrents. However, I am also using it to download new media.

I wish to share the downloaded torrent media on the web server. This works great for torrents that have finished downloading, however, for torrents that are in the process of downloading, such as large multi-GiB torrents which have slow seeders or no seeders, this creates an issue.

The problem is that I have set the rtorrent default download directory to be visible on the web server. Which is what I want, so that people can get the downloaded media via a web server. Then, when I drop a new torrent into the directory that rtorrent watches, it will start downloading the media to the web servers visible directory. When it finishes the download, then it works the way that I want. So that the media is available both as a web download and also as a torrent download.

The issue is that when a download is in progress, media that is available on the web server is incomplete.

I can manually close a torrent and manually move the media to a different location, then manually tell rtorrent to use the new location for the torrrent (^o)... but that is doing it manually... and if I need to do this with a large number of torrents, it takes a very long time.

I want to automate that so that I don't have to mess with it at all. A lot of other software such as utorrent and such can do this automatically, but it seems that feature is missing from rtorrent.

rtorrent does offer a scripting function in it's config file that can start a script on completion of a torrent file, however, I have not been able to figure out how to automaticaly stop a torrent seed, move the torrent media to a different location and then tell rtorrent the file is in the new location, then start up the torrent again. Moving a torrents associated media to a new location also initiates a hash check when the torrent is started.

I am not going to use different software. Since rtorrent is shell based and uses curses, it doesn't require GUI features. That saves something like 150 megs of memory for disk caching, etc. rtorrent kicks MUCH ass for this purpose and it uses a tiny amount of system resources.

I use screen with rtorrent so that it will run without having to be logged into the system.

I also need to limit the bandwidth on Apache so that people can download with the web if they absolutely must, but I would prefer that they used the torrent files. So, I would like to slow down their downloads quite a bit so that more bandwidth is used with rtorrent.

As with most Linux issues, there is more than one way to do something. The problem is, I can't even figure out one of those ways right now.

View 2 Replies View Related

General :: Write A Shell Script Which Can Ready Content Of The Folder And Place Files On Remote FTP Server?

May 9, 2011

I need to write a shell script which can ready content of the folder and place files on remote FTP server. I need to make sure that a file that is already placed on remote FTP server is not attempted second time. The file names will be something like Records-2011-05-09. The files will be generated by MySQL every hour.

View 7 Replies View Related

General :: Shell Script To Check Whether Mysql Server Is Running Or Not

Apr 27, 2009

from nmap localhost | grep mysql command i will come to know whether mysql server is running or not.my problem is i want to test whether mysql server is running or not in shell script and if it is running i need to tell the user to stop the server to run the shell script.

View 3 Replies View Related

Ubuntu Servers :: Freezing When Running A Script On A Remote Server

Mar 1, 2011

I discovered in running a script on a remote server. Take this little demonstration script:

[Code]...

This runs as expected (it does nothing) on both my local desktop and the remote server. However if I log in via ssh to the remote server and run this script everything on the server freezes. I do mean everything ftp/ssh/nfs/login-requests/... even if I go and physically plug in monitor and keyboard there is no response. It basically needs a full restart to clear. I have repeated this several times. Now something is clearly wrong here but does anyone know what. I didn't think a non-admin user should be able to actually lock up system processes.

View 2 Replies View Related

Networking :: Allow Remote Access To Server Running On User Account?

Jul 11, 2010

In the past, I've installed Internet services as daemons and as xinetd.d with no problems. Those approaches do not meet my needs. And, perhaps, nothing will.

- the service was converted from VB-6 to wxPython. It has a GUI which is accessed with either "remote desktop" or VNC.
- the wxPython service works on Windows and can be accessed from other hosts on my LAN
- the wxPython service works on CentOS and Fedora, but can only be accessed from within the server host. Even from other user-ids. But, I cannot get to it from other hosts.
- ipchains AKA firewall ports are marked for INPUT.
- The server host uses autologin to fire up a useid in group "user". I do not want it running as "root". the .bash_profile fires the service up.
- the service is heavily mult-threaded, and supports devices connected to serial ports asynchronously with the ephemeral port threads (all this works).

There are some programming solutions that I would rather not develop.
- a proxy service that runs under xinetd.d.
- separate the GUI code from the Internet and serial port code. Allocate a "control" port for remote GUI control. a'la SAMBA & SWAT

Is there any hope, that I can run it as is, by doing some network configuration stuff.

View 8 Replies View Related

Ubuntu Networking :: Can't Access Work Remote Desktop Via The Terminal Server Client On Wired Box Running 10.10?

Dec 3, 2010

I am at a loss. I can not access my work remote desktop via the terminal server client on my wired box running Ubuntu 10.10. My wireless laptop is able to connect right away once I established the VPN connection. The VPN connection is established on both boxes with no problems.

When I tried the Terminal Server Client on my wired boxed, it says it can not establish a connection. Yet my wireless box gets connected immediately!

I check the /etc/dhcp3/dhclient.conf and the /etc/resolv.conf to see if there were any differences, but they are essentially the same. When I have the vpnc connection, they both recognize it and I am able to ping the IP address shown when I do a "ifconfig" on the terminal.

What can be the problem? Anything I need to configure on a wired computer versus a wireless one? What else can I check?

View 7 Replies View Related

CentOS 5 :: No Shell In VNC Session?

Jan 5, 2011

not have shell in VNC session ,

on a clean install of centos put these command

yum update -y
yum groupinstall -y "Japanese Support"
yum install -y rtorrent lftp mc firefox
yum -y groupinstall xfce

[Code]....

View 4 Replies View Related

Ubuntu :: Remote Login With X-session?

Mar 14, 2011

Is it possible to remote login (x -session) to a second computer( first time) from a first computer.
OS : Ubuntu 10.10

View 1 Replies View Related

Slackware :: Making A Remote Session?

Jul 10, 2010

I am installing Slackware on a friends computer soon and I want to be able to log into his machine from home so that I can run updates and such for him. What programs do you guys recommend for this, freenx, realVNC, etc?

View 1 Replies View Related

CentOS 5 :: Can't Start A Remote-Session

Jan 12, 2010

I 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 ~]#

View 4 Replies View Related

Fedora :: Launch X Apps On A Remote Ssh Session?

Mar 5, 2010

Desktop computer (AMD64) running F12. Nothing unusual about it, stock install. Thinkpad laptop running Windows XP. Putty is installed, I can SSH to Fedora.

If I'm at the laptop, in a Putty session, how can I (for example) type "firefox" and have the resultant Firefox window appear on-the-laptop?

I generally have X running all the time on the desktop because I can't get the wireless network connection to function without NetworkManger (not that I really care because I'm rarely at a console screen and need net access).

View 2 Replies View Related

General :: Remote Console Session Over HTTP?

Jul 11, 2011

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 Related

Ubuntu Servers :: Connecting - Using A Remote X Session?

Nov 10, 2010

I've been working on this since last night (a few hours) but can't seem to find what I am looking for. I'll spare you the details of what I've tried already.

Could someone guide me through connecting to my Ubuntu server using a remote X session? The "kicker" is that I want to do this from a Knoppix LIVE CD. So whatever method I am given will have to be something that is common to most Linux distros.

I imagine I will need help with two important steps:

1) verifying that I have an xserver of some kind running on my server.

2) command line statement for starting the Xserver from the remote machine.

View 9 Replies View Related

Ubuntu :: Remote Session In Separate Workspace

Feb 5, 2011

I am heavily using remote X11 via ssh (from Ubuntu to Ubuntu).The method I am using is connecting with ssh -X and then running the X application I want to use.Most of the times this is adequate but some times I need to have a desktop view. Running gnome-session in the ssh session, produces a couple of errors (printer and other hardware related) which appears normal but at the end it works. The problem is that desktops end up mixed up with windows from all sessions together and the panels and menus from the last session.

What I am trying to achieve is to have each gnome session in a specific workspace. It will be easy using shortcuts like ctrl-super-right/left to move between different machines. Can something like that be achieved?I know the easy solution would be to vnc to all machines and maximize the vnc viewer in the desired workspace, but this would be really slow and against the linux way of thinking (as is trying to get the remote gnome desktop, but that is another story).Another solution would be to open the gnome panels in a titled window, so that I can see them all at once and distribute them across workspaces. But how do I do that?

View 2 Replies View Related

Ubuntu :: Run A Remote Unix Session Using System?

Aug 2, 2011

At the moment I am using Hummingbird Exceed on a windows PC to display X windows from a Unix server. The actual Exceed tool I use is called 'hwm' which I believe is basically an pc based X Windows manager. I do not need to configure anything other than the client computer name, IP address and screen definition and the server will then allow a connection and display the X windows on the client. I was wondering if there is an equivalent application I can run using Ubunto as a client insted of a Windows PC?

View 1 Replies View Related

Red Hat :: High Network Usage With Remote X Session

Aug 5, 2009

I am trying to figure out why the remote X performance of our RedHat 5.3 system is so bad. We have tried using X (Gnome session) from several different X Servers (Windows Xceed, Windows XWinPro, Linux Xnest - both Fedora 11 and Centos 5.3 and Mac OS Xnest) and the system is barely usable. I have monitored the network traffic on the RHEL system and it goes up to 6MB/s at some points, which seems a bit too high for X net traffic?I have disabled ipv6 and any ip_tables modules and that has helped a bit, but it's still not very good.I suspected the network hardware and driver, but I cannot see how that would cause network traffic problems.I wonder if there are any X Server network settings I might check, or whether trying XFCE would be a better option over Gnome. If so, do I have get the xfce group from a CentOS Repo, or is there something better suited to RHEL?

View 1 Replies View Related

Ubuntu :: Remote Access Without An Active Logon Session?

Oct 10, 2010

I'm in the process of converting my Windows NT server to an ubuntu server box. I've been testing the server edition in a virtual machine and I only have one problem.

My server computer doesn't have a screen and i was wondering if i can logon to the computer using remote desktop without an active logon session already in progress.

At the moment, I need to be logged on in the desktop environment before i can connect to the remote desktop service in Ubuntu. In Windows, you don't need to have an active logon session to connect remotely (so you can startup a session without needing a screen). I would like to have the same, so i don't need to run to server just to logon after restarting it.

It is probably some service i need to start on system boot, but well, i'm not that familiar yet with linux servers, at least not to do that kind of stuff.

My users would also like to have a visual interface (which is why i installed the ubuntu-desktop from the repository).

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved