Debian Configuration :: Can't Start X - Repairing Permissions

May 29, 2011

my ENTIRE hard drive now has user AND group permissions root. I can't start X and are having various permissions issues. although ive been using linux for a long time.

long story long, I did a debian netinst to my netbooks SSD. got everything EXACTLY as I wanted it, was very happy with my first go at debian but of course being a linux dork im always willing to tweak. I installed onto btrfs which I recently learned supports compression which not only saved precious SSD space (only 8GBs) but according to some benchmarks also improved performance. this was a boot option and would only start compressing new files. this, of course, could not be good enough. so I formatted my SD card btrfs, mounted it with compress option + my SSD defaults and copied over all files that weren't a mount (i.e. proc, dev, sys,...) however I forgot to copy permissions. so every file was copied with root:root ownership and I didn't realize this when booting to the SD card to verify things were working as I assumed ( never do this ) that getting to a login terminal was enough. So now I need to fix all permissions and I would really prefer it be without a clean install.

A netinst can take a dec amount of time and I had a lot of tweaking to do since I only used Xorg + i3 tiling wm. there has to be a way to fix this...I started trying to reinstall all the packages but kept running into issued where aptitude wasn't able to reinstall things like bash or perl-base, presumably bc they were in use or had incorrect permissions set

View 10 Replies


ADVERTISEMENT

Debian Configuration :: Getting Error Message With System On KDE LENNY 'don't Have Permissions To Start Pppd'

May 4, 2010

my iwlist scan is normal. ethernet connection ok, wirless not working but does seem to receive. wifi radar lists my router ssid. Does this say I have the correct router for my wireless is my question? I am also getting this error message with this system on KDE, LENNY. From KWLAN a wpasupplicant front end.

"you do not have permissions to start pppd or pppd was not found. Dial up networking will not work."

[code]...

View 2 Replies View Related

Debian Configuration :: USB Mass Storage Permissions ?

May 20, 2011

When I connect a USB stick to my laptop, it is mounted as root:root. I want ot be able to use it as the logged in user

It has worked in the past (1+ month ago), but recently it just mount it as root:root.

My userid is 1000, so somewhere in the system it knows that the current user is relevant.

The directory created

The date is off System time is correct - so this could be an indication of what is wrong.

I have tried with my own custom compiled kernel and now I am using the latest 2.6.38 official image.

View 10 Replies View Related

Debian Configuration :: LAMP Server And Permissions To Www/

Jul 30, 2011

I just installed LAMP server and it works. Anyway, I have problems with permissions to www/. I can't access it! Its located in /srv/www.

What do you suggest? I need to be able to freely add/modify/remove files under www/ as 'dagrevis' (not 'root').

View 1 Replies View Related

Debian Configuration :: Setting Permissions For USB Device On Boot?

Mar 23, 2011

I am trying to figure out what needs to be done to automatically set read/write permissions for everyone for my proprietary USB device on system boot. I have created a udev rules file which changes the permissions for the device when it is connected, but it does not change the permissions when the system is booted with the device already connected. The file looks like this:

SUBSYSTEM=="usb_device", SYSFS{idVendor}=="our vendor id", MODE="0666"

Does something else need to be added to the rules file to make it work when the system boots with the device connected? Is there some other script which needs to be created somewhere?

View 1 Replies View Related

Debian Configuration :: Udev Rules To Change R/W Permissions?

Mar 28, 2011

I'm trying to allow non-root account to use avrdude to program mucrocontrollers. There are many articles online about how to do that, but it seems not to work for me. Every time i try to execute avrdude it says "permission denied". Here's "$ udevadm info --name=/dev/bus/usb/002/011 --attribute-walk" says looking at device '/devices/pci0000:00/0000:00:1d.1/usb2/2-1':

KERNEL=="2-1"
SUBSYSTEM=="usb"
DRIVER=="usb"
ATTR{configuration}==""

[code]....

However, after restarting udev, replugging the device, even rebooting the computer I still get "permission denied". The Vendor and Product match, so what's the problem?

View 7 Replies View Related

Debian Configuration :: Permissions & Fuse - Mount A Remove Filesystem Onto Own Server

Feb 10, 2011

I'm trying to mount a remove filesystem onto my own server. I am able to do this, however I can only access it as root, or if I chmod 777 the lot. Obviously I want to be as secure as possible, so I'd like to avoid either one of those options. Another option is to mount it directly into my home directory, but previously when I was trying out Ubuntu this caused Samba problems - and I was advised mounting in my home dir was a workaround rather than a proper fix.

I have root access with sudo on my own server. I've not set a root pasword, and until I need to I'll avoid it. I have a user account with full control over my own home directory on the remote server. I am mounting using fstab - sshfs#username@remoteserver:/media/sdk/home/username/ /media//remote/ fuse user,idmap=user 0 0

What I would like to do is without changing the permissions on the remote server change the permissions when they are mounted on my own server. I would like them to be in the group sambausers for example. Instead they are owned by root and in the group of 1024 (which I have not set). Additionally for this to work they would have to have 770 on my home server and 700 on the remote server....

View 1 Replies View Related

Debian Configuration :: Can't Start Ubuntu LXC

Jan 30, 2016

I can't start a Ubuntu 14.04 Trusty LXC on Debian 8 Jessie host. I keep getting this error.

lxc-start 1454188100.777 ERROR lxc_cgfs - Could not find writable mount point for cgroup hierarchy 8 while trying to create cgroup.
lxc-start 1454188100.777 ERROR lxc_start - failed creating cgroups
lxc-start 1454188100.777 ERROR lxc_start - failed to spawn 'rosxubuntu'
lxc-start 1454188100.777 ERROR lxc_start_ui - The container failed to start.
lxc-start 1454188100.777 ERROR lxc_start_ui - Additional information can be obtained by setting the --logfile and --logpriority options.

View 8 Replies View Related

Debian Configuration :: New Kernel Cannot Start ?

Sep 10, 2010

I have maked a new kernel (version is 2.6.24.7) in debian system which kernel is 2.6.26, and then when i start the new kernel which is 2.6.24.7, it tells me that:

View 1 Replies View Related

Debian Configuration :: Start VPN Connection On Boot

Jul 18, 2015

I am struggling to find out how to start the connection to my VPN on boot?

View 1 Replies View Related

Debian Configuration :: How To Auto-start GUI As Root

Sep 28, 2015

I have a "time-server". It's sending time to different devices through different ports/protocols. The problem is that it has no operator and that makes some extra difficulties.

Now when i try to start it using terminal Code: Select allsudo ./myprogram works fine and

Code: Select all./myprogram doesn't work.

It is so because without sudo i have no access to ports. As a result If i add my program to System->Preferences->Startup Applications it has the same problem. So i need to start it as root, auto-start, right after auto-login to system but without entering password cause nobody will do it.

Also I need to start ntpd but it also asks password sometimes I've tried googles but it offer a few ways with entering password that isn't suitable for me or writing some scripts/changing system files but with no example I'm afraid to break it all. So is there a way to start Myprogram and NTPD as root with no password entering?

My system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686

View 12 Replies View Related

Debian Configuration :: #couldn't Start The Xserver?

Mar 26, 2010

im sure that my graphic card is good but after i installed the compiz manager ....the system failed to start the xserver this is the xserver output :

x.org x server 1.7.5
release date : 2010-02-16
x protocol version 11, revision 0

[code]....

View 5 Replies View Related

Debian Configuration :: Start The Ssh Connection Between Both The Computers?

Apr 27, 2010

I have installed GNU/Linux Debian on my computer (desktop) and i have ubuntu installed on my laptop. Now I want to start the ssh connection between both the computers. I want to make Debian as server and Ubuntu as client. Please can you guide me with this (installation and setup). Also the key values of the configuration file (ssh_config & sshd_config) are expected.

View 10 Replies View Related

Debian Configuration :: Best Way To Start Script At Boot?

Apr 29, 2010

I have a bash script that starts gammu, which I would like to start at bootup. But how do I accomplish this the best way ?

One way is to do it like this

Copy the file to /etc/init.d/
chmod +x the file
update-rc.d scriptfile start 20 2 3 4 5 . stop 20 0 1 6 .

But is there a better way ?

View 1 Replies View Related

Debian Configuration :: MySQL Server Doesn't Start

Jun 18, 2015

Since upgrading from Wheezy to Jessie I have not been able to start the MySQL-server. When I do a "systemctl start mysql" I get the following answer on the console:

Job for mysql.service failed. See 'systemctl status mysql.service' and 'journalctl -xn' for details.
Entering 'systemctl status mysql.service' the answer is:
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql)
Active: failed (Result: exit-code) since Don 2015-06-18 18:35:41 CEST; 4min 1s ago
Process: 11272 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)

syslog and hostname.err don't show any pertinent messages.

View 4 Replies View Related

Debian Configuration :: Auto Start Proxy On Boot

Aug 13, 2015

I have a debian 8.1.1 server running owncloud and a proxy server at home. I have everything working fine, with one exception. The proxy server won't start on boot. If I ssh into the server, then run "sockd -D" as root, it starts up and runs just fine. Any guides I find refer to the init.d script method that worked in Wheezy, but that isn't working. I think it has to do with Jessie switching to systemd? I had used someone elses script in init.d, and ran update-rc.d, but it still doesn't start.

With Jessie, how can I make "sockd -D" execute on system startup?

View 0 Replies View Related

Debian Configuration :: Nm-applet Doesn't Start After (Testing)

Feb 22, 2016

After the latest update of network-manager-gnome to version 1.1.90-3 , I see that I have to start the nm-applet in Testing from a terminal, otherwise I can't bring up my wired connection.

The usual nmcli networking on command is failing to connect, also restarting the network-manager.service with systemctl doesn't do anything, the only way to connect at this time is indeed to manually start the nm-applet from a terminal.

I've also spotted this message in the logs:

Code: Select alltraps: nm-applet[1105] general protection ip error:0 in libgobject-2.0.so.0.4600.2

Could it be something wrong with my configuration (although , it worked before this update) or is it some bug in network-manager-gnome 1.1.90 ?

View 4 Replies View Related

Debian Configuration :: Correct Way To Start Multiple Instances Of MPD?

Mar 18, 2010

The first thing that comes to my mind is to add (copy) the script in /etc/init.d and the /etc/rc* directories by hand. Debian's automatic handling of init scripts on package install/removal is quite nice, so I tend to shy away from making any manual changes if there's an automated way to do it. Which leads me to the question: is there an official way to run a second instance of a daemon? (Tried google, didn't find much more than a bug report).

View 4 Replies View Related

Debian Configuration :: Resolvconf - Does Not Start At Boot Time

May 1, 2010

I'm running Debian Etch AMD64, and currently trying to clean up my system in preparation for an upgrade to Lenny. One problem I have is that resolvconf (which is installed) does not start at boot time, but if I start it manually then bring the NIC down and back up, it works OK, with no error/warning messages.

View 9 Replies View Related

Debian Configuration :: Aptitude-gtk - How To Install And Start The Program

Mar 4, 2011

I have downloaded the package but i dont know how to install and start the program.

View 10 Replies View Related

Debian Configuration :: Disable Vsftpd Start On Boot

Mar 15, 2011

I am very pleased with a new Squeeze desktop that I built. I am use to using BSD style init scripts (Slackware, OpenBSD, Arch) and am trying to tweak my system not to start vsftpd at boot. I use vsftpd occasionally to move large files between computers on my LAN. My inittab shows run level 2 as default.

View 3 Replies View Related

Debian Configuration :: XFCE4 And GNOME Simultaneous Start

Mar 20, 2011

It's so frustrating that it costs me much self-control not to express my feelings about that directly.So the problem is that XFCE4 and GNOME starts after I choose GNOME option at start-up (in GDM or KDM - I don't know which of them I have as default).If I choose XFCE4 at start-up there is no problem - only XFCE4 starts. Otherwise (if I choose GNOME) GNOME starts and XFCE4 at the same time.

View 7 Replies View Related

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

Debian Configuration :: Gnome Login Screen Fails To Start

Oct 6, 2015

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[1692]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Oct 06 14:23:17 DEBIAN-PC gnome-session[1680]: X Error of failed request:  BadValue (integer parameter out of range for operation)
Oct 06 14:23:17 DEBIAN-PC gnome-session[1680]: Major opcode of failed request:  154 (GLX)

[Code] ....

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?

View 12 Replies View Related

Debian Configuration :: Make Vino Start At Boot Time?

Jan 5, 2010

so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot

View 2 Replies View Related

Debian Configuration :: Apache2 Doesn't Start At Boot Time?

Dec 6, 2010

I am running Debian-Squeeze with apache2. However, apache2 doesn't start at boot time, even though there is of course the required script in init.d. I can start it later on using "/etc/init.d/apache2 start". I have checked the configuration with "apachectl configtest" - giving the answer "Syntax ok". How do I get it to start automatically at boot time?

View 1 Replies View Related

Debian Configuration :: Making (PPPOE Start) Run At Startup Automatically

Feb 17, 2011

I have to use pppoe because my ISP uses service names, and as far as I know the only program which lets me input a service name is pppoe (inside the pppoe.conf file). Networkmanager is buggy because it tends to disappear from the panel periodically and, worse, it doesn't reconnect (although the option is selected, it does reconnect only once).

So, for peace of mind I open a superuser terminal and enter "pppoe-start" and "pppoe-stop" to have everything I want (reconnects automatically, etc.). Now the question is: how can I have pppoe-start run at startup, automatically, without entering superuser mode, and without having a terminal open for this? Using Debian Testing (Wheezy).

View 2 Replies View Related

Debian Configuration :: Firestarter Fails To Start On System Boot

Jul 11, 2011

I have just recently installed firestarter to get an idea of iptables editing with a GUI. Firestarter works great and I love it, however when I turn my system on, and my system is booting up the terminal displays a "Failed" message when attempting to start up firestarter. Now I have been doing my homework (reserch) and have read that a user will get this error because firestarter trys to load prior to the network manager starting up. I have also read some other variables that can cause this is if you use network manager and have a password on your user account (which I do have) can cause this issue.

However in most cases from what I have read is even though it gives the user a "Failed" startup message, once the user logs in, and is connected to the internet firestarter will actually load the iptables. I did some tests and from what I understand I can see that this is true because I have allowed access to certain torrent trackers, and denied access to others, and I can see some come online. Does firestarter load iptables once the user logs in? Or once it fails to load, does it not load at all unless you manually open/load the application. If firestarter just modifies iptables, then once I save my listings in firestarter then I really don't need it to start up correct?

View 1 Replies View Related

Debian Configuration :: How To Make Vino Start At Boot Time

Mar 3, 2010

I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.

View 3 Replies View Related

Debian Configuration :: Can't See System Start And Stop Message From Console After Install

Sep 26, 2015

After install debian 8, I can't see system start and stop message from console ... How can I enable system message from console in debain 8?

debian 7 output
----------------------------------------------
root@demo:~# service apache2 restart
[ ok ] Restarting web server: apache2 ... waiting .
root@demo:~#

debian 8 output
-----------------------------------------------
root@demo:~# service apache2 restart
root@demo:~# <=============================== No message (start or stop)

View 0 Replies View Related







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