Debian :: Automatically Start Graphical (SDL) Program As Root On Non-graphical Debian?

Mar 3, 2009

I'm not a Linux noob, but I am far from guru. I'm running a single board computer with a slightly customized Debian Etch (customized by the SBC vendor). No Gnome/KDE/X installed. My application is a control application which uses SDL (Simple DirectMedia Layer) to paint some basic graphics on the VGA. I need to run it as root because the application calls iopl() to access an IO port.If I run my application manually from the command line, life is sweet. From Googling around, I found http://www.debian-administration.org/articles/28, and hence I:1) Created a script in /etc/init.d2) Executed "update-rc.d scriptName defaults" to link the script into the boot sequenceAll very straightforward. My application starts at boot. But when I try to SSH/SFTP into the SBC, I get "Connection refused". So I can't manage the SBC anymore, and this is a big problem. I am not sure if it's relevant, but my application starts before the SSH daemon.My script looked like:

case "$1" in
start)
echo "Starting my application"

[code]...

View 1 Replies


ADVERTISEMENT

Debian :: Make Program Run On Startup In The Graphical Env

Feb 21, 2011

I have a dedicated server which runs a game server. On that dedi, I had Debian installed, and I wanted to have graphical access to it so I installed Gnome and nxserver. I want the game server to run automatically when the server boots up and have it appear in a console window when I connect to nxserver. So I added it in the Startup list by going in System > Administration > Session.

My problem is that the program doesn't start when the system boots up, but only when I connect to nxserver. So I assume it is something like gnome not starting up or opening a session until I open one remotely or something such.

But is there anyway to have that game server start in a console window when the system starts up? I tried using init.d but the problem is that it doesn't open any window, and I need to interact with the server through the console. What can I do?

View 5 Replies View Related

General :: Automatically Logs Into A User (not Root) In Graphical Mode And It Does Not Asking For Any Password

Dec 14, 2010

When I start my ubuntu linux system it automatically logs into a user (not root) in graphical mode and it does not asking for any password. when I try to go to the command prompt the password is required. How do I give password for my user. The provider installed the system and not me..

View 5 Replies View Related

Ubuntu :: Start A Program On Remote Computer In Graphical Mode?

Feb 1, 2010

Sometimes I would like to start XBMC on my media center using my laptop. I manage this system fully via SSH, but there is one thing that I don't know how to do, or know if it is even possible. I would like to start XBMC from my laptop so that I don't have to reboot the machine in order to do that (XBMC launches upon boot). Is it even possible to launch a GUI on a remote computer using SSH, and if so, how?

View 9 Replies View Related

Debian Configuration :: Configure (start/stop/restart) Services (especially Apache2, MySQL And PHP) Using A Graphical Or Cli Tool?

Jul 23, 2010

I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).

View 9 Replies View Related

Ubuntu :: Graphical Volume Manager - Finding Graphical Partition Editors That Work With Lvm2

May 9, 2010

I know how to manage them from a commandline but I was wondering if there are any graphical partition editors that understand and work with lvm2?

View 1 Replies View Related

Debian :: Graphical Browsers Cannot Browse The Web Pages?

Jul 12, 2011

Every thing was running ok in debain squeeze, but last time when i boot the system and connected to the Internet with the dialup connection, the graphical browsers like firefox and epiphany stop working and cannot open the web pages, the error is " Problem loading page", other clients like nslookup, ping, ftp clients and text browser lynx working ok.

View 4 Replies View Related

Debian :: Interface - Command Or Graphical Based?

May 12, 2011

I wanna know if the debian interface is command based or graphical? If its command how do I start?

View 14 Replies View Related

Debian Multimedia :: Can't Load Graphical Enviroment

Apr 5, 2011

I'm having problems installing Debian 6.0I can't load the graphical enviroment. I've tried the gnome and lxde but both of them freezes on screen.

View 1 Replies View Related

Debian Multimedia :: Graphical Client For Sftp?

Jun 29, 2011

I've never really found an FTP client that I really like, but until recently I've been using gftp. Now I'd like to switch from ftp to sftp, and when I try this in gftp (using the host ftps://ftp.website.com) it just says this:FTPS Support unavailable since SSL support was not compiled in. Aborting connection.

View 3 Replies View Related

Debian Installation :: Install Only XFCE With Graphical Installer

Apr 27, 2015

I'd like to do a fresh install of newly released Jessie with only Xfce in a graphical installer. When I come to the point where i have to select the DE to install, there are options: Debian desktop environment, and then ...GNOME, ...Xfce, ...Lxde etc.

I guess that with the first option, it's like in Wheezy - it installs the default, which is gnome. But if i choose the ...xfce option, do i have to keep the 'debian desktop environment' option checked, or will that just install gnome alongside Xfce? Do i have to check only Xfce as an option?

View 2 Replies View Related

Debian Installation :: Installing The Squeeze Graphical Desktop?

Aug 28, 2011

I am trying to install Squeeze (Debian 6.0.2), KDE environment, desktop PC, older 32-bit single CPU, 40 GB hard drive wholedisk, 2 GB RAM). I am trying to install an encrypted hard drive (takeover installation using entire hard drive).

Each time I try this I seem to run into different problems, and to date I have not succeeded in obtaining graphical installation. My most recent previous thread on my problems is at

viewtopic.php?f=17&t=67113

It contains video controller hardware information. (In that thread I mentioned a desktop and a laptop; I am currently trying to install Squeeze on the desktop PC, not the laptop!)

It seems I will need to request using apt in the shell the Squeeze package firmware-linux-nonfree. I am not familiar with configuring apt from the command line. Can anyone just tell me what I need? (I have many other things I am trying to learn today, so RTFM would not be helpful in this instance.) I am hoping apt will be autoconfigured well enough to get the deb if I simply give the command. Would it be

apt-get install firmware-linux-nonfree

I want to ensure before trying to get apt to install debs over the internet that the key-signing and package verification is working. I hope that all is done automatically by the installer, but does anyone know with certainty? I stress that (as I understand things) checking the GPG signature of a signed deb is different from and complementary with checking the integrity hash; both verifications are crucially important. The reason I ask is that at least under oldstable (Lenny) there was a separate debsig package, which seems to imply that apt does not automatically acquire the ability to check the GPG signature of signed debs.

Someone said that in addition to non-free drivers I might need to obtain firmware. I have never been able to do this successfully, probably because hardware sites assume Windows users and I don't use Windows at all.

View 10 Replies View Related

Debian :: Graphical Login Screen On An Infinite Loop?

Jun 3, 2010

I'm using debian etch and I've installed some automatic updates, after that some programs weren't running. So I restarted the pc. Now that the computer boot up normally but when it reaches the login screen it just emit a sound in the pc's speaker,he login screen flickers and is showed another login screen again and again and again (it's automatic). I can logon using the option single-user mode in the grub options, any idead on how can I fix it?

View 5 Replies View Related

Debian :: No Graphical Interface After Power Mac G4 Basic Installation

Mar 2, 2011

I made a basic installation of Debian on my Power Mac G4. It worked well, but now, when I start up, after introducing my password, I have something like this

myname@debian:~$

What shall I do now? I hoped for a graphical interface...

View 3 Replies View Related

Debian Multimedia :: Horrible Fonts And Graphical Environment?

Dec 28, 2010

Recently switched from windows XP on Debian. Very happy) After reading smth my eyes are really tired, fonts are smoothed or smth like that But! Do not like the font settings, there is no definition that is in the windows. Very tired eyes, advise how to configure?KDE stands Smoothing, that is just not done

View 11 Replies View Related

Debian Multimedia :: Odd Graphical Glitch After Squeeze Upgrade?

Apr 4, 2011

So I've upgraded from Lenny to Squeeze, which has been a tadge more interesting than I would like, but there it is. But I've got one problem that is eluding me still. When I load up, but before login, my second monitor displays what I can only describe as a glitched-up memory of something it was displaying before, unless it has been turned off and turned back on again (as opposed to restarted), in which case it displays a very bizarre tiled image. I can't help but feel this is something obvious I've missed.

View 1 Replies View Related

Debian Multimedia :: Has No Graphical Package Manager Frontend?

Aug 19, 2011

Requirements - 1) Should have options to show only graphical packages.2) Easy to use.Software-center is outdated and packagekit doesn't work well (search for 'winff' with graphical packages filter) with any backend.

View 14 Replies View Related

Debian Multimedia :: Graphical Application To View Logs On Remote System

Jan 16, 2015

I have a web server that hosts multiple websites. Am looking for an application that can be run on my workstation and makes it possible to watch Apache logs live.

It should have a tabbed interface. When I launch the application, it has to connect to my server and should automatically open all access.log and error.log files and display all changes in real time (similar to tail -f command).

Does anything like this exist?

I'm tired of logging in many times in Konsole and executing tail -f commands to see parallel logs.

View 7 Replies View Related

Debian :: Changing Graphical Login Screen Refresh Rate On Lenny

Jun 26, 2009

Is there any way to change the resolution and refresh rate of the graphical log on screen in Lenny? I have the right resolution and refresh rates set for after I log in but I don't know which file to edit to make Lenny use the right settings for the log on screen.

View 1 Replies View Related

Fedora :: Gksu Graphical Authentication Program?

Sep 13, 2009

Does Fedora 11 gnome have that gksu graphical authentication program which allows a normal user to open tools such as that NTFS Configuration Tool to enable full ntfs write support ? I did try to find it with both yum in a terminal, and the package manager, but is not found.

View 11 Replies View Related

Ubuntu :: Graphical Program Over X Without Installing Any Sort Of GUI?

Feb 15, 2011

I have a really old Dell computer (Dell PowerEdge 1300) that I am wanting to use as a small server (samba file server and apt-cacher-ng). I installed Ubuntu server and then did "sudo apt-get install --no-install-recommends ubuntu-desktop" which was a bad idea because it killed the performance.So here is my question.Ive read you can split the X client and server. Would that let me run a graphical program (like Synaptic) over X without installing any sort of GUI on the Dell?If that is the case, how would I go about doing so?If I would still have to install a GUI on the Dell, what are other options since the on-board display adapter seems to struggle with graphics?

View 3 Replies View Related

Ubuntu :: Start The X Graphical Interface Without Using GDM?

Jun 15, 2010

I would like to start the x graphical interface without using GDM. I may be using the wrong terms here for x. Maybe it is called xdm or x11 or something.) I have set GDM to login without asking me for a password (I am the only user of this machine.) Sometimes, it still pops up the GDM login screen and if I select "actions" "reboot" (my memory tells me that is what it was,) it will reboot without asking to login, but the fonts are all wrong. If I select "apps" "restart" and it DOESN'T ask for my login, all is OK.

I would like to uninstall GDM, and place whatever GDM uses to start the graphical interface into the /ect/rc2.d startup scripts. I know GDM does other stuff then just logs me in and starts the graphical user interface, and I think I would like to maintain some of that, but I think I would like to manually insert the startup sequence in the startup scripts. Question one, can someone tell me where to look to find out what GDM is doing now so I can attempt to replicate it?

#2, does someone know the startup script line(s) to start the x server and graphical interface without GDM? I think this has bees asked before, but it seems hard to search older posts.

View 7 Replies View Related

OpenSUSE :: Appearance Of Graphical Apps Run As Root ?

Feb 6, 2010

When I run graphical applications as root (on KDE4), they inherit my window decorations setting, and use the default widget style. I know that, obviously, I can configure root's widget style to match mine, but I do like the visual distinction. I just don't like it using my window decorations, because I have that nicely configured to match my widget style (and therefore clash with anything else). Is there any way to tell KWin to decorate root windows differently, or even run a separate window manager for root windows?

View 9 Replies View Related

OpenSUSE :: Root Can't Login In A Graphical Mode?

Jun 28, 2010

I was reading /usr/share/kde4/config/kdm/kdmrc and see this 3 lines:

# Allow root logins?
# Default is false
#AllowRootLogin=false

this doesn't mean that root can't login in a graphical mode? (I can login as root)

[Code]...

View 5 Replies View Related

Ubuntu :: Cannot Login In Graphical Mode/ Won't Start X?

Mar 23, 2011

I'm having a problem booting Ubuntu. Last time I used Ubuntu I did 2 things that might have caused this:1- I added a repository to my software sources:

Code:
deb http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu (lucid main #xorg-edgers PPA)
deb src http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu (lucid main #xorg-edgers PPA)

[code]....

View 1 Replies View Related

CentOS 5 :: Cannot Start X Server (Graphical Interface)

Feb 7, 2009

I took the hard drive from my server and put it into another machine to install centos with, as the server does not have a working CD drive. So now the situation is that x refuses to start when centos boots. I get a message saying:
Failed to start the X server (your graphical interface). It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?

View 19 Replies View Related

Ubuntu Security :: Graphical Root Access Inconsistancy?

May 25, 2010

I temporarily placed a Back in Time backup into the root partition, by running it as root.However, I couldn't get it back out on the Desktop, so I opened a terminal window and ran 'sudo nautilus', which I now know should be avoided. I couldn't bring up "Properties" of the root folder, but I was able to open it and see the backintime folders. I then clicked on root, which was in the toolbar row "< root backintime" and was able to get full access to properties. I flipped folder access to "create and delete files" for Otherter disconnecting from the network, and moved the folder to the Desktop. So, is this correct or is it inconsistent that I could open root from the toolbar and not from the folder listing when opening 'filesystem'?

View 6 Replies View Related

Ubuntu :: Start Up Graphical Mode From Command Line?

Sep 19, 2010

Is it possible to instruct Ubuntu to start up (GUI) Graphical User Interface mode from (CLI) Command Line Interface mode? In the old days, you can type "win" in DOS to get into Windows - something along that line. Is it possible for Ubuntu in this case?

Yes, you can reboot to switch between the modes, but shouldn't there be a command for this?

View 2 Replies View Related

Networking :: Start Graphical Application In X Environment Using PUTTY?

Nov 3, 2010

i can start applications like Openoffice, firefox and other graphical app inside terminal on gnome.

View 3 Replies View Related

General :: Disable Root Login To The Graphical User Interface?

Apr 15, 2010

Does any body knows how to disable the root login to the GUI , like i am running my redhat server on runlevel 5 and i dont need tht root to get login to the GUI , i ma talking about redhat 5.

View 2 Replies View Related







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