Debian :: Properly Open A File As Root?

Mar 24, 2011

i will try to keep this post short and to the point. i am currently running debian with kde and i am trying to edit /etc/apt/sources.list. i know that this file needs to be opened as root for the changes to it to be saved, so what im doing (in konsole) is:

concreteabstract@debian:~$: su
Password:
root@debian: /home/concreteabstract# kwrite /etc/apt/sources.list

but that doesn't work, and the message i get is:

No protocol specified
kwrite: cannot connect to X server :0.0

View 5 Replies


ADVERTISEMENT

Debian :: Root Access And Desktop Disabled \ Couldn't Open The Root Terminal?

Feb 19, 2011

I was using the latest stable release of Debian, dual-booted alongside Windows Vista, with the GNOME desktop, installed via netinst, trying to build and install a library that I knew and trusted, when suddenly I couldn't open the Root Terminal. I clicked the link (in Applications->Accessories (I think, whatever the top one is)->Root Terminal), and in the taskbar I saw an item that said "Starting Root Terminal". A few seconds later, that went away, but the terminal still wasn't open. I tried the regular user terminal, to see the same thing happen. Unsure of what was happening, I tried restarting my computer, since that's always the first step you should take in computer problems.

When I restarted, GNOME wouldn't start. The screen would flash a bit for a few seconds, then a dialog box would appear over a background of static that said "The greeter application is crashing. Attempting another one...".t would then go back to the DOS-style kernel, wait a second, and then the same thing would happen. After several of that, I would get a blue screen which said something to the effect of "It has been detected that the desktop environment has crashed six times in the past 30 seconds.

Waiting two minutes before trying again." When it did that, I tried logging in as root to assess the problem. I gave it the correct password, but it said that it was an incorrect login. After several tries (to ensure I didn't mistype the password), I logged in as myself. Same problem. I tried the su command, with the correct password, and it said it couldn't authorise it.

After a lengthy conversation with a friend of mine who was very good with computers, he basically summarised that he had no clue, but that his best guess would be a virus. Upon running the Linux installer, I found the Repair option. Not being particularly familiar with Linux, I used it simply to backup my important files onto a flash drive. I then tried running the Install option, in an attempt to simply write over my existing Linux and make it new again. The installer, however, consistently froze up when trying to start the partitioner, on the "Checking disks..." stage. I figured it was a problem with my partition. In my naivete, I simply used the Windows tools to clear that partition... It destroyed GRUB too, so I couldn't run any OS. I figured my computer was pretty well screwed, and at that point just decided to bring it into the shop and have them completely wipe it.

my computer was backed up onto an external hard driven I brought it back, I reinstalled Windows. Upon restart, it said that it was still looking for GRUB, which made no sense to me. After messing around with it a bit, I decided to just reinstall Linux too. To my lack of surprise, that fixed the problem. Both OS' now ran just fine. The first thing I did on Debian was to install the Clam Anti-Virus, which I understood to be one of the best Linux anti-viruses. However, within about 10 hours, got the same problem as originally. I wasn't doing any of the same things, and between the lack of consistency in activities and the fact that I had an anti-virus running,figured it wasn't a virus. Not knowing what to do, I just left it and have been using Windows since.

View 8 Replies View Related

General :: Cannot Open File In RW Mode - Filling Root File System With Log Files

Nov 3, 2010

I work for a company that makes portable devices running Linux and I was recently asked to make the underlying file system read-only for "security" purposes. Since the distribution is based on LinuxFromScratch, I know that very little writing happens at run time. So, even if the device runs on a usb flash device, I doubt that putting the root file system RO will be that beneficial. I am actually more concerned about a process actually breaking because it cannot open a file in RW mode than a process going rogue and filling the root file system with log files, etc. I'd really like to ear what kind of advantages disadvantages there really is with read-only file-systems.

View 6 Replies View Related

Fedora :: Can't Open Text File With Gedit As Root

Jun 6, 2011

I can do it with mousepad. Below is what I get when trying to open with gedit

[Code]...

View 3 Replies View Related

Software :: Gedit Uses In Root - Doesn't Open File

Oct 8, 2010

What is it gedit uses additional that causes so many problems in root account? When run Code: # gedit /some/file it either doesn't open file at all or opens it with lots of errors...

View 3 Replies View Related

Debian :: Non-Root Terminal Does Not Open

Sep 9, 2009

I am running Lenny with LXDE. Fresh install of the single CD. The regular terminal fails to open when I click on the icon or when I use the Accessories menu title. However, the root terminal will open. Any way to fix this? I don't want to always be using root for routine work.

View 13 Replies View Related

Debian Configuration :: Kernel Panic: Cannot Open Root Device

Jun 7, 2010

I am using a kernel with no initrd. I have had this kind of panic before. Usually it means that the kernel can access the hard drive because the driver for the controller or filesystem isn't built into the kernel.

The kernel is 2.6.34 vanilla.

My IDE controller is a Silicon Integrated Systems SiS 5513, and I built the driver for it into the kernel BLK_DEV_SIS5513=y

My /boot (hda1) is ext2, and everything else is ext3

EXT2_FS=y
EXT3_FS=y

My grub entry (hda2 is my root partition) kernel (hd0,0)/vmlinuz root=/dev/hda2

View 5 Replies View Related

Debian :: When Open Up Konsole And Type 'su' And My Root Password - Authentication Failure ?

Apr 8, 2010

My system software is installed on an encrypted LVM on hda1 and hda2. My home directory takes up the whole of hdb1 which is also encrypted. I can boot up into the kde desktop okay, but when I open up konsole and type 'su' and my root password I get the message "su: Authentication failure". I am absolutely certain that I am using the right password.

Even more strangely, if I fire up synaptic and give it that same password I am able to install software. Does anyone have any suggestions as to what's gone wrong and how I can fix it?

I can also type Ctrl-Alt-F2 and log in as root to do administrative tasks without any problems so I cannot understand why konsole has locked me out.

View 8 Replies View Related

Debian Multimedia :: Skype Starting Every Time When Open Interactive Root Shell

Jan 20, 2015

I recently "upgraded" to the latest skype and now every time I open an interactive root shell, up pops skype. I can close skype then control-C in the terminal window to get the shell I want, but this is annoying to say the least. Maybe my google-foo is off, but all I can find is articles on how to run skype as root, which is no use. I've tried searching the startup files for "skype" (case independant), but so far all I can find is "LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/ /usr/bin/skype" in the root .bashrc which shouldn't be starting the app.

what could be causing this?

(Running Wheezy)

View 2 Replies View Related

Ubuntu :: Parley : File Reseted \ "Could Not Open Or Properly Read "/media/Documents_/Parley/Anglais/Vrac.kvtml"?

Nov 18, 2010

I use Lucid Lynx and Gnome. This morning, I was restarting Parley from command-line to understand why it didn't played mp3 files. On restarting Parley, I pointed out that my file was reseted. This is what was written on my terminal and the content of my file.

Code:
Parley(4722): "Could not open or properly read "/media/Documents_/Parley/Anglais/Vrac.kvtml"
(Error reported: unexpected end of file)" "Error Opening File"

[code]....

View 3 Replies View Related

Server :: /etc/named.conf:57: Open: /etc/named.root.hints: File Not Found

Apr 1, 2011

I am using Cent OS 5.5 and i want configure DNS, but while configuring bind i am getting below error.

#/etc/init.d/named restart Stopping named: [ OK ]
Starting named:
Error in named configuration:
/etc/named.conf:57: open: /etc/named.root.hints: file not found[FAILED]

View 2 Replies View Related

Debian :: Install A .run File As Root?

Sep 5, 2010

person can set permissions on a .run file to 'execute as program', though this then returns response that the file needs to be run as root.

View 2 Replies View Related

Debian :: Use File Browser As Root?

Jun 26, 2011

Is there a way I can use the file browser as ROOT to move some files around, WITHOUT having to use the terminal es ROOT?

View 6 Replies View Related

General :: Editing A File As Root In Debian

Mar 16, 2010

But any changes I make cannot be saved unless I'm in root. I might be doing this wrong, but I cannot log into root or figure out how to open this file as the root user. I'm still somewhat new to Linux, so could someone please give me an idiot-friendly step-by-step of what to do to open, edit, and save this file as a root user?

View 3 Replies View Related

OpenSUSE :: Root Trying To Open Flashplayer In KDE Getting Cannot Open Display

Feb 18, 2011

We have a digital signage appliance built on SUSE 11.3 with a LAMP server that uses the flashplayer application to play a .swf file from localhost. It is a AOpen GP7A mini pc that has the nVidia drivers loaded. We have lots of customers that have been running the exact same system for over 6 months (we image the drive for each sale).

For some reason, my last customer is seeing the following problem shown below, and this linux configuration is way over my head. Everything else is working (local LAMP server is working, communicating with our production servers to get information works, etc). I have verified that it is screen 0 that is running (at least it shows with Ctrl-Alt-F7). I thought that it may have occurred because of updating the software with zypper up. I had the customer rebuild from the image being careful not to upgrade the software. The result was the same. The pc is a newer version compared to my bench pc, but there are multiple other customers running that same version just fine. So I am not sure if it is

The command is issued by a php script that is run in a root cron job. As I said, it works great on all other customer pc's including my bench system. I also tried to execute the command on a ssh terminal as the root user with the same result. I also upgraded my bench pc and it still worked properly.

The command being executed is sudo env DISPLAY=:0 XAUTHORITY=/home/svision/.Xauthority flashplayer http://localhost/flash/sign.swf &

the result (when run in terminal) is: No protocol specified (flashplayer:15077): Gtk-WARNING **: cannot open display: :0

View 2 Replies View Related

Debian :: Error "cannot Open Shared Object File: No Such File Or Directory" Using Updatetool On Glassfish 3 (Squeeze 64 Bit)

Mar 2, 2010

Error "cannot open shared object file: No such file or directory" using updatetool on Glassfish 3 (Squeeze 64 bit)

[Code]....

View 5 Replies View Related

Debian :: Can't Open Grub.cfg File

Feb 25, 2010

So, I installed AGAIN Squeeze And again boot fails Now it shows error 15

I tried booting into a LiveCD (ubuntu) to see what is happening But I can't open grub.cfg file (you're not the owner, it says)

What do I do to boot into my new squeeze?

View 2 Replies View Related

Debian :: Use File Manager Actions With Root Permissions?

Jul 30, 2011

If I use the GUI File Manager I ofter get stuck because I need root permissions to write or delete some file or directory. I realize I can drop down to Terminal and do either a sudo or change the permissions of a particular file, but these are several extra steps. Is there a way I can perform root actions on files using File Manager/Browser? Or is there an alternative file manager program I can explore that is more flexible? I am currently using Debian 6.01a installed from the Live CD, Nautilus 2.30.1.

View 14 Replies View Related

Debian :: Keyboard Shortcut To Open A File?

Apr 25, 2015

i'm using debian wheezy 7.8 with gnome 3.4.2.

I know how to set up a keyboard shortcut to open a program like libreoffice. Is there a way to make another keyboard shortcut to open direct a libreoffice file (.odt, .odb, etc).

View 4 Replies View Related

Debian :: Unable To Open .rar File On Lenny

Oct 8, 2010

I am unable to open .rar file on debian lenny. unrar-free has been installed but it does not open the .rar file. Is there another software i need to install?

View 5 Replies View Related

Debian :: Cannot Open Shared Object File

Mar 19, 2010

Peazip is a software at 32 bit.I have installed ia32libs but:$ ./peazip./peazip: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory.I have already installed libgtk2.0-0.

View 5 Replies View Related

CentOS 5 :: Root Partition Is Not Properly In RAID 1 - Error

Dec 17, 2010

I have just configure RAID 1 on my IBM X3400 Server in CENTOS 5 ..Partition information is md0 boot , md1 swap and md2 is root ....but after resyn when i run cat /proc/mdstat I realize that md0 and md1 is ok and present with [UU] status. BUT the md2 is showing on one [U_].. that means my root partition is not properly in RAID 1.. how can i make it active in both drive. Or i need to reinstall complete system again. Screen shot attached [URL]

View 2 Replies View Related

Debian :: Fresh Install - Root File System Error?

Mar 1, 2010

After a fresh install of Debian I came across an error Im hoping you guys can help me with. Ive searched for the error and it appears there are multiple reasons that could be causing it. To compound the problem, Im at work so I dont have the specific error messages....so I just installed Lenny (standard install, no desktop) using a USB installer and everything went very smooth. On first boot, the system paused while waiting for the root file system. After a minute or two it just errored out complaining it could not find the root file system and put me at a (vmlinuz) prompt?My guess is that I need to go into my bios and change my boot priority.. but again, thats just a guess.

View 1 Replies View Related

Debian :: Error - Could Not Open /dev/vmmon: No Such File Or Directory

Aug 13, 2011

When I first installed VMWare Workstation and Player everything ran great. I guess after a system restart things started to get buggy. When trying to load my virtual machine I get the following error:

Could not open /dev/vmmon: No such file or directory.make sure that the kernel module `vmmon' is loaded.Failed to initialize monitor device. Unable to change virtual machine power state: Cannot find a valid peer process to connect to I have tried running as root, through terminal, and reinstalling. The window still shows up eventually.

View 2 Replies View Related

Debian Multimedia :: File Association For AVI Does Always Open Totem

Nov 13, 2010

Since I installed my new debian squeeze system with gnome 2.30.2 I got problems with totem and totem-xine application.

Problem 1: The file asociation for .avi does always open totem! I changed the .avi file asociation unter -> preferences -> "preferred applications" for example to vlc... but no chance it always open the totem player. I looked also in the gnome configuration tool (gconf) and there is the file asociaton set on vlc, but he still opens totem.

Problem 2: All .avi files with video content I cannot see the video and I hear only the audio stream. If I open the video I got a popup with the message that the codec is not installed, then I click on search codecs and totem search for it and does not found anything. I have the codec installed because I see it in avidemux...
- If I install only totem I install also all gstreamer packages ...
- If I install totem-xine I install all xine plugins packackages etc ...
- If I use vlc or mplayer all works fine ...
- If I start totem over a console shell and I open the video, I get no error message in the shell.

View 1 Replies View Related

Debian :: Firefox 3.6 - Cannot Open Shared Object File

Oct 1, 2010

I did a fresh install of debian testing, changed to sid and did a dist-upgrade. Downloaded firefox 3.6 and placed it in my home directory. When I try to run it, I get the following:
Code: .....
Whats missing? I've also changed ownership of the file to me but i get the same error.

View 4 Replies View Related

General :: Open-install Of .BIN File On Dream - Debian

Apr 15, 2011

I am having a problem installing a game that is a .bin file. I have looked through various forums, and on Google, but can only find how to install .exe through emulation,open .zip, and other formats. I am using Dreamlinux Xfce desktop (Which to my understanding is Debian based). I pretty much have to face the fact can't figure out s**t on here.

I have tried running it from the terminal in these ways:

And some command I came across- $ Chmod (there was more to this command line but I forget it, found it on google, it ends with: +1 run)

I don't really grasp alot of the commands (I can look up DIR, run files, ya know ... simple stuff) and have spent most of the time just setting my OS to work, and this .bin is my first shot at an install...

View 2 Replies View Related

Server :: Open File Limit On Debian Squeeze ( 6.0.1)?

Apr 28, 2011

I have a problem with open file limit. The software I'm installing claims "Open file limit (ulimit -H -n) too low (1014), need at least 6311" but when I check the linit I get the following

Code:
# uname -a
Linux server 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux

[code]...

View 2 Replies View Related

Debian Installation :: Encrypted LVM Install - No Root File System Detected

Jun 1, 2013

I'm a long time user of Debian, but I'm having trouble with my partitioning process. Here is where I currently stand:

I am installing the latest Wheezy build. I am trying to install debian with an encrypted LVM that spans two hard disks.

My partitioning layout is as:

1. /home
2. /root
3. swap
4. /boot

I then added partitions 1, 2 and 3 to a physical volume group. I then took that physical volume group and added it to a logical volume. Then I encrypted the logical volume, leaving the /boot partition untouched. I was under the assumption that the only partition the system needed free to reach the loading of the LVM is the /boot partition, as it holds the files necessary for booting. But when I attempt to finalize the disk, it gives an error stating, "No root file system detected". That would be an issue as it is currently sitting inside the encrypted LV. Am I wrong in including the root partition in the encrypted LV?

What is the best way of having as little of my file system non-encrypted as possible while still allowing a proper boot?

View 9 Replies View Related

Debian Configuration :: Can't Umount Ramdisk After Loading New Root File System

Feb 1, 2010

I have built a kernel with a ramdisk(ramdisk.image.gz) included. Also in the kernel command line I specified root=/dev/ram0. I am trying to use this ramdisk to load a loopback file as the root filesystem off a fat partition. This is /sbin/init from the ramdisk.

#!/bin/sh
mount -n -t msdos /dev/mmcblk0p1 /mnt
losetup /dev/loop0 /mnt/linux/linuxdsk.img
mount -t ext2 /dev/loop0 /mnt2

[Code]....

The problem is both umount and blockdev report "device is busy". I want to free up this RAM any suggestions?

View 1 Replies View Related







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