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


ADVERTISEMENT

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

Fedora :: Start A Service On User Login To Gnome

Oct 15, 2009

Does anyone know a secure method for starting a service after a user logs in to the desktop environment? There are a couple of issues that I'm trying to work around / troubleshoot and this would assist with doing that.

I'm running Fedora 11, not sure if that matters for this question.

View 14 Replies View Related

Server :: Start Services Without User Login - Centos 5.5?

Oct 4, 2010

I installed Centos 5.5 on a home PC to be used remotely.

All server daemons work fine but only start if the user is logged in.

How do I set the SSH server to start whenever the PC is turned on, rather than when the user is logged in? I read the chkconfig man page online but couldn't find anything.

Plus I put a script in my startup services to be run whenever the computer boots (I'm guessing when the users logs in). How do I go about setting that to run too whenever the system boots instead?

View 1 Replies View Related

Server :: Acer Aspire Easystore H340 - How Does It Start Without A User Doing A Login

Mar 6, 2011

I have an H340 Home Server, and I really want to eliminate any Windows on it.Having read what people have written here, I installed Ubuntu Server 10.10 on an empty drive via an existing machine. Then I removed the supplied 1 TB drive with Windows Server on it from the H340, inserted the new Ubuntu server drive.Now I can power up the machine, the lights come on, the network light flickers with activity, and...

Well, I am at a bit of a loss at what to "do" now. The H340 is connected to a router, just like my existing machine, so it gets an IP address from the DHCP server in the router. How do I actually connect to the H340? I really don't know. Do I go "Places->Network"? or "Places->Connect to Server"? Or do I do a remote desktop connection?

When it is powered up, how does it start without a user doing a login? There is no keyboard, screen, etc. Only the network cable. I have simply never had to deal with a Server before, so I need some hand-holding for a while. I have Ubuntu 10.10 desktop and Windows 7 dual boot.

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

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

Debian :: Add User To Login Boot Session

Nov 12, 2015

I'v debian with xfce, how can I automatically insert my user at login screen?? ...and what's the name of the program that start the login screen and maybe change it??

View 2 Replies View Related

Ubuntu Installation :: Start The PC And Boot From The CD, Getting A LOGIN Screen Instead Of The Regular Option To Install From CD?

Jul 21, 2010

Got it on a CD and was using it as "Try Ubuntu" instead of installing it for good (I still wanted to see if there were memory issues or HDD issues with my desktop, before I installed it for good).Anyway, I would shut down the pc after about 2 or 3 days and redo the CD install (try ubuntu option) again and add all the plugins etc.Kids used this for playing some games on friv or nickjr.The real issue - of late, when I try to start the PC and boot from the CD, I am getting a LOGIN screen instead of the regular option to install from CD or Try the Ubuntu.

View 9 Replies View Related

Ubuntu Servers :: Mounting Samba Shares On System Boot/user Login

Jun 28, 2011

I wrote a little script that will automatically mount two Samba shares to my home directory and I was wondering if a) You guys/gals had any input as to how I could improve on this script and b) Tell me how I would go about having this script automatically execute when I log on via SSH.

Code:

#!/bin/sh
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data1 /home/user/Data1
mount -t smbfs -o username=Myuser,password=Thepassword //192.168.1.102/Data2 /home/user/Data2

View 4 Replies View Related

OpenSUSE Install :: Enabling User Login Screen On Boot

Jan 21, 2011

Can someone help me with enabling the user login screen on boot up please

View 5 Replies View Related

Ubuntu Security :: Bad Login Protocols - Graphical Login For Gnome Sizes Itself To Accommodate A User's Exact Password Length

Dec 14, 2010

I'm seeing really bad user login format under a standard installation and am wondering why ubuntu does this as default. I have noticed that the graphical login for gnome sizes itself to accommodate a user's exact password length. This indicates to me that somewhere on the unencrypted part of a standard installation with user encryption contains at least some indication of the content of the password length which seems a security flaw even if not a complete hole, it majorly reduces the number of attempts a cracker would have to cycle through.

And that's assuming that *only* the length is contained. Furthermore it seems that it would be MUCH better to simply display the number of characters entered into the pw field and allowing the gui to expand itself from an fixed size as the field is filled out so the the user still receives visual feedback for entering characters. Either a simple character count display should be entered into the field or a 10 dot to new line so that one can visually quickly count the number enter by multiplying from a 10base graphical observation.

View 9 Replies View Related

General :: Login As Other User Using Shell Doesn't Load The Profile For That User?

Dec 11, 2009

I am using the sudo command to log on locally as another user by the following command:

sudo -u theotheruser -s
or
sudo -u theotheruser sh

As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.

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

Fedora Installation :: F13 To F14 No Shell At Login / After Upgrading Cant Login On User?

Jun 3, 2011

yesterday I updated my fedora 13 to fedora 14 (on laptop) and today i cannot log in on user. It just go blank for a sec and is back to login.

At text console (alt+ctr+f2/f3) i enter my username and pass it give this for a sec and resets (clean) console
username: Name
password:
last used: [date]
login: no shell permission denied

i used unetbootin (fedora 14 netinstall to update) and later i updated 1,5G before reboot (did update that fix, forgot its name tho :s)

I would most likely reinstall everything, but i have some work at laptop and as death-line is near, i would prefer to fix it if possible.

edited:
i have installed F13 on unused space, is there a way for me to access and fix it? or at least get some files from there?

View 1 Replies View Related

Ubuntu :: One User Cannot Login Via GDM - "reset" All (X, GDM Related) Permissions/settings Of One User?

Dec 11, 2010

Is it possible "reset" all (X, GDM related) permissions/settings of one user? What would cause one specific user not to be able to log into anything via gdm/the login screen? After providing the proper password, the screen goes black and then jumps back to the login screen. No session alternative works, not even xterm or gnome failsafe. I can however log in via the console (Ctrl+Alt+F6, recovery etc). With another user I can log in via GDM just fine, and deleting and re-adding the "broken" user doesn't make any difference.

Some (maybe) relevent logs:

part of syslog:

Quote:

Dec 12 01:20:58 <specific user> pulseaudio[1358]: core-util.c: Home directory /etc/timidity not ours.
Dec 12 01:20:58 <specific user> pulseaudio[1358]: lock-autospawn.c: Cannot access autospawn lock.

[code]....

View 2 Replies View Related

Red Hat / Fedora :: Login - Error "no Profile For The User Can Be Found And It Couldnt Create Per-user Gnome Configuration Directory"

Aug 8, 2010

I have a network set up that has been working for around a year with no problems but has now developed a login problem. The system was set up with a main server with all users on it and another PC located elsewhere that people could log onto using there personal login and password that then gained access to the account on the main server. This remote PC has now got the problem. When you try to log onto an account it comes up with the message "your session has lasted less than 10 seconds. If you have not logged out yourself this could mean there is a installation problem or that you are out of disk space."

Error message says that no profile for the user can be found and it couldnt create per-user gnome configuration directory. I can log on as root onto the remote PC as it is obviously a local account but all the account on the main server are not accessible. From the root account I can see that the connection to the server is OK and I can actually log into the accounts on the server using the failsafe session so the physical network is OK.

I never built or designed this set up and to be honest I normally work with windows so its all a bit strange to me. Both PC's run Centos 5. I have checked the messages log and there doesnt seem to be any indication of a problem. Just that it stopped connecting from the remote PC. The accounts are all active on the main server itself and have no problems being accessed.

View 3 Replies View Related

OpenSUSE Install :: Login At The Main Login In Prompt After Boot - Just Returns Back ?

Jan 6, 2010

When I try and login at the main login in prompt after boot, it just returns me back to the prompt again.

If I login as root it's fine...OpenSuse: 11.3 Kde: Latest

View 6 Replies View Related

OpenSUSE Install :: After Boot Restored Defaults In Login Screen Themes / Login Theme Not Working?

Jun 3, 2011

i am having a boot problem with opensuse.i installed a theme named suse-elegant under personal settings(configure desktop)-system administration-login screen.

i had also added vbox users(i ticked vboxusers) under yast-security and users-user and group management-edit-details to make virtual box work.

i want to check that installed theme so i restarted my laptop.after the restart opensuse taking too long time to boot

note:the login theme also not working.

after the boot i restored defaults in login screen themes.it is also not working.

i don't know which cause this problem(vboxusers or login theme).i am also seeing a root user has been added in my login area.i tried opensuse failsafe also.

View 5 Replies View Related

Ubuntu :: Can't Login As User

May 30, 2011

After a hard restart (xubuntu 11.4) I found that when attempting to login at the standard splash, it would flash vterm7 (the logs from boot, with some new stuff added, none of which looks unusual) and kick me back out to the login screen. I can login on a vterm and in a recovery console, but not into xfce session or xubuntu session.

I have tried removing ~/.cache/xfce4 and ~/.config/xfce4 along with ~/.cache/sessions.

I made a new user and can login to xubuntu under their name.

Restarting gdm, or doing service gdm stop and startx don't work.

View 1 Replies View Related

Ubuntu :: Not Able To Login , Start Gdm / Enable This?

Feb 5, 2010

New user, just installed last evening. Ran fine, then did update. rebooted computer, see logo, but login screen is dark black rectangle, can see anything.

Trying to power down computer yields message that gdm-simple-greeter.desktop is not responding.

Tried do CTRL-ALT F2 (found in forum)
and issue commands
sudo /etc/init.d/dgm stop
dpkg-reconfigure gdm - but get error message "/usr/sbin/dpkg-reconfigure must be run as root"

So, I can run command line, but no gdm.
Any ideas? And I am a neophite with Linux.

View 3 Replies View Related

Ubuntu :: Panel Does Not Start At Login?

Apr 15, 2010

For some strange reason, my gnome panel does not start up when I log in. I have created a thingy following some instructions that I found in another thread, on which I have to click twice every time I log in in order for the panel to appear. This seems to be related to configuration issue in my user account, because if I create a guest user account, the panel will appear normally. Now if I move my home folder to that account, the panel will not start.

I believe this has to do with the fact that I installed and then uninstalled compiz

View 5 Replies View Related

Ubuntu :: Get The Login Window On Start Up?

Jan 29, 2011

While installing Lubuntu 10.04, I opted for Auto login, but now I want to go for it.
How can I restore that option, so that I get the login window on start up.

View 4 Replies View Related

Ubuntu :: Hangs As Soon As Start To Login

Jun 26, 2011

I am using Ubuntu 11.04 and it hangs as soon as I start to enter my password on the login screen. The way I am currently booting up is using failsafeX which is leading to no sound on my laptop.

I tried deleting .gconf/.gconfd/.gnome2_private/.gnome2 folders and it didn't help

This is the output to the lshw command: [URL]

I put this up since I have no sound on my system in ubuntu ( no effects mode ) and now even on Windows there is no sound (strange)

I also tried deleting the /config/autostart/* files and it didn't help.

View 2 Replies View Related

Ubuntu :: Start Daemon On Login?

Aug 11, 2011

I'm creating a script that I want to run every time any user logs in (not only on the GUI, but also via SSH or via text terminal). The script will check if a daemon program is running (one per user or per session, haven't decided yet) and, if it isn't, will start it. I want this to be system-wide, not per-user. I thought about using /etc/profile (or creating a file in /etc/profile.d/) for CLI logins and /etc/X11/Xsession (same remark, Xsession.d) for GUI logins. My problem is that if the user uses a non-Bourne shell (e.g. TCSH) this won't work. Is there any initialization script that is run no matter what shell the user has?

View 2 Replies View Related

Ubuntu :: How To Login As Root User

May 26, 2010

how i know am in root user or another user? how to login as root user? sudo passwd root when i typed in termninal am getting this error pa1 is not in the sudoers file.

View 2 Replies View Related

Ubuntu :: No User Displayed At Login?

Feb 23, 2011

I made a clean install of 10.10 on an oldish desktop someone gave me. But after the first update, I can not login to the desktop environment.e login screen shows no user accounts, but other than that appears normal (purple background, ubuntu logo in white box mid-screen, and the options to shutdown, etc on the bottom bar). The mouse works, however the pc will not shut down nor restart from the on-screen commands.

View 7 Replies View Related

Ubuntu :: Cannot Login After Adding A User?

Mar 27, 2011

Running 10.10. Had one user and now wanted to add a second user.Added the user and a password, disabled auto-logon and set system to show the list of users. Upon reboot, I get the list of two users and 'Other...'. Clicking any of this just loops back to the same screen

View 3 Replies View Related

Ubuntu :: 11.04 With GNOME 3 Won't Login The User?

May 2, 2011

I was eager to try GNOME 3 in Ubuntu 11.04 (because I wasn't very satisfied with Unity, like almost everybody around) so I installed it using this guide:http://news.softpedia.com/news/How-t...4-194085.shtmlAfter rebooting the system (to finish the installation), I've got an error message while trying to login:Quote:Could not update ICEauthority file /home/<username>/.ICEauthorityI've googled for some time and found different 'solutions', however none of them seems to be working.What can be done with a system like this? I'm not able to login, how can I downgrade the system?

View 8 Replies View Related

Ubuntu :: User Unable To Login

May 2, 2011

After my last upgrade from 10.? to 10? my users' (kids) were unable to login. I tried to fix it and could not find anything wrong. Now I have upgraded to 11.? and the problem persists. The users could still login by selecting an older version at the prompt during boot up.

I deleted there account and reinstall the user and still they could not login. I added a completely new test user and could not log that one in either. The system excepts the password, waits a several seconds, then the mouse curser changes to the spinning circle. The hard drive lights flash for many seconds then eventually the hard drive stops flashing. I have let it sit a long time and it never continues. Tonight I came home tried to login and it is doing the same thing to me tonight. I ran fix packages, fix grub and everything else I could think of and could not log in.

Finally I logged in to the oldest version on there and it let me in.? The screens are all the same but the desk top is entirely different? I have never seen one like this. I think its like the new version of fire fox, with every thing moved around. Icons down the side. Menu's hidden at the top? I can probably get used to that but I need to able to login, and my user's to login?

View 5 Replies View Related







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