How do I execute xinit on a remote computer through ssh (preferrably)? ssh -X is NOT an option. I'm not looking for running a remote program on localhost. I want to run a program on the server displaying on the server's display. I can do that if X is running. But if for some reason I need to stop X, I can't restart it from the localhost and the program won't run. If I run xinit as root (through sudo) through ssh I get:
X: user not authorized to run the X server, aborting. giving up.
The user can do this if I run it directly on the server.
I am unable to start my xserver, using the startx command that I have been using for the past 5 years. It goes to the blue loading screen with the x for a cursor, hangs there for about a min or so then goes back to the command screen. I get an error:
Code:
giving up. xinit: Permission denied (errno 13): unable to connect to xserver waiting for xserver to shut down xinit: Server error.I have tried logging on as root and trying startx again. Same error.
After regular upgrade (I am using Unstable) I boot my system today but failed to load X using xinit (which I always use). Using startx X loads but leaves it unusable, both mouse and keyboard don't work (I never use startx really as regular user but in root). The message is:
Code: Select allxf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
In my /etc/X11/Xwrapper.config I changed "allowed_users=console" to "allowed_users=anybody" and that doesn't work.
I'm using Fedora 14 and wanna place xbmc on another terminal using " xinit xbmc -- :2". The xbmc lunched fine in another terminal. But when playing sound, I can only hear it in terminal 1. That is, I open a gnome-terminal in terminal 1, run "xinit xbmc -- :2" inside -> xbmc lunched in terminal 2 -> play a video with xbmc -> graph is ok, but sound come out from terminal 1 rather than terminal 2. This shouldn't be a problem with xbmc, for when I use mplayer instead, sound come out from wrong terminal too.
I installed OS11.4 on my old laptop, Compaq Armada E500., 512MB RAM, ATI Rage Mobility. During installation I chose "minimal server" and added some development packages, lxde and a little more. I chose to start in runlevel 3 which is full networking without X. Still, when computer is booted it tries to start Xorg which doesn't work because of some problem w driver. The start-up seems to stop there, it never loads completely - seems most things in runlevel 3 are not started (see below) I can manually login on laptop and fix it - but never permanently, same thing again after reboot.
I have checked /etc/inittab & yast - both states default runlevel is 3. I have checked services to be started both directly, browsing directory /etc/rc.d/rc3.d/, and with YaST, it is very clear X should not load during boot. But, as said, it does.. I don't really care about the driver problem right now, I can fix that later when I have more time. So how do I stop X from getting started automatically?
More info, if needed: The installation also stopped with message on tty1 "Starting YaST2" and tty8 showing errors with graphics driver (mach64). The system seemed to be installed though, so I simply rebooted (issuing "reboot" from tty2).
[Code]....
I'm not completely sure where it stops, network is configured but keyboard is wrong and mysql & everything after is not started, so somewhere between S02network and S06kbd. I'm going to use it as a server for testing purposes so no X is actually needed - however I do want to have X & lxde installed just in case, my Internet connection at home is terribly slow so I need most things I might need in the future installed today.
I have a home computer that I bought to try Linux. first I want to reformat the HD so it is completely empty, it has xp now, then start from scratch. But I have not been able to format the HD. I have used all the tricks I know.
I down loaded the 5.9 lite live version of vector it seems to start fine but I get a msg when starting to this effect going to runlevel 2 you don't have a window manager (kde ,gnome etc etc). Ive tried to find information on several sites including vectors & havn't found any thing. I did get a list of commands off of the disk but none of the combinations. is there a way to get say kde to come up when starting the live cd?
I need to run a bash script BEFORE connecting to a vpn (which I do by clicking the network manager applet).
I need this script because when connecting to the vpn the routes are incorrect. The script needs to run before connecting to the vpn because I need to use the command "host" to set new routes and if the vpn has already started I cant access internet.
I would also need to run another script when the vpn disconnect so I can roll everything back to normal.
I have synergyc process that starts at boot. How do I prevent this process from starting? I've searched /etc, /etc/init.d for some configs or scripts but found nothing.
I 'installed' Fedora12 nine days ago. Everything went smoothly until I booted-up today when I got a message in the top right corner of the desktop saying "WARNING, A CRASH PACKAGE NAUTILUS - 2.28.1 - 2 FC12 HAS BEEN DETECTED."All my icons have disappeared from the desktop.In the tool bar I have a continuous row of moving identical icons for "Starting File Manager".
I want to start a service and a script SiteMonitor.sh at startup.
Here is brief working of SiteMonitor.sh(This script monitors the ip addresses of machines which are using http service of the host. This script checks this after every 5 seconds therefore i have run it at background.)
To start with i have modified /etc/rc.local file.
Here is the content of my /etc/rc.local file.
Code: #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff.
I have Ubuntu 10.10 installed on my pc with XBMC installed. It's set to boot into xbmc on start up and works fine. I also have squeezebox server (a music server for my network) installed and again don't have any trouble. I'd now like to get squeezeslave running, a client for squeezebox server so I added the following lines to /etc/init.d/local:
Starting from what I would think is completely from scratch, maybe worse. A friend set up this computer on unix/linux when I expressed interest. Truthfully I don't have even the slightest clue where to start other than to offer my complete humility. If I could start with getting my dvd and cd functions to work that would be a good start.
I just converted my physical Suse 11 desktop to a virtural machine on an ESX 4.0 server. The machine boots, but there is no GUI interface, as there is one on the physical machine. How do I start GUI from the command line interface?
I just upgrade my latest version started problems with the system to running the initial load, sometimes the process is killed and I have to shutdown cutting of the power and start over again for two or three times in order to run properly. Sometimes the screen is frozen suddenly or closing application shutdown by itself. Someone have the same problem? and if someone know how to solve the problem please let me Know.
OK, I have been a lifelong windows programmer and user. I started using the Linux OS as my primary desktop OS a few months ago. I decided it would be a good time to focus on programming more for linux than windows.I have downloaded the source code of the Linux kernel. and to avoid me waisting time figuring this out on my own I would like someone to answer me this question.
what is the starting point of the kernel, which file(usually a main.c file)contains the very first line of code executed when the boot-loader starts Linux.
I was reading about Linux and found out that you can apparently custom build your own operating system.
The thing is, it all sounds great for what I would like to do but my knowledge in that area is zero, or sub-zero.
My question is: is there an operating system out there, that will start up the computer, then have a browser installed on it - lets say Firefox - with a homepage www.example.com?... (no start button or taskbar)
Maybe no toolbars or anything else except the webpage itself.
Also the hardware should be plug and play, such as printers, mobiles scanners or any usb driven devices.
I have a file and at some point in the file the string "DONE" appears (it's unambiguous). I want to redirect all that is coming starting from the next line to a new file. How do I do that?
Installed FC-8 (DVD) on old dell 866mhez desktop years ago; works like a champ. Inherited dimension 2400, used same DVD. No errors loading (std config). Reboot and linux starts. Gets to 'Set clock - ok' and hangs on 'starting UDev'
Celeron 2.4G bus speed 400M L2 cache 128kb 384 DDR SDRAM FC-8 2.6.23.1-42 on the DVD.
I know FC-12 is out, but with older HW, trying to stay compatible.
I deleted all the contents of the /tmp/ folder while X is running.rm -R /tmp/* Now the X is continuously restarting without showing the login screen. Is there any way to fix this
I have Dell rack server. With the network card of five network ports. But I am just using first one (eth0).
Now the problem:
Its connected the internet and the internet is working fine. I also got update using yum.
When I do ifconfig to check its dynamic IP. It also shows the IP(something like: 192.168.x.x), but if I go to services and try to start DHCPd service its fails. Its not starting at all. And If I go to other computer (Windows 7) and try to ping the dell servers IP, I cannot ping it. So since I cannot ping it from other computer, so no one we can have remote access to the dell server.
I dont understand without starting DHCPd how the dell server is getting the IP address.
So I thought maybe DHCP is corrupted so I removed it using yum and reinstalled it using yum, but no luck so far.