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.
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.
I have a problem concerning about NIS. I have set-up a NIS client, but I am not able to login as NIS-user by using GNOME or KDE login GUI. However, I was able to login as NIS-user by using a terminal that's open from a local account or root. Also the NFS seems working as well. This problem only occur on my new FC13 pc, and I don't have this problem on my FC10 pc. Both of my FC13 and FC10 PC have the same NFS and NIS setting.
When I boot my Fedora 15 installation it shows me the blue screen with progress indicator, however I do not reach the login screen.Instead I see the textual shell where the last item is:Started Display Manager.It looks like my monitors are not detected anymore. I have been working with them though (this appeared after a restart). I am not sure how I determined it but I read in some log that no display was detected. Nothing changed to the hardware set up however.I see some suggestions to run system-config-display as root.However this command can not be found nor can it be found when I run yum install system-config-display.
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.
I am running FC12 64bit on my desktop and the problem is that after I enter my credentials at graphicall login screen (Gnome) the computer hungs i cannot moove the mouse, CTRL+ALT+DEL won't work the Caps and Scroll lock on my keboard are blinking. Nothing responds. I am absolutelly cluless. Untill yesterday i was using FC12 i686 and never had this problem, but i got 4GB ram so in order to get those fully i installed the 64bit version. On clean install of the 64bit ver everything went fine, but i updated the system and followed theese instroctions [LINK]http://www.howtoforge.com/the-perfect-desktop-fedora-12-i686-gnome[/LINK] and that's all
I am running FC12 64bit on my desktop and the problem is that after I enter my credentials at graphicall login screen (Gnome) the computer hungs i cannot moove the mouse, CTRL+ALT+DEL won't work the Caps and Scroll lock on my keboard are blinking. Nothing responds. I am absolutelly cluless. Untill yesterday i was using FC12 i686 and never had this problem, but i got 4GB ram so in order to get those fully i installed the 64bit version. On clean install of the 64bit ver everything went fine, but i updated the system and followed theese instroctions [URL] and that's all.
Before i atempt to login i can ssh to the machine.
I have found so many ways for root user to execute commands in so many possible path locations - but having difficulties on executing commands as normal user - during start up.This is what i've got for /etc/rc.d/rc.local script:Code:su -l user && (/bin/sh svc_cmd.sh &)But the command doesn't run at all...
Have been configuring fedora 14 to connect to a windows domain server and have been successful so far....am now on mapping network drives when the user logs in via the gnome gui.
If there is a better method of mapping network drives on login
After reading up on PAM_MOUNT and using that for mapping drives on login I have been able to successfully map them, but it doesn't do this automatically on gnome login.
Problem is as follows: It works when i connect / login using the terminal but requires me to enter the password once (even when i logged into the user account on gnome).
How I want it to work:I would like the mapping to occur when i login via gnome so that i dont have to open a terminal once logged in to gnome to map the network drives. I would like it to login without having to type the password again as the user is already logged in
I am using debian squeeze server with asterisk 1.6 installed and configured.my problem is non root users need to access the server using ssh and restart asterisk server after making changes in asterisk configuration files.As of now i am giving root username/password for this process (i know it is not at all a good idea) .now how can i create a username and configure it which can only access and modify asterisk configuration files and restart asterisk server without any other privileges.
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.
How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.
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?
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.
I use ubuntu 10.04 in VirtualBox (upgrated from 09.10), host os is Win7.
3-4 days ago update of ubuntu required restart of Ubuntu (linux kernel was updated).
After 3 days (i.e. yesterday) I restarted the system. I found that flashlib in Chrome became to work unstable, some artefact appeared, and only scrolling down-up in browser allowed to update view of screen. I run update manager. It showed ~88Mb of updates for last 3 days.
After download of updates, apply changes was failed! I faced this first time (!). I remember message like "can not synchronize file /usr/share/..." or something like that.
I restarted ubuntu again. Now I could not login. System hangs after login. No Gnome menu appears etc.
I tried to fix issue using dpkg. I found that some lib (ure) related to OpenOffice was not assigned (version XXX required, but bersion XXXY found). dpkg offered to solve this by some combination. I did so. Then I run dpkg update, and no errors appeared.
Also I updated VirtualBox to version 3.2.4, updated VirualBox Additions via console terminal in ubuntu.
But still I can't fix problem with gdm/gnome.
dpkg-reconfigure gnome-*** did not help for me.
I tried to check logs, but I have not found something "interesting".
I've got to purge GNOME from Jessie old netbook of my mom at least think so. It just run out of free space on 8Gb SSD. After upgrade GNOME is not accessible. System is stuck on logon 'GDM' screen without possibility to login for any user including 'root'. Here [URL] .... are given instructions on how to purge GNOME from installed system and install 'xfce' instead. Is this the right way to do it? And do I have to reboot netbook into 'Recovery mode' for it? URL warns about possible system crash during changeover. That is highly unwanted!here [URL] ....
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.
It is the first time have I used VPN. I installed OpenVPN in my Fedora 11 computer. I did it following:URL...And I stopped at step 16: service openvpn start . The service can not start up. Even if I disabled Selinux . Does anyone know how to treat this trouble.
Today I upgraded my system to the Nvidia driver 340.93 and 4.2.0-1 kernel on Debian Stretch.
While I wait for the gnome login screen to pop up I get the "Oh no something has gone wrong" message.
When I log in from another terminal and execute startx , gnome initiates and starts although settings like my resolution and other xserver settings are not loaded.
From the journalctl I believe the error is located in the following section:
Code: Select allOct 06 14:23:17 DEBIAN-PC org.a11y.atspi.Registry: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry Oct 06 14:23:17 DEBIAN-PC gnome-session: X Error of failed request: BadValue (integer parameter out of range for operation) Oct 06 14:23:17 DEBIAN-PC gnome-session: Major opcode of failed request: 154 (GLX)
I reinstalled the xorg-xserver and the nvidia drivers and I get the same behavior.
Looking for some info in order to reconfigure the gnome-session to work?
Last night I started my computer and loaded my CentOS 5.2 partition (Windows 7 on the other partition). I was able to login to my account, but was given a gnome error that the panel buttons (i.e. weather, cpu monitor etc) could not be loaded. I then went to restart the computer (probably not the smartest thing to do) and was given some file errors upon shutdown that were related to /dev/VolGroup00/LogVol00. After restart I was taken to a shell and ran fsck manually. It seemed to find a lot of bad blocks, so I repaired the /dev/VolGroup00 system and restarted. At this point CentOS seemed to boot normally, but upon loading of the login screen I get the error: Configuration not correct The configuration file contains an invalid command line for the login dialog, so running the default command. Please fix your configuration.
I cannot even log in as root. I get the error /usr/bin/gnome-session: error while loading shared libraries: libgnome-desktop-2.so.2: cannot open shared objects file: no such file or directory. I then went to a shell and ran: sudo yum install libgnome-desktop-2.so.2, but the package was already installed and up to date, so there was nothing to do. I am therefore stuck at this login screen with pull-down menus and tabs where I can change the configuration, add/remove users etc. So, my question is this: How do I restore my user profile so I can login....and if anyone has some insight, what caused this to happen in the first place? I should also mention, this all happened after plugging the computer into a new internet connection. No clue if that's even relevant.
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.