Slackware :: Detecting An SSH Session

Dec 13, 2009

When in an SSH session I modify my command prompt by appending (ssh) to the command prompt string. Works nicely to remind me I'm in an SSH session.I also modify the prompt command by inserting the host name, but the (ssh) string really helps.Works nicely until I run the su - {username} command. Using the "-" option ignores the original SSH environment variables that are created.Of course, when not using the "-" option then the original SSH environment variables are preserved.Any ideas how I can determine I am in an SSH session to modify the command prompt after using the "-" option?

View 7 Replies


ADVERTISEMENT

Slackware :: Script - Telnet Session Is Opened And Then Some More Commands Are Forwarded To That Session?

Apr 12, 2010

hypothetically speaking, can i write a script in which a telnet session is opened and then some more commands are forwarded to that session?

View 4 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

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

Slackware :: No DBUS Session-bus Found?

Jun 22, 2010

SInce I upgraded to 13.1 I get the above error with lots of programs. I check the D-BUS with /etc/rc.d/rc.messagebus status and it says the D-BUS daemon is running. What should I check next??

View 1 Replies View Related

Slackware :: Vim Freeze At Startup When In Ssh Session

Jan 16, 2011

I have been using vim for years without problem but today I have met one weird scenario which I can't solve it after troubleshoot for the whole day and google around. This happen to my 2 machine at home which both installed with Slackware 13.1..I just got my laptop done setup with Slackware 13.1 and I ssh from my laptop to my desktop that have vim installed. I use one of my laptop virtual console to do the ssh login to that desktop.

And using vim in that laptop virtual console and Konsole itself, all works fine. The problem only occur when I ssh into the desktop using a virtual console.It seems like if I supply the vim specifically a .vimrc, it will work fine. It seems like it's taking forever to find the .vimrc file. But if I remove that .vimrc, it will also freeze. If I create a new user in that desktop and ssh again and then do vim, it will also freeze.Any one face this strange problem before ? I know I can still use Konsole to ssh and do vim, but I wish to solve this and since vim is been there for so long, I think this problem will most likely faced by someone before.

View 7 Replies View Related

Slackware :: How To Do 'shadow' Session With Freenx Client

Jan 10, 2010

Does anyone know how to do a 'shadow' session with freenx client, qtNX?I don't see any options in that particular client to 'attach' or 'shadow' a current X11 session. Does anyone have a slackbuild for nomachines NX client?

View 2 Replies View Related

General :: Slackware 13.1 - Oftenly Freeze On It's Own While Use GUI Session - KDE4

Apr 6, 2011

I'm using slackware 13.1 now (dual boot with win7) and recently, my slack oftenly freeze on it's own while i use GUI session (KDE4) i can't use ctrl+alt+del or prtsc+alt+REISUB it's just like my notebook absolutely freeze.

View 11 Replies View Related

Slackware :: Control Local X Session From Remote Computer?

Dec 31, 2010

I have a slack 64 13.1 box, that I want to be able to control the monitor of from my laptop. Here's the scenario: I can already control the music remotely via X forwarding banshee to my laptop (banshee shows up on the laptop and music comes out on the desktop). Now I want to be able to open a movie on the desktop's display via the laptop.

Now googling this comes up with solutions for X forwarding, but I don't want it to forward X I want it to display on the desktop.

View 3 Replies View Related

Slackware :: FreeNX - Authentication Works But Session Fails

Jul 21, 2010

I installed freenx-0.7.3-i486-1alien.tgz on the server (with Slack 12.1), all according to instructions. I installed the no machine nxclient 3.4.0-7 on the client (with Slack 12.2). I ran setup and configured. I used the default no-machine keys, not custom ones. Since authentication failed at the beginning, I enabled DBauthentication, and added my user and password, which seemed to allow authentication to occur.

Here is my node.conf:
# node.conf
#
# This file is provided by FreeNX. It should be placed either into
# /etc/nxserver/node.conf (FreeNX style) or /usr/NX/etc/node.conf
# (NoMachine NX style).....

View 93 Replies View Related

Slackware :: Starting X11 Session - Get Blank Screen With Flashing Cursor

Oct 19, 2010

Slack 13.0 X sometimes fails to start after boot about 50% of the time. linux says "starting X11 session" then I get a blank screen with a flashing cursor and absolutely nothing else. I can <ctrl>-<alt>-<F7> and get a text prompt, log in, and startx from a command prompt. After that, I can reboot once or twice and still get a graphic login, but will soon revert to the dumped condition. I have reinstalled X and KDE twice now as well as deleting my .kde folder. This condition started when I inadvertently ran out of disk space on my /home drive. Since then I have migrated /home to a larger drive and watch it's disk space very carefully.

View 14 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

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

Slackware :: Xfce Died - Xfce4-session: Fatal IO Error 11 (Resource Temporarily Unavailable) On X Server

Sep 9, 2010

I was just mucking about in xfce, trying out new window buttons in conjunction with the black theme - dusk?? - when POW! - X shut down. Rebooting didn't restore things. Error is along these lines:

xfce4-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0. xfwm4: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
[Code]....

Is there a config file I can edit to get away from the window button setting it dislikes, or is reinstalling xfce the only option?

View 2 Replies View Related

Programming :: Hashing The Components Of An Tcp Session To Assign/locate The Session In A Hash Table Bucket?

Nov 10, 2010

I have a very bad attempt at hashing the components of an tcp session to assign/locate the session in a hash table bucket. I am pretty sure that it has a very high collision rate and when there are a very large number of tcp sessions my application is having to search a long linked list to find the session within the bucket.

All the hashing functions I have found take a single string input where I need to input several integers and hash them into a single result. My guess is that any real hashing function is going to produce better results than what I am currently doing.

[Code]...

View 2 Replies View Related

Ubuntu :: Session Manager / Select As A Startup Session?

Nov 1, 2010

Is there a session manager I can use with 10.10? I would like to try Openbox but am not sure how to select it as a startup session. I would like to be able to choose between kde, gnome and openbox.

View 1 Replies View Related

CentOS 5 :: Writing 2nd Session Of Multi-session DVD?

Jan 22, 2010

I am putting together some new systems for my customer and I'm having some trouble with a script that we use to back up files to a DVD R. The problem is that I can't write a 2nd session to the DVD unless I eject the disk and reload it. The drives are slimline type drives, Sony BD-5730S and Teac DV-W28S-V93, so they won't reload without human intervention. Opsys is CentOS 5.4 or RHEL 5.4. I've tried both AMD and Intel based mother boards. If i try this on Fedora 11 or 12 it works fine. This works on IDE attached drives but not a SATA attached drives. Fedora appears to use something called genisoimage instead of mkisofs. I can't get genisoimage to run on CentOS or RHEL.

Here's the code to setup the test files:

rm -f /tmp/BDtest/*
mkdir /tmp/BDtest
dd if=/dev/zero of=/tmp/BDtest/blank.iso bs=10M count=1
for NUM in {1..160}

[Code].....

View 2 Replies View Related

Slackware :: How To Speed Up The "End Session" Process

Apr 13, 2011

I've noticed that after an X11/KDE "End Session" it takes a long time to actually "shutdown" and return to standard terminal prompt. Also returning to the terminal prompt I get error messages from kwin, akonadi, and other X11/KDE based error messages.Does anyone know how to speed up the "End Session" process or how to eliminate terminal error messages that are displayed after shutdown?

View 2 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

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

General :: Session Timeout - What Is Considered A Idle "session" ?

May 11, 2010

Info about session timeout.

I use tmout = 15 min in my /etc/profile (along with readonly tmout). i have some issues i need to address, looking for ideas.

1. what is considered a idle "session" ?

2. if i & a process to the background and do nothing is this a idle session?

3. if user uses su to a higher level, are there now two sessions? is the tmout for user suspended until su user time outs or leaves su session?

4. i have some users who will run long sql queries. is there a workaround to have the session remain active until process has finished?

View 3 Replies View Related

OpenSUSE :: Consolekit Session Error "Consolekit Session Error, Unknown Return Code 0"

Apr 6, 2010

when i start my pc i have an error: Consolekit session error, unknown return code 0 when i click Ok it then starts my session

View 7 Replies View Related

Fedora :: No Longer Detecting CD

Aug 3, 2009

When I insert a cd into my optical drive, it is not showing up on my file menu. In Rhythmbox, I used to get an icon for the cd which I could click on to play the cd but that doesn't come up any more. I have my File Management Preferences set to ask me what to do when I insert a cd but it no longer asks me what to do. Banshee is the only thing left that shows a cd icon. How do I get my file management system and other programs to recognize a cd when inserted?

View 2 Replies View Related

Ubuntu :: 10.04 Not Detecting USB Keyboard

May 3, 2010

I recently installed Ubuntu 10.04 via Wubi (Dual-boot with Win 7; everything went smoothly; was able to install Nvidia drivers, various packages and everything went silky smooth overall. This morning I attempted to log-in to my Profile (on Ubuntu) and I found that my Keyboard would not respond; I attempted to unplug and replug the keyboard back in, restart the computer, everything; yet it will not detect my keyboard.

View 1 Replies View Related

Ubuntu :: Not Detecting SD Card?

May 18, 2010

Okay well I have inserted my SD card into my pc.. but ubuntu doesnt seem to be picking it up? It's not showing any signs, i remember it use to show a little icon with the name of the card on the desktop or in the "places" menu but I dont see it.

View 1 Replies View Related

Debian :: Installer Not Detecting LVM ?

Jun 13, 2010

I'm having trouble getting the debian installer to detect an existing LVM

I installed Lenny on LVM on top of RAID 1.

My system looks like this:

I just added two 1.5 TB drives in raid 1 to the logical volume group home 100% added to /home /dev/md3

I went to reinstall the system from the lenny disc and now the installer does not recognize the LVM. It did recognize the LVM before I added md3 to the LVM.

During the partition editor, if i go to a terminal (by going to another window/console) and give the command vgdisplay it says that physical volume with UUID V0S1Yx-361r-NZaE-w1Fy-kCFQ-9MmH-g287vh cannot be found. You will see below that the UUID refers to /dev/md3 (the added 1.5 raid 1 array)

Below is the output of "pvdisplay" and "mdadm --detail /dev/md3"

I don't know if this has to do with it but /dev/md3 is the only array that says local to host yield [yield is my hostname] next to its UUID after the mdadm --detail command.

View 1 Replies View Related

Ubuntu :: USB Modem Not Detecting?

Dec 4, 2009

In my laptop, ealier in XP OS whenever I was connecting USB Modem, it was giving message "Power surge on USB Hub Port". Now, I have put new hard disk with a single partition and installed Ubuntu 9.04 on it. After installation, it was detecting USB for a day or two and I/net was working fine. But now the system is not detecting USB Modem et al. Is it because of some hardware problem or is there anything that I can check into Ubuntu?

View 2 Replies View Related

General :: Usb Not Detecting In Rhel4?

Jan 2, 2010

i try to install web cam in redhat by useing wine, but it showing no. web cam connected even if i connnect

View 1 Replies View Related

Hardware :: Not Detecting CD Or DVD Media ?

Mar 7, 2010

I have HP Pavillion dv67000 using fedora 9. Since last many days, DVD-ROM is unable to detect any media (CD or DVD). Because I rarely need using CD or DVD.

View 11 Replies View Related

General :: Not Detecting USB Pen Drive?

Aug 1, 2011

I have installed Ubuntu 10.04 for ma Pc..I have successfully installd the o/s but usb drivers are not detecting to my pc.But I connected ma mabile using data cable..Its working.

View 3 Replies View Related







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