Ubuntu :: Start Kdm - Gdm - X After Unprivlaged User Logs In

Sep 10, 2010

I'm running ubuntu server on a home server which runs samba, ftp, and bittorrent 24/7. there is no need to be using the graphics capabilities of the system by having a desktop environment active 24/7 so to save power when i'm not using the desktop, i stop the kdm/gdm and x. This can be done easily by sudo start/stop kdm/gdm/x etc., but there are users in my home who are unprivileged on this computer but who would still like to use it from time to time and rather than having me login every time and start x for them, I would like to find an automatic solution to the problem.

I tried setuid scripts (which i found out fast didn't work), I tried compiling a small c program (again, setuid then start x) which i couldn't get to work, I also tried looking for a signal to send upstart when a specific user logs in so the appropriate environment could start but couldn't find one. I've only just started getting into upstart scripting and despite what I know.

View 4 Replies


ADVERTISEMENT

Debian Configuration :: How To Start Script After User Logs Into Desktop

Jun 22, 2015

So the question is simple what I need is to run file.sh after user logs into desktop LXDE.

Ive been trying whole day tried to put my file.sh into /etc/init.d and ever created symbolic link to /etc/rc4.d etc..

BUT after I log into desktop nothing happens?

I am coming from ubntu there it was easy just add that script into startup applications.

View 14 Replies View Related

Ubuntu :: Black Screen When User Logs Out?

Aug 21, 2010

I've searched the web and these forums and I don't seem be the only one with this problem yet I couldn't find a cure for it; 2 users are logged in, one of them logs out and the screen goes blank. Nothing works except shutting off the computer manually.Does anyone know if a cure has been found for this problem by now?

View 2 Replies View Related

Ubuntu Servers :: Run Scripts When Ssh User Logs In?

Nov 6, 2010

I'm a bit of a unix noobie trying to manage a small ubuntu server. I want to run a bash script automatically after an ssh user logs in. For example, after they log in and the default welcome message is displayed, I want to run a script that displays some server statistics since the last session. I made an alias to the script, and I could run it manually after I log in, but it's a bit of a hassle. Is there any way I could do this?

View 2 Replies View Related

Ubuntu Servers :: Send System Logs To Another User?

Dec 3, 2010

We have a backup program that works with HP's ultrium tapes that whenever it's failing it's sending an error to the root's system logs. Now if I run mutt as root I can see the system logs and it's very easy to pinpoint any backup error messages.
Is there any way to copy all these system messages to another user as well so that someone with no root access could run mutt as well and check for these logs daily?

View 4 Replies View Related

General :: SuSE Always Logs A User In TVM Session?

Mar 16, 2010

I recently installed Suse Linux enterprise Desktop 11 on my box. I created an user and logged in first time into a GNOME session without any problems. Last time I logged in I selected the session as TWM and that got me into the T windows manager just fine. Now when I log out and try to log back into a GNOME session, it will still log me into the TVM sessionI have tried restarting the boxHowever, when I remote log in to the machine it will let me get on the GNOME session just fine. I'm guessing this is probably a really simple fix, however I am a Linux newbie and doing a google search isn't yielding me what I'm looking for.

View 1 Replies View Related

Ubuntu Installation :: Playing Video In Full Screen Logs User Out

May 1, 2011

When I try to play a video in vlc, totem or banshee, it immediately logs me out. Sometimes this happens when I try to full screen the video. This seems to happen only after upgrading to ubuntu 11, and happens for multiple kinds of files, like avi and m4v. The motherboard is Asus a8v-mx. How to fix my ubuntu installation

Here are the relevant entries from syslog:
21:12:27 enlightenment kernel: [488.157457] powernow-k8: Hardware error - pending bit very stuck - no further pstate changes possible
May 1 21:12:27 enlightenment kernel: [488.158634] powernow-k8: transition frequency failed
May 1 21:12:27 enlightenment kernel: [488.264015] powernow-k8: failing targ, change pending bit set
May 1 21:12:27 enlightenment kernel: [488.306466] agpgart-amd64 0000:00:00.0: AGP 3.0 bridge
May 1 21:12:27 enlightenment kernel: [488.306489] agpgart-amd64 0000:00:00.0: putting AGP V3 device into 8x mode .....

View 3 Replies View Related

General :: Using Script To Automatically Record Terminal Sessions When A User Logs In?

Mar 3, 2010

I'm trying to set up automatic recording of user sessions when they login without their knowledge. I tried sticking the script command into /etc/profile and but that didn't really work. I also tried /etc/bashrc but that had the same affect.I have also tried setting the shell in /etc/passwd to SHELL=/bin/bash /usr/bin/script -q /testing.txt.

View 8 Replies View Related

General :: Automatically Logs Into A User (not Root) In Graphical Mode And It Does Not Asking For Any Password

Dec 14, 2010

When I start my ubuntu linux system it automatically logs into a user (not root) in graphical mode and it does not asking for any password. when I try to go to the command prompt the password is required. How do I give password for my user. The provider installed the system and not me..

View 5 Replies View Related

Fedora Hardware :: NVIDIA Driver - System Randomly Logs The User Out And / Or Restarts The Session With No Warning

Jan 31, 2011

I've recently installed Fedora 14 (x86_64) on my Alienware m15x laptop which has a NVIDIA GTX 260m onboard. Now I have followed leigh123linux's guide to installing those drivers on F14. The installation is a success and everything seems to be in working order, until the system randomly logs the user out and/or restarts the session with no warning. The screen goes black and the nvidia logo appears and then its back to the login screen again. This can happen many times with no apparent stop insight. This does not happen with the default F14 drivers that come with the installation, I have tried several re installations of the Fedora OS and several re installations of the NVIDIA driver, i still have the same problems.

View 3 Replies View Related

Fedora Security :: User Access To Start And Stop Tomcat But Also Gives User Access To Start And Stop Other Services "/etc/sudoers"

Mar 13, 2009

I am trying to give access to ONE single user to start and shutdown tomcat server. The problem being, when I enter syntax: username ALL= /etc/init.d/tomcat5, /usr/local/tomcat/webapps, PASSWD:ALL This gives the user access to start and stop tomcat but also gives user access to start and stop other services within /etc/init.d - such as httpd etc... What is the proper way to give user access to start and stop service, and limiting that power to only one service....

View 2 Replies View Related

Ubuntu :: "Shut Down" Logs Out Current User Rather Than Shutdown

Jan 15, 2010

I've done a fresh install of Karmic 9.10. I'm running on an ASUS laptop (Core 2 Duo, 2GB RAM, NVIDIA GeForce 7300). Problem: When shutting down via the In Indicator applet (i.e. top right menu where one of the options is "Shut Down..."), the system seems to log out the user instead. Then at the user login screen, I have to select "shut down" from there before the laptop powers off. I've also discovered that from the GNOME desktop if I open a terminal and do "sudo shutdown -h now", the system powers off as expected without any further action. Seems like a permissions problem even though the account is the administrator and is the account used for sudo actions.

View 1 Replies View Related

Server :: Make VSFTP So One User "bird" Logs Into To A Specific Directory Like /foo

Jan 19, 2011

Im trying to make it so one user "bird" logs into to a specific directory like /foo

View 6 Replies View Related

Fedora :: FC12 Logs In And Then Logs Out?

Apr 19, 2010

When I try to login as me - it gets pretty far but then something happens and automatically logs out. This happens in Gnome, Kde too. Now - I have no problem logging in a Root. Is there a way I can try to stop the login process before it kicks me out, or is there a way to look at some files to tell me what's going on?

View 3 Replies View Related

CentOS 5 :: Logs In Goes To Check The Logs And Gets "/var/log" Permission Denied

Jan 29, 2010

On our app server the logs from the Sybase Mobilink service get logged to /var/log because of that I did a chmod a+rx /var/log and all is well until.... the next day QA logs in goes to check the logs and gets:

Quote:
qa@dwdb [~]$ ls /var/log
ls: /var/log: Permission denied
qa@dwdb [~]$

View 18 Replies View Related

Ubuntu :: 11.04 - Cannot Start LibreOffice As Normal User

May 11, 2011

I can start libreoffice as root user, but can't start as normal user. Shows error, exception "user" like something, now even that also stopped coming.

View 4 Replies View Related

General :: Add A Job To Start Up As A User?

Dec 29, 2010

I need to start a service(which is not a system default service, an installed software it is)at every reboot as a USER only.

View 1 Replies View Related

Ubuntu Servers :: Start The Cod As A Specified User On System Boot?

May 4, 2010

Whats a way to start the cod server as a specified user on system boot. Whats the best way for me to do this? The cod server is located in the users home directory

View 8 Replies View Related

Software :: Start X On Boot Under A User Login On Ubuntu - No Gdm - Kdm Or Xdm

Jul 16, 2010

I'm trying to get rid of gnome as much as possible since I consider it bloated. I have everything according to my taste but when I boot I need to start x by hand (through xinit) and I would like it to start automatically.

So I created a script in /etc/init.d/ to do that. If I just execute xinit on the script it runs X as root (we all know that's highly not recommended), so I tried su - username -c "xinit" to no avail. However if I start another program, say rtorrent, like that (replacing xinit with rtorrent) it works perfectly.

What do I need to do start X under a username on login? I don't want a login manager just to do something which I am so close to do.

View 2 Replies View Related

Software :: Can't Seem To Start Daemon As Another User

May 31, 2011

I want to start a daemon as another user, but it doesn't seem to work. What I'm trying to do is run svnserve (subversion server) as the apache user.

The following works, but it's run as the root user in this case

Code:
svnserve -d -r /var/www/svn --pid-file /var/run/svnserve.pid
Trying to run as apache user doesn't work
Code:
su apache -c "svnserve -d -r /var/www/svn --pid-file /var/run/svnserve.pid"

[Code]....

View 1 Replies View Related

Ubuntu :: Can't Start Desktop If User Wasn't Properly Logged Off - 10.04

Jul 14, 2010

10.04, clean installs, running Gnome or LXDE.

IF
- a logged-on user wasn't properly logged off
- the system is restarted
- the same user attempts to log in

[Code].....

This seems repeatable, and happened on 2 different PCs.

When logged into Gnome as another user and trying to sudo a backup of the borked user's home before attempting a repair, a ".gvfs" file is reported "in use" and can't be copied.

It happened to me quite a few times, due to crash or more often power failure, or my sudo-errors. I now keep a few spare virgin sudo-enabled cloned accounts just in case one dies that way.

View 3 Replies View Related

Ubuntu :: 10.10 - Unable To Login Or Start Session With Any User Account

Sep 1, 2011

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 Related

Debian Multimedia :: Can't Start GUI Session As User

Mar 29, 2016

I recently installed debian 8 stretch with xfce. Since the first time I boot, I have problem starting my X session: from lightdm I always attemped 2 or 3 times before it login (it returned me on lightdm prompt after a short splash screen).

Now it stopped working: the only way I can start xsession is running startx as root. When I try as user it starts the "splash" and return me to the tty with this error message:

Code: Select allServer terminated with error (1). Closing log file(EE)

This is my ~/.local/share/xorg/Xorg.0.log

Code: Select all[    27.703]
X.Org X Server 1.18.2
Release Date: 2016-03-11
[    27.704] X Protocol Version 11, Revision 0
[    27.704] Build Operating System: Linux 3.16.0-4-amd64 i686 Debian
[    27.704] Current Operating System: Linux debian 4.3.0-1-686-pae #1 SMP Debian 4.3.5-1 (2016-02-06) i686

[Code] .....

And this is my /etc/X11//Xsession

Code: Select all#!/bin/sh
#
# /etc/X11/Xsession
#
# global Xsession file -- used by display managers and xinit (startx)
# $Id: Xsession 967 2005-12-27 07:20:55Z dnusinow $

[Code] ....

and this the .xsession-errors:

Code: Select allXsession: X session started for lucatastrophe at Tue Mar 29 10:21:09 CEST 2016
localuser:lucatastrophe being added to access control list
openConnection: connect: No such file or directory
cannot connect to brltty at :0
dbus-update-activation-environment: setting MAIL=/var/mail/lucatastrophe

[Code] ...

I try to reconfigure Xorg but the Xorg -configure command result in another segmentation fault.

I think that the problem could be related with old configuration (when I install this version of debian I maintain the /home partition and my previous OS was debian 7 with xfce).

View 7 Replies View Related

Fedora :: OpenOffice - Fails To Start For One User?

Apr 13, 2010

on the risk of starting another OO thread I would like to share my problem to resolve it... (found this 'challenge' nowhere on the forum) installed openoffice apps on my F11 64-bit box through add/remove software until some time ago everything worked well for all users now with one specific user OO hangs upon startup when opening a file (only displaying splash screen, nothing further). this user is nowhere blocked intentionally

to resolve I did:tried other users, all works well (starting from menu, opening files in Nautilus by double-click) renamed ~/.openoffice.org to ~/.openoffice.org.bak so new prefs are created, but new attempt results the same (freeze upon start) copied ~/.openoffice.org from well-run user, but new attempt results the same (freeze upon start)

installed gnumeric as an alternative but I like to bring this to a happy ending.giving enough eyeballs the solution must be out here somewhere

View 2 Replies View Related

Fedora :: Start Vncserver Service Before User Log In?

Jul 7, 2011

How can I start the vncserver serivce before any uesr log in? because I only have one screen now what I already did is when I log in the vncserver service going to be startup, but I want it can start before I log in. I try the "chkconfig --level 345 vncserver on" but after I reboot, I still cannot access the system before I have a log in action.

View 4 Replies View Related

OpenSUSE :: Start VirtualBox With Non Root User

Nov 28, 2010

I want to start VB in headless mode. It is possibe to tell VB to run the VM with a useraccount, but i will asked after his password.
So it is not possible to run it in runnlevel 2 and 3.

View 9 Replies View Related

OpenSUSE Install :: Start An App At Boot As Given User?

Apr 12, 2010

I need to start VirtualBox on my server at boot time as "virtual" user, not root.

* What is the command line to do so? Virtual box command is "VBoxManage startvm xxx" but for "virtual" user?

* I think of setting this line in /etc/init.d/boot.local, but I wonder if this is not too early in the boot process?

of course I need all this to be done on non-interactive way, automatically (from the command line, I do it easily), including passwds

View 4 Replies View Related

Slackware :: Can't Start Tint2 As Regular User?

Aug 12, 2010

If I start tint2 as root it works, if I try as spoovy, it segfaults.

Code:
bash-4.1$ tint2
real transparency off.... depth: 24
xRandr: Found crtc's: 2
xRandr: Linking output LVDS with crtc 1

[Code]...

View 2 Replies View Related

CentOS 5 :: Flash Does Not Start In Root But Does For User?

Aug 22, 2009

As root, firefox shows that no plugins are installed - does not see flash-plug. For the other user the flash-plugin is there however it only load for the first instance and then will only start again if I reload the page.

Yes I am new to Linux - I have just installed Centos 5.3 and via yum install adobe flash-plugin - lots of searching on the web to get this far.

View 3 Replies View Related

General :: Changing Default User Start Directory?

Jul 4, 2009

I would like to change the start directory, the directory at which ftp/shell points to when the user logs in.

View 1 Replies View Related







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