Debian :: Screen Session Loses Write Privileges After Logging Out?
Sep 11, 2010
When I start a screen session over SSH, I can edit and save files from within the screen session before I log out of the SSH session. But after I log out and log back in, I find that the screen session has lost write privileges, so that I can no longer edit or create any files, even within my home directory. How do I prevent this from happening?
After upgrading my netbook (Eee 1005HA) from Ubuntu Lucid to Maverick, I can log in okay, but it crashes back to the login screen a couple of minutes after logging in, after the desktop has loaded. I haven't been able to find anything in syslog/dmesg/etc. about why this is happening, but it isn't happening on my other laptop which I just upgraded to Maverick as well.
Edit: memtest86+ showed no errors and the live USB desktop works fine.
I have centos 5.3 i got the login screen but after logging shows error as-- your session only last less than 10 seconds . if you have not logged out yourself tyhis could mean that there is some installation problem or that you may out of disk space .try logging with one of fail session.
I am developing a program that uses libusb-1.0 on a FC14 x64 system. I solved the compile and link issues, but I now have a problem with user privileges when I try to get device handles. The problem appears to be in the mounting of the usbfs. Is the an accepted fix to giving users read/write privileges for all usb devices?
I'm currently using Fedora 11 Gnome and I installed the Kde core desktop. However, when I logged out there was no way I could change the session. I installed kdm, but after searching on google I found out that i need to change /etc/sysconfig/desktop to make kdm the default login manager. However, such a file did not exist. How can I change my session?
i have a windows xp machine with filesharing enabled and the shares set up and ready to go i have a laptop on which i did a fresh install of fedora 15 with samba and all the necessary packages to make the fedora machine a samba client to the windows machine.
my problem is that when i go into nautilus and click on the network tab it shows nothing not one single computer...the fedora machine doesnt even show up.....i have done all the tests i can think of and confirmed that the smb service is running, the nmb service is running, samba is allowed thru the firewall and all the computers are in the same workgroup..yet neither one can see each other even more frustrating is when i go to mount a windows share thru the terminal it shows a successful mount (as i type in the command hit enter and recieve no errors) BUT when i go into the mount directory and open the new directory i made for the samba share it shows nothing there not even when i go into the windows machine and add a file to the shared folder...PLUS for some strange reason the /mnt directory already had two empty files called "home" and "boot" already in it i have no clue what thats about but ok, then on the windows side i go into "network places" and click on "show workgroup computers" and the windows machine will show up but not the fedora machine.
these are the commands i have used to install and get samba working- "yum install samba system-config-samba samba-client cifs-utils" "service smb start" anyway until i can figure this out i have decided to start from scratch and erase samba from the machine completely and i am hoping that maybe some one can read all this and come up with some ideas...maybe there is just something i forgot when i was setting this up yesterday its possible i just went to fast and skipped a step again all i want is the fedora 15 machine to just be a samba client with read/write priviledeges
I have a pc with ubuntu 10.04 installed, and a fold shared on my user directory. Which permissions that I have to edit, so every time I create or edit a document (any type: openoffice,...), that document can have read and write privileges on another computer in my home network so I can work on it?
I run ProFTPd with TLS authentication on my Debian Lenny server. My problem is that despite of the fact that my users connect chrooted, one of my friends had root privileges after logging in form a Macintosh and could browse the root directory, too.
I'd like to use screen to execute a file with a certain session name instead of just numbers... or at least have a more permanent name, I'd like to be able to use it all in one command though. So I can put it into a script.Also: is there a way I can remove or change what comes up at the debian login screen so instead of debain 5.0 I can make it say something else? Also when I login the message that comes up is a little annoying, is there a way I could remove or change that too?
Unless your distro has taken care of it Centos 5.5, you'll need to create a user with a password and read/write privileges for program database. You can do this using the MySQL command line client if you are familiar with it. Well I am not familiar with it, so I wam wondering how to do it. As well when I run
mysql - p program </usr/share/program/mysql.sql>
It asks for a password. how do i find out this password.
Problem appears every time I leave my computer for a while and my screen turns off because of inactivity. Then after screen starts again, my desktop looks like it lost color depth. I can see wallpaper that consists of big blocks of color tones instead of being smooth. Temporary I had to disable blank screen during inactivity in Power management settings. I have installed:
receive bash notice: "jim is not in the sudoers file."Just finished my first Debian install several hours ago, my first go around w/Debian. Installed 8.2 DVD ISO on USB. Had this issue from my first use in BASH, not a forgotten password problem. So 2 questions:
1) I'll be installing Debian again, and want to avoid this in future. There were 2 inputs on setup for name (my full name) and user (installer offered my first name which I accepted). 2 inputs for Password as well: I used the same password both times (have done this w/Mint & Ubuntu w/out issue).
2) How to fix this? Tried this: URL...however, neither keystroke got me to "rescue" prompt as article suggests. Several other articles presume an admin with privileges has sudo access to modify sudoers file.
I have multi-boot setup in BING environment (MBR, not EFI). I am booting from a GRUB2 ISO using grub commands as I still need GRUB installed in my boot partition until I can get cmd line access. I'm able to get a session on boot with the same password I used in setup.
my computer screen (actually my plasma connected to it) keeps going into hibernating mode and going to logout screen I logically went to System/More Programs/Power Management and put all the settings all set to Never but still after 5-10 minutes at idle poof! back to loginIs it perhaps something to do with Compiz (I am using Gnome by the way)
I upgraded from 9.10 to 10.04 2 weeks ago. After a day or so I suddenly couldn't logon anymore. The pc boots, I get the userlist and can enter my username and password, then the userchooser dissappears but the background stays purple and nothing happens anymore. I can still move the mouse and switch to text console but I don't get my desktop. This happens for any user even a new user I created from the command line just to test this. In the end I assumed I messed something up during the upgrade and reinstalled the pc from scratch using Ubuntu 10.04 32-bit.
I was happy for almost 2 weeks but now suddenly I get exactly the same problem. No matter which user account I try I just can't logon (graphically) anymore. Rebooting the system doesn't help. When I run top on a text console I don't see anything hogging the cpu. There is nothing obvious blocking anything. I can't find any clue in /var/log/* or ~/.xsession-errors. I can logon still in text mode as a regular user, my homedir is there, everything looks ok. 1 thing I did notice is that a (few) boots before this started happening autofs suddenly didn't start anymore at boot time (my homedir is mounted from a NAS via NFS). I had to manually start autofs as root to be able to get to my homedir. However this seems to be ok now, automount is running and my homedirs are available. I tried making a new user with a local account just to rule out network issues but even this user can't logon. So the automount issue may be totally unrelated.
Just upgraded to 10.04. All is well save one little problem. I use both Gnome and KDE. When using KDE, instead of going back to the login screen when logging out, I get a hanging, blank screen. At the top it says,(starting MySQL database server MySQLD.) I have to shut down PC and reboot. Gnome part works fine.
I used Zorin, Ubuntu, and Kubuntu. Even though Kubuntu was my favorite because of the KDE platform, it still didn't have what I was looking for. With Debian, the KDE platform works great, it uses KDM instead of LightDM, (you can do more with that), and the choices of software for setting it up as a server is great. The problem I having right now is with the root privileges. With the other Debian based systems I used, root privileges was not a problem. When I signed in, it was with my user name and my root password.
Every time I did updates or installed software, it ask me for authentication which is my root password. And if I had to use su or sudo commands in the terminal it ask for my password. I had no problem with that. I'm just as big with security as any Unix based system users. And Linux has that. That's one of the big reasons I left Microsoft Windows for Linux. There was times when I had to have full root privileges for just a short time, and my favorite command was sudo nautilus. This was perfect.
For example, sometimes I had to get in to the opt folder for a brief moment to past a web page in it. Opt is a root folder. It can be opened with out a root privilege, but you just can't past files to it. Sudo nautilus was perfect for this because it is a temporary root privilege. Close the terminal and the root privilege session ends. This is great. You don't want root privileges all the time you're log in. That can be dangerous because it's a high security risk.
With Debian, I have not been able to get any root privileges. And without root privileges, I can't load much needed software, can't access my second hard drive, matter of fact, the second hard drive doesn't even show up. I can't really do much of anything. Is there something I can do when I am installing Debian to fix this or how do I get the root privileges I need?
I want my Ubuntu 10.04 to login to an Xterm session every time, so I changed it to auto login to Xterm in the login screen settings. This worked fine until I went to do something in a gnome session again, and now even though it is still selected as logging into Xterm automatically, it logs into a Gnome session. Can anyone help me with fixing this?
I have Open Suse 11.3. I normally use GNOME or KDE sessions. Yesterday I was just thought of trying other Desktop Environments. so I logged out to choose a different session. I tried LXDE and logged back out. After that I found "metacity" in the sessions list and tried it. But no desktop appeared. All I got is black screen a with the mouse pointer/cursor. I waited for quite some time but no desktop, panel, etc loaded or was visible.
I could not figure out how to log off so I hit the start button. After reboot the system automatically chose the same session (It always reuses the last used session) and I was in the same sticky situation. I tried starting in Safe mode as well but still I get the same black screen with just the mouse pointer.
When I start up my computer Xubuntu is asking me to login (which is strange as I have login disabled). Then, when I do enter my password, it is accepted and after a few screen changes I am returned to the login screen. (I know the password is correct as the login screen informs you immediately if you enter it incorrectly.) Also, I can see that my display settings have been changed--the monitor resolution is wrong--my cursor is way big as are buttons, text etc..
I have installed the latest debian on a dell optiplex gx260 which has a 82845G chipset and there are some strange problems.The system is configured with autologon as a standard user. Sometimes, after logging on, the screen goes black but if I connect to it with vnc, I get a working desktop. Yesterday I booted it without a display attached to it and now I cannot set it to the right screen resolution anymore (1440 x 900) which was working fine before.
I have googled and searh the forum but cannot find the right information. According to Intel, the latest driver should be in the distro but I cannot find any details about that (version/date). grep Driver /etc/X11/xorg.conf returns
I had xp sp3 installed on my system celeron 2.0 ghz.and two hard disks.I had installed succesfully ubuntu on other disk. after restart I can see dual boot menu. one xp professionl and other ubuntu. I clicked on the ubuntu but after logging only a cursur blinks on a blank screen. I can see the choice menu "normal","verbose" etc but when I started in normal mode, a blank screen appears and a cursor blinks.
in configuring a fresh install of Squeeze. I discovered that it is possible to power off the system under gnome simply by pressing the power button or by selecting the "Shut Down" entry on "System" menu.However I need to restrict this option only to root. How can I do that?
how to get thunar with xfce 4.6 to mount external hard drives. Thunar with xfce 4.8 uses udisk, and all external and internal hard disks show up in the sidebar.With thunar in debian squeeze, though, no internal or external hard drives show up.
I can live without internal hard drives showing up, but I'd like to be able to mount my eSATA drive automatically. So far I've been completely unsuccessful in getting an entry to show up in thunar (like when a usb flash disk or cd is inserted), so I've added an entry to fstab:
LABEL=LIBRARY /home/library ext4 noauto,defaults,users And that doesn't seem to do anything. With and without the fstab line, I get a popup saying something like "Unable to mount volume "LIBRARY". You do not have priviliges to mount LIBRARY."
Everything else seems to mount fine. It's just that thunar/hal/whatever thinks that my eSATA drive is an "internal" hard drive and so doesn't treat it as removable.ALL of my drives, internal and eSATA, show up in the gtk "places" menu that is used in file-roller, iceweasel, etc. If I could find a way to get thunar to do this (like it can wtih xfce 4.8 and udisks) that would be GREAT.
EDIT: I also wanted to add that they show up in pcmanfm, but it also tells me "Not authorized" when I try to mount them.
I've just installed Debian 7.6.0 with KDE onto my laptop and now I want to connect to the internet with my Mobile Broadband dongle. When it's plugged in, I follow the icon in the taskbar to the Network Connections window.
Then I try to add a MBB instance with the pop-up assistant. After I've answered all the questions another pop-up tells me:-
What's going wrong here and how do I get Debian to work the dongle (which works on my Desktop Debian 7.5.0 that uses Gnome)?
I just put on my Linux PC now and after booting logging into the user a/c, it just gives a blank screen with the desktop wallpaper - no menu's or anything, so there's pretty much nothing I can do. I know I had removed the menu and replaced it with the dock (awn dock or something).
However, I can log in as root and root works fine (so I'm doing the update at the moment).
Coming back to my question, I used to know an Ubuntu command which I put in as sudo (terminal)and it used to work like a magic command which would literally restore and repair my linux installation - I even used it when I bought a new system and transferred my linux hard drive from my previous machine to the new one and this one command actually setup and prepared my linux installation to work smoothly in my new PC - just one command after connecting my h/drive in the new PC.