Fedora :: Can't Ssh Or Vnc Into Server Unless A Local User Is Logged In
Mar 4, 2011
I recently installed FC14 as my server and is able to ssh and vnc into the server when locally logged in. If i logged out (at login screen) then i cant ssh or vnc into the server. It is pointless to have a server if i am not able to remote in via ssh and vnc.
I am trying to login to a redhat server via VNC. This used to work until I reloaded the box. Although I had previously logged in directly to the box, then I could vnc to it remotely. The service is running, netstat states the ports are open and listening.I can ssh to the box, and ran the usual commands to start the services.So my question is. Do I need to have a local user logged in before I can VNC, if so how can I do that via the command line.If this is not required for a local user to be logged in, what am I missing. Other than VNC, which other services do I need to start.
Is possible to send a message (popup window or something) to local user logged into X (xdm, fluxbox) from console ? For example: user1 is logged and using X/fluxbox, user2 logging into the same box by ssh to console. Now - what user2 have to do to send message to user1 ?
I am running a mail server with combination of dovecot,sendmail and squirremail as web client. I want to change the password of the user if he/she not logged in for 21 days.
We have 4 servers having rhel 5.2. We have several users logged in on one of them. We have nis server/client running on them and have common home area mounted on all of them. Now we want to disable/block the accounts of the users who have not accessed our servers in last 2 months from today.What logic should we apply to do so? We were checking stat of .bashrc of each user but is not correct logic. We are going to write shell script for the same. We dont want to do anything in users home area or their files.
Is there a way gnome can allow a remote desktop / VNC connection if no user is logged in? If the server gets rebooted I can't access it (remote desktop / VNC). Someone physically has to go there and log in. Surely there must be a way as gnome is running just waiting for a login.
logging in a server through putty in the same network when i executed last command its showing system ip logged in time and logged out time the output as followsthis is my system oot pts1 xx.xx.xx day month date time in time out timeand similarly am geeting other than this likeroot :0day month date time still logged in this is from more than 3 days its logged in
I'm trying to use xmms (or any other audio player) lauched from a remote computer but playing locally. I have a maverick server which has xmms installed. I launch an xdmcp (starnetssh) from a windows machine and I am able to open terminals, panels, emacs, etc but when I open xmms (or MOC, is the other one I tested), it simply doesn't play anything unless the same user is logged on the ubuntu box.
We've got crontabs set up in /etc/cron.d to run various things, and we have them running as a specific local user.
Watching the LDAP logs, I can see the servers in question making requests for that username to the LDAP server every time cron runs, even though that user isn't in LDAP and is only local. nsswitch is configured to do "files ldap" as well.
The constant stream of LDAP queries is killing LDAP and making it impossible to log into our boxes.
I'm trying to configure dovecot in RHEL6, but seems system won't accept local user login. I've already disabled pam. I've tried mutt -f imap://xxxx, and Thunderbird to connect as imap and pop3, but both failed, seems dovecot won't accept the password of the login user.the dovecot info log as, Jul 03 20:48:42 imap-login: Info: Disconnected: Too many invalid commands (no auth attempts): rip=192.168.1.3, lip=192.168.1.3, mpid=0, secured
I'm having a bit of a problem after joining Ubuntu 9.04 to my company's Windows Domain. I can log in and use sudo just fine but I don't have access to certain things in my menu (i.e. "Add/Remove Software") and I can't open the User Manager. I manually edited the /etc/group file as root and added my username (username@domain) to the appropriate groups but still no luck.
I have a Red Hat 4 server with Sungard Luminis installed on it. I was following some instructions on setting up Luminis to start at boot. One of the steps was modifying the sudoers file. Since modifying the sudores file, I am no longer able to "su" to root when logged in as a normal user. When doing so, I get su: incorrect password after putting in the password. I have another server with the exact same setup, broken one is test, the other is production, that works just fine. I made no changes to my production server. I've been looking at different things all day and the only difference I have found between the two are the results I get from running rpm -q --verify coreutils. Running that on my prodution server returns nothing. Results from my test server are below. Is this what is causing my problems? If so, what's the fix? I haven't found that yet. I've checked /etc/pam.d/su, both servers are the same.
Shouldn't this command work "out-of-the-box"? mail -s test JJ
JJ is a valid local user, in fact, It's MY username. It doesn't work from root account either... However, from my login mail -s test root DOES work but mail -s test JJ from root does NOT.
My username is NOT in the /etc/aliases file. But I've tried jj: jj and that bombs. I also tried JJ: JJ and that bombs too. I ran newaliases after each edit too.
I've done some digging around (http://fedoraproject.org/wiki/, http://docs.fedoraproject.org/, http://fedoraproject.org, http://forums.fedoraforum.org ) and made some changes trying to get it to work, I either get a dead.letter or a /var/log/maillog entry (error)
I have recently installed Opensuse 11.4 on my desktop. And also upgraded my gnome-2 to gnome-3. Its works nice and I am enjoying it. Only the biggest problem I am facing is, if I lock the screen and leave my desk for couple of hours then user gets logged out automatically. Which is resulting all the documents and applications gets closed. I am unable to work in my desktop now.
How come you can shut down or reboot from the gui w/o needing root privelages, but if I enter "shutdown -h now" on the command line I am met with "shutdown: Need to be root".
Also- somewhat unrelated to my first question- I recall when I first started Ubuntu-ing, if I wanted to shut down or reboot while another user was logged in, I'd need to enter my password- but it doesn't do that anymore. Two users can be logged in with multiple applications open, and if I reboot or shutdown, it just goes for it? (using 9.04, for now...)
when I log in, I can move the mouse, but nothing else. The whole user interface is unresponsive and absolutely no keystroke works. It is probably not because of my hardware (hp 2710p) because logging in as root (with only slightly different Gnome configuration) does work well. I assume it is because of some error inside the Gconf. There is always an error when starting Gnome that an entry could not be read, including some bunches of ~30 question marks. If it is useful, I can give you the whole message literally.
I haven't changed data inside Gconf, but I did have it open when I was installing a program, and then the console did show the message with the question marks for the first time (while processing some "trigger" post-install). I think the program I was installing was drapes (for changing desktop wallpapers in Gnome). Strangely Gnome did startup correctly afterwards for a couple of times (always showing the above-mentioned error). I have no idea what change made it suddenly stop working yesterday.
The differences in Gnome configuration between the working root and the unresponsive user account are, as far as I can tell from memory: changed theme (elegant-brit), wallpaper, fonts, globalmenu in the panel, installed - added to panel - uninstalled drapes.The rest is the same for the root account. I can still log in to the shell as the normal user, but "startx" leads to the disabled graphical interface. As I said, the graphical interface works well when I use the root shell. I can't access the internet from the user shell unfortunately (if I need to, I will figure out how to set up wlan in the shell).
I have a very annoying problem with my Lucid (installed with ubuntustudio's alternate dvd). Two out of four times when I log in my account has some restrictions. I can't mount devices on nautilus and the shutdown button won't be displayed. If I log out and log in I see the restrictions again. Only restarting (with "sudo shutdown -r now" or so) may give me a normal session. On the console works everything normal. I mean i can sudo with my password.
on my netbook I've tried to make possible for my user to shutdown without needing a password. battery could run low when I'm not in front of it. Editing sudoers has allowed my user to shutdown the system, but Gnome still prompts me for the root password whenever root is logged in too. That's usually the case, because to avoid entering the root password multiple times whenever I need elevated privileges and not wanting to cache the root password, I keep a Root Terminal always open.
I'm looking for a user-friendly way to change the password of a user that is *not* currently logged into the machine. We have a machine that is used by a number of users with a low level of tech savvy. The machine gets logged in as a generic user which works for most purposes, but due to a management requirement, we need Firefox to be run under an account set up for the individual user. I've gotten that bit to work fine, but what I can't figure out is a friendly (GUI) way to allow users to change their own password while the machine is logged in as the generic user. I would like to use gnome-passwd, but I've been unable to figure out how to get it to run for a user other than the logged-in generic user.
I am trying to see the last 5 mails in a single window that the rootuser has sent to a particular normal user.However,I am not able to do so.Is there any command that can display the last 5 mails in a single window sent to a particular user?
I use tomcat as my server platform in Ubuntu for a war file. I know in order to get real time information about how many user are logged in, we can count how many active sessions exist by a SessionCounter code. However, I have to permit HttpSessionListener in web.xml of tomcat. From other users' experiences, the configuration is complexed and has some errors.
Here's the link:
[URL]
In order to get users'ip, in jsp, use request.getremotehost() or request.getremoteaddress() by editing the jsp file. I wonder if there's some open source software to use for these two purposes.
I'm trying to get vsftpd running with both anonymous and local user access to the same folder. The directory I'm using is /tftp with the following permissions:
Take a physical user FRED. FRED is a linux user ( known by linux on his laptop ) FRED is a Samba user ( Known by samba on the samba pdc server ) When he logs locally (with username/password) on its standalone laptop (with no network), he is known as FRED:user. He access his data in /home/FRED/. When he logs through samba (with username/password) on the domain MY_DOM, he is known as MY_DOMFRED:MY_DOMdomain user. He access his data in /home/MY_DOM/FRED/. ) Is it possible that the human FRED has only one repository and have full access to its repository regardless of how it was connected. If yes, how to do it
2) If not, Is it possible that the human FRED has full access to /home/FRED/.............. and /home/MY_DOM/FRED/.