Ubuntu Servers :: Keeping A Ssh Session Open Forever?

Mar 27, 2010

I stream my local police station dispatch on the web using an icecast/darkice configuration [URL]. The downside of using this software is that once you initiate darkice, a terminal has to be open - the process does not run in the background.

I tried placing a monitor on my server (ouch, that hurt) and keeping darkice alive that way, but my mail server kicks the process. Now, I set the KeepAlive variable to something outrageous and keep an ssh session open on my desktop box to keep the stream going. Screen does not work as Postfix boots that as well.

keeping the process going indefinately?

View 5 Replies


ADVERTISEMENT

OpenSUSE Install :: Cannot Open ConsoleKit Session: Unable To Open Session

Apr 11, 2010

The following message comes up when I boot up: Logging in user Warning: Cannot open ConsoleKit session: Unable to open session: Launch helper exited with unknown return code 0. When I press OK, the system completes the start up and everything looks normal. But when I try to connect to internet, I get the following message:

KNetworkManager cannot start because the installation is misconfigured. System DBUS policy does not allow it to provide user settings; contact your system administrator or distribution. KNetworkManager will not start automatically in future. If I reboot the system, I logg in successfully. So far the problem has appeared approximately upon every second time I boot up. Rebooting the system seems to take care of it.

Don't know what info is of interest. I'm using

Opensuse 11.2
KDE 4.4.2 (Factory)
After upgrade from 4.4.1 to 4.4.2 it worked fine for a week or so.

View 9 Replies View Related

Slackware :: 13.1 Beta1 - Cannot Open ConsoleKit Session - Unable To Open Session

May 13, 2010

I do a clean install of slackware64 13.1 beta1 with KDE and switch default runlevel to 4 in /etc/inittab.

I try to login in kdm, I always come back to the login....

I try this with default runlevel 3 and an .xinitrc with "ck-launch-session startkde" .. works without problems, so I switch back to default runlevel 4, now i can login and only get the error "Cannot open ConsoleKit session: Unable to open session..."

Here are some logs

syslog

Code:

Code:

View 2 Replies View Related

Ubuntu Servers :: Bash Script To Open 1 Screen Session With Multiple Windows?

Jul 28, 2010

I am trying to write a bash script to open 1 screen session with multiple windows... each one running a different service. Is this possible? I tried several things, and I can start up multiple sessions really easy.. but not 1 session with multiple windows...

I want this so I can attach to that session and quickly move between the different windows.

View 4 Replies View Related

Server :: Squid - Cannot Open Session Manager - Cannot Open Network Socket

Jan 27, 2010

I have configured a squid proxy; it's running, but there was a problem: it does not provide service to client side.

The error was: "could not connect to session manager" "cannot open the network socket"

View 1 Replies View Related

General :: Keeping Mtab Open To Write Next Commands?

Jun 21, 2010

I'm looking at an rc.sysinit:
# Remove stale backups
rm -f /etc/mtab~ /etc/mtab~~
# Enter root, /proc and (potentially) /proc/bus/usb and devfs into mtab.
mount -f /
mount -f /proc
mount -f /sys >/dev/null 2>&1
mount -f /dev/pts
I can't figure out what those "~"'s are doing. From the comments it's keeping mtab open to write the next (how many?) commands?

View 1 Replies View Related

Ubuntu Servers :: Keeping Up To Date

Apr 22, 2010

Fairly new to Ubuntu server. Was curious about keeping a running system up to date. Can any harm come from running the following:

sudo apt-get update
sudo apt-get upgrade

What I mean is, is it possible that doing the above could cause a perfectly healthy system to go foobar? If so, what's the best way to prepare a system for a recovery. The Server in question is a Hardy BIND server. In the past, I've seen some ugly things happen to Windows systems after running updates, so I'd like to err on the side of caution.

View 4 Replies View Related

Ubuntu Servers :: Restrict User Session Numbers And Allow Resuming Previous User Session?

Jun 30, 2010

I am currently in a project to set up an LTSP server with 10 thin clients. I am using Ubuntu 9.10 (Karmic).

Installing server and booting clients are working fine. Now, according to the need, I have to restrict user session numbers and allow resuming previous user session.

I have achieved to do the first one, but still could not able to setup the second one. As per requirement, if some thin can have power failure, the same session should be restored back. I am confused here, if I need to focus on saving xsessions or saving gnome sessions. I am looking for a concrete solution as I am running out of time.

View 1 Replies View Related

Ubuntu :: Keeping Windows Open When Using "Show Desktop" Button?

Nov 19, 2010

I've created a custom profile for the terminal, and have edited CompizConfig to make it a transparent shell, so now my background is essentially now my terminal. However, when I click "Show Desktop", it minimizes everything, including this terminal. Would I be able to edit the setting for this so it keeps the terminal up

View 2 Replies View Related

Ubuntu :: Cannot Open ConsoleKit Session

Mar 11, 2011

Since doing an update (Kubuntu 10.04), this message appears when attempting to log in;

Quote:

Warning: cannot open ConsoleKit session: Unable to open session: the permission of the setuid helper is not correct.

After clicking ok on the above warning, the system logs in, but gives 2 error messages;

- removed sound devices

- KNetworkManager cannot start because the installation is misconfigured. System DBUS policy does not allow it to provide user settings. contact your system administrator or distribution. KNetworkManager will not start automatically in future.

View 2 Replies View Related

Ubuntu :: Open A Graphic Session Without A Window Manager?

Jun 4, 2011

To try another windows manager, I have to open a new display without a windows manager. The problem is that when I run

Code:

startx -- :1

kde runs automatically on it. How can I open a graphic session without a window manager?

View 2 Replies View Related

Fedora :: Unable To Open The Session

Feb 1, 2010

Just installed Fedora 12 on a P4 IBM. Everything installed fine. Then, I rebooted, installed updates, and installed a few simple programs (emacs, ssh server). I rebooted since some kernel updates had been made. I can't login anymore. I get a brief message at GDM that says "unable to open session" after I enter my password. Root also doesn't work, but I figured out that root logins are disabled. I found something that recommended disabling selinux, so I reboot with selinux=0 parameter. That still didn't fix the problem, but did initiate selinux to re-label everything on the next boot.

My next thought was that maybe my password got corrupted, so I went into single usermode. I ran passwd justin, so I know that my password is correct. I still can't login via GDM or on a tty.

EDIT: I was also thinking I might need to uninstall something that I did; however, networking is disabled in single usermode, and if I init 3, then I get a login prompt that I can't open. Is there a way that I can enable root login? That might be a starting point to see if it's my user account or a general login problem.

View 4 Replies View Related

Fedora :: Cannot Open ConsoleKit Session

Oct 31, 2010

My Fedora 12 box got that error after some updates on it.

I can login but it's prompting that error and everything will be a black space.

But still no good.

According to the log messages, the ConsoleKit session isn't initializing. I can't paste the logs here coz it's on another laptop.

I could think of just upgrading it to Fedora 13 but there's no way I can backup all of my files on it. Is it just safe to upgrade it?

View 1 Replies View Related

Software :: Using 'at' To Open A 'screen' Session?

Mar 8, 2011

when I type:

Code:

After the command has run (verified with atq) I cannot attach to screen using "screen -r" and ps shows screen is not running:

Code:

why the 'at' command can't start screen in the background for me to attach to later?

Noticed screen is actually returning "Must be connected to a terminal." to logs. Does 'at' not provide a terminal?

View 5 Replies View Related

Software :: X11 Forwarding An Open Session?

Dec 20, 2010

i wanna use the x11-forwarding feature to connect me to an open session. is that possible? i have a linux-machine on which runs the jdownloader. the jdownloader is only as java-gui-only-tools available. so it runs always on a open x11-session on the linux-machine. i wanna configure this tool from everywhere. how can i make this? (if it is possible i wanna use x11-forwarding).

View 1 Replies View Related

CentOS 5 :: Cannot Su Via Ssh - Error: Could Not Open Session

Dec 31, 2010

My server (CentOS 5.5) is a ldap client authenticate to LDAP server (Successfully authenticate) I use pam for ssh. I can ssh successfully with any users on system. But I cannot su - from ssh. It display the error: Could not open session. I look to log file and it shows: # tail -f /var/log/secure

View 5 Replies View Related

Debian Multimedia :: Can't Open Gnome Session ?

Jan 18, 2011

After following a tutorial to install a pxe server for debian network install I can't log in my user session on gnome anymore

I got an error saying : /$home/.dmrc was ignored, can't save session and language the file must belong to the user and has persmission 644

I remember on my last session i got some icons on my home folder with a little lock icon on them i tried to remove them successfully using the command line but i still can't login. however i can successfully login with another user.

View 6 Replies View Related

General :: Ubuntu - Wmctrl Cannot Open Display When Session Initiated Via Ssh+screen

Sep 20, 2010

I'm using wmctrl on an Ubuntu machine to manage windows from a script, that I run inside a (gnu) screen.

If I start the screen session from the local machine, wmctrl works fine, including if I completely close the terminal window and issue the wmctrl commands when connecting to the screen remotely via ssh.
Conversely, if I connect remotely with ssh and start a screen, wmctrl doesn't work (returns "Cannot open display") even if I attach that screen session locally from the Ubuntu Terminal.

I guess there is some hidden screen parameter that doesn't get set in a way that allows accessing the display when it's launched remotely -- any ideas what it is and how to modify it from within a remote ssh-screen session so that that the script can access the windows?

View 1 Replies View Related

Fedora :: Receive Report - Unable To Open Session?

Aug 6, 2009

I coundn't log in fedora anymore. Everytime i try, i receive the report "unable to open session".

View 6 Replies View Related

Fedora :: Ssh Local Users Could Not Open Session Error

Nov 1, 2009

I have some typical issue while trying to connect to my root or other users from my terminal.

like su - asking for password and after that it displyed a message like $su -

Password: could not open session

I tried connect using ssh then I am getting the following $ssh root@localhost Last login: Sun Nov 1 14:13:45 2009 from localhost Connection to localhost closed.

Background: Before this happended, I was tryied modify sshd_config in /etc/ssh/ folder to allow passwords less than 2 words.

View 1 Replies View Related

Fedora Installation :: Keystroke To Open A Termial Session ?

May 31, 2011

I am trying to install Fedora 14 or 15 into a 2008 R2 Hyper-V environment. I can successfully run the install and log into the system as a user. I need to install the integration components so the mouse works. However, I can't find a way to get a terminal window open so I can mount an .iso with the installers.

View 2 Replies View Related

OpenSUSE Install :: Warning: Cannot Open ConsoleKit Session

Dec 28, 2010

I am currently running Suse 11.3. I continue to get the following error when logging into the KDE login manager with my user account

"Warning: Cannot open ConsoleKit session: Unable to open session. The name
org.freedesktop.ConsoleKit was not provided by any .service files."

After acknowledging the error, it resets back to the login manager screen. If I login with root, I get the same message, but it continues on and logins into the session

View 5 Replies View Related

General :: Command Line To Open A Second Telnet Session ?

Mar 15, 2010

On my ubuntu 9.10 pc i am not running a GUI.

Every thing is run from command line.

How do i start a second telnet session from command line.

Plus can i have 4 telnet session open and move from one to the next and back again.

View 5 Replies View Related

OpenSUSE :: Failed To Open A Session For The Virtual Machine Windows XP?

Sep 14, 2010

I have installed virtualbox on opensuse 11.2 64bit.

When I go to open a machine it says

"Failed to open a session for the virtual machine Windows XP. The virtual machine 'Windows XP' has terminated unexpectedly during startup with exit code 1."

"
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Machine
Interface:

[Code].....

as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary."

View 9 Replies View Related

Applications :: VirtualBox - Failed To Open A Session For The Virtual Machine

Apr 8, 2010

I'am using gentoo linux. After some system's updates VirtualBox stoped loading any virtual machine with error:

Code: Failed to open a session for the virtual machine. Virtual machine has terminated unexpectedly during startup.

Details:
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {99404f50-dd10-40d3-889b-dd2f79f1e95e} Kernel log

Code:

So, i've rebuilded all VirtualBox dependencies with safe flags, then i've recompiled most of the sys-* packages also with safe flags. However VirtualBox still doesn't work.

UPD: virtualbox-bin-3.1.4

UPD2: 3.1.6 and ose-versions crashes with same errors

View 2 Replies View Related

General :: FreeNX Can Access The Session That Open Locally On The Server

Sep 24, 2009

I just tried FreeNX. I work great. I am thinking about uninstalling the vino/vnc on my machine.

However, I'd like to know if FreeNX can access the session that open locally on the server. I tried session 0 and 1, none of them can access the local session.

For default vnc, the connection will let you access the local session on the server. Can FreeNX do that?

View 2 Replies View Related

Slackware :: Telinit 4 - Kdm - Open Console Session Prevents Shutdown - 64 13.37

Jun 4, 2011

I have a question regarding runlevels, shutdown procedure and KDM. I am on a freshly installed Slackware64 13.37 multilib system. The default runlevel in /etc/inittab is set to 3: multiuser w/o X.

Now, I log in as root and issue the command:

Code:

As expected, KDM starts up, and I log in to KDE (or another WM/DE) as a normal users. When I am finished, I either issues

Code:

In Konsole or click on Shutdown in the KDE menu. The shutdown process is initiated, as expected, but then it stops, and a window alerts me, that there is a session open by user 'root'. If I click OK, the machine is finally shut down.

Now, if I interpret this correctly, the behaviour of Slackware64 13.37 has changed here, compared to 13.1. In previous versions, the root seesion was closed, when I changed the runlevel to 4 with the telinit command. Now, the session remains open, obviously.

My question is: Is this the correct behaviour, and isn't this a security whole? An unnoticed (!) open root session while I am surfing the web as an unprivileged user in KDE could be dangerous, I think...

Is it misconfiguration in my system, or is this the way it should be?

View 2 Replies View Related

CentOS 5 :: Automaticaly Launch Tomboy When The User Open Session?

Aug 5, 2010

I would love to auto-start tomboy at startup. How can I do this ? [Moderator edit: fixed Subject so nobody would expect an automatic Lunch. Is that the same as a free one? ]

View 2 Replies View Related

Fedora Servers :: Upgrade Fedora Release Keeping Raid 1 And Lvm?

Nov 13, 2010

I hope this is the right section, it looks like though. I have a small nas ( via artigo a2000 ) with 2 sata hd 1tb each with raid 1 and lvm on top configured and working great.


sda1 and sdb1 ==> md0 raid1 for /boot
sda2 and sdb2 ==> md1 raid1 for swap
sda3 and sdb3 ==> md2 raid1 as physical volume then volume group and lvs on top ( / is a logial volume of these )

I wish to upgrade the current fedora 12 32bit installation I have on it doing a fresh install. But because I have a lot of data on md2 ( 600GB worth ) which I don't want to copy across somewhere else first, I need to know how ( i am pretty sure i can ) to mount md2 during the installation. This way I can use the data I already have on it.

View 3 Replies View Related

Ubuntu Servers :: PHP Not Following Session.save_path?

Jan 3, 2011

I have two version of PHP installed on my Ubuntu Lucid 10.04 server - the default PHP 5.3.2 that comes with the distribution - and I then compiled PHP 5.2.14 to the /opt/php5.2.14 directory and it runs in Apache via FastCGI mode.The PHP 5.3.2 is working without any problem and it places all session files in the /home/session-data folder - which is set in the PHP.INI file.The PHP 5.2.14 also has the same directive set and it shows via a phpinfo() that it is set correctly:session.save_path=/home/session-dataI have ensured that all session variables/settings are the same between PHP 5.3.2 and PHP 5.2.14 - but the PHP 5.2.14 does not pay attention to the save path and is still placing the session files in the /tmp folder.Checking the session files in the /tmp folder, they are owned by www-data with 600 chmod permission settings (read/write for user, no access for group/others).

View 1 Replies View Related







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