Debian :: Execute Vino-server At Boot Time?
Mar 11, 2010how can i execute vino-server at boot time, before my graphical login prompt (gdm ?) appears
View 1 Replieshow can i execute vino-server at boot time, before my graphical login prompt (gdm ?) appears
View 1 Repliesso 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 RelatedI 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 RelatedKernel: Linux 2.6.26-2-686 (i686)
Compiled: #1 SMP Thu Nov 25 01:53:57 UTC 2010
C Library: GNU C Library version 2.7 (stable)
Distribution: Debian GNU/Linux 5.0.8
Desktop Environment: GNOME 2.20
Gnome comes with Vino Remote Desktop as part of it's package. I want Vino to run at boot so that I can login remotely.I am using VNC-4.1.3 for remote viewing. However, I can only view remotely once I have logged-in locally
I'm trying to connect to my server (to the gnome session) using vnc. I run vino-server on debian
I get pass the authentication (configured none) but I get a blank screen instead of my session.
Log from vino on the console:
root@B10-20-30-4:/etc/vnc# /usr/lib/vino/vino-server
** (vino-server:2547): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-7l6BcHLxb5: Connection refused
(vino-server:2547): EggSMClient-CRITICAL **: egg_sm_client_set_mode: assertion 'global_client == NULL || global_client_mode == EGG_SM_CLIENT_MODE_DISABLED' failed
20/03/2016 05:20:28 PM WARNING: Width (3046) is not a multiple of 4. VncViewer has problems with that.
20/03/2016 05:20:28 PM Autoprobing TCP port in (all) network interface
20/03/2016 05:20:28 PM Listening IPv6://[::]:5900
[Code] .....
I use two monitors,my problem is that I want to change the setup,so that the other monitor becomes default.There's no problem with my BIOS settings and I have tried every GUI tool that could help me(to my knowledge).Well I've found this URL...that helps a lot but I want to execute the command every time I boot before the splash screen(so that the login screen appears on the right monitor).I've tried rc.local but had no success.Any ideas on how to execute the command at boot time?
View 9 Replies View RelatedKernel: Linux 2.6.26-2-686 (i686)
Compiled: #1 SMP Thu Nov 25 01:53:57 UTC 2010
C Library: GNU C Library version 2.7 (stable)
Distribution: Debian GNU/Linux 5.0.8
Desktop Environment: GNOME 2.20
Gnome comes with Vino Remote Desktop as part of it's package. I want Vino to run at boot so that I can login remotely. I am using VNC-4.1.3 for remote viewing. However, I can only view remotely once I have logged-in locally.
I just upgraded to Ubuntu 10.04 yesterday on a headless home server. I use the server for a variety of purposes, and what I don't know how to do via SSH I've alway been able to do through VNC. However, since the upgrade vino-server will no longer run if there isn't a monitor attached. Before it used to start up without a problem. Even by attempting to run the server via SSH gives me a "could not load display" error. Summary: I need to get vino-server running at boot time on a server with Ubuntu 10.04, without a monitor attached.
View 4 Replies View RelatedI usually remotely connect to a client server to make adjustment via the CLI.Occasionally I have to login into the desktop to understand some issues that my customer are trying to explain via Vino-Server. I have notice that sometimes when I attempt to login via ssh, I sometimes can see that a user has not logged into the GUI desktop which means that I cannot login into the remote desktop session to resolve any issues via the GUI. My question is:How can I remotely login via ssh and start a gnome or kde session for the user account that I am trying to resolve his or her issue?
View 3 Replies View RelatedI have a fileserver running debian 6 and I would like to be able to remote control it over VNC. I have enabled Remote Desktop in Gnome and it works, however I have to be logged into Gnome for it to work. Gnome doesn't enable vino before a user is logged in for some reason. This presents a problem as there is no keyboard or mouse connected letalone a screen.
I looked up the issue on google and found this: [URL] Long story short, I have to edit /etc/gdm/Init/Default and insert "/usr/lib/vino/vino-server &" just before 'exit 0' at the end of the file, and change "KillInitClients" to "false" in /etc/gdm/gdm.conf. I edited the first one as it says, but I can't find gdm.conf anywhere. I did however find a 'daemon.conf' in the /etc/gdm directory, and added the line there.
When I try to connect after doing the above, my vnc viewer (client) just disappears - no errors, message, sound - nothing. It doesn't even ask for a password. I checked the comments in the link, and the second to last comment suggests it's because of some negotiating-issue which should be an easy fix:
Turned out I had to enable connections to vino not related to my user account. To do this run sudo vino-preferences and duplicate the settings instructed here
I have debian lenny, when I run an application is slow to load (example: iceweacel open and it takes, I can hold him iceweacel work normally), I tried to change from gnome to another and the same thing, went down some services (samba, squid) and nothing. I open a terminal and it takes, I want to duplicate it and do it fast. From a terminal without X (tty1) with root run mc and moves quickly, also run as root "sudo mc" and takes to boot.Any action done with sudo it takes to run.Can not be what it takes to make starting the applications, not the PC because it is new, and from one moment to another I began to pass this
View 2 Replies View RelatedCreate a file. change its permissions at a specific time. change the permission.
At the moment this is what I have and it changes the permissions of the file but not according to the time specified.
I'm doing a program and I want it to execute some code during n seconds. For example e put a command in the shell like this 'ls % 10' and the program should run the command ls for 10 seconds.I'm trying something like this:
Code:
pid = fork();
if(pid == 0) {
[code]....
I am running Centos 5.3. I ran no updates, performed no installs, nor changed any configuration immediately prior to this issue. My problem is this: when I run the command startx (default runlevel 3), it is a long time (5-10 minutes) before Gnome startx, and once it does start applications will not run. Also, when I try to use sudo (from any environment, even ssh), it is a long time (5-10) before the command is executed.
I cannot say for sure, but it seems like this is an intermittent problem. Sometimes X takes a long time to start, but once it starts it will launch programs. Sometimes X takes a long time to launch, but once it starts it will only launch certain programs. Though presently X always takes a long time to start, and I cannot successfully launch any programs.
A while back a had a similar problem to this (x taking long time to start, sudo taking long time to execute) and it ended up being a DNS problem. Unfortunately, I cannot remember exactly what it was and I stupidly did not document it. Maybe this is also DNS related, I don't know.
I don't know what log files to look at for problems with X, Gnome, and sudo taking a long time to start.
way to hibernate at a specific time or after a some minutes (like 40 minutes to an hour, guess the exact time doesnt matter anyway). normally i shutdown my comp at night with
Code:
sudo shutdown - P HH:MM
which works just fine, but sometimes i have like 4 workspaces of stuff open that i'm working on so i'd rather just hibernate. shutdown -H does this halt thing that is really not my cup of tea so from the aformentioned googling i found out about at and sleep and crontab etc. but at and sleep cant recieve my sudo password beforehand so its useless and crontab is for repetitive scheduling, which i'd like to avoid cause i would hate to be working and suddenly have my forgotten crontab script hibernate me.
so is there any way to do a delayed hibernation? or at least some way to provide the sudo password to an at or sleep prefixed command, beforehand?
i'm only interested in doing it straight up through the terminal, not through other 3rd party software cause i tried a few of those before i found out about shutdown and they didnt work very well.
I was thinking of creating a little audio alarm clock with an mp3 and mpg123 to play a song from a cron job each day. How do you specify the time of day to execute a cron job?
View 4 Replies View RelatedQuote:
#!/bin/ksh
DBcounttry_finalnofunc()
{
[code]....
I am trying to find a way to execute a python script in regular time intervals? How can I do it?
View 2 Replies View RelatedExecute a script as a non-root user at boot time. The script lives in /home/sbrown/scripts and has the executable bits set. If I run the script locally in the shell it behaves as normal, but will not at boot time It's a very simple 2 line script:
#!/bin/bash
# Starts IRSSI in a screen session
sudo -u sbrown screen -S irssi irssi
Here's WHAT DOESN'T work:
I put this in /etc/rc.local: sudo -u sbrown /home/sbrown/scripts/irssi_exec I also tried just copying the script to /etc/init.d/ and chowning it to root then ran update-rc.d irssi_exec defaults and rebooted. Still not working. This is on a Debian Squeeze box... what am I missing? Surely it should be simpler than this
I have just installed ssh-server in my Ubuntu 10.04, and really want to know how to enable/disable it and I also want to be sure if the changes will take effect after the next boot or not, and how to do that?
View 8 Replies View RelatedI've got the last Debian stable release, the amd64-DVD-1 file , and copy it to my USB stick, using win32diskimager, as recommended in the installation guide.
It seems to go all fine, but when I rebooted, after entering the passphase it started a fsck "from util-linux 2.25.2", then it says:
"/dev/mapper/Debian-root: clean" and stuck there. i gave it quite a bit of time, tried to reinstall it and also got into the rescue mode of the installer,
I am using Debian4 and I have apache under /home/apache/bin/apachectl How to start the apachectl service for every time system restart, Itmust be start automatically. Please tell me how todo or how to write the script, how to configure forrun level 2,3 and 5
View 6 Replies View RelatedI need a script that executes a command based on a folder's last modified time.
if "/var/data" was modified in less than an hour then "/usr/local/etc/searchd stop" should be run
can we use "find -mmin +60 -type d" in conjunction with second command
how to start or stop Jboss at boot time?
View 1 Replies View RelatedSome thing quite bad happened to me , i installed debian jessie about 2 month ago. Today I wanted to try what a gnu/linux is like so I installed dragora 2.2 on one of my free partitions , (sda 1 is my debian root , sda2 is my debian home, I had sda4 which nothing was on it so i installed dragora on it. But something bad happened , during boot time you get this page which asks you what distro you want to enter in past I had just one choice and it was debian jessie, I expected after installing dragora I will see 2 distros on this page, but i get just 1 , and that's dragora ... but maybe i should mention this that when entering dragora i can access all my previous files , debian systemfile , debian home , they are still there but i can't enter debian jessie ...
View 2 Replies View RelatedI have two partitions in LVM. They are added in /etc/fstab to mount automatically. But, they are not working. The process to mount partitions seems to be happening before the service /etc/init.d/lvm2 is started. I can get it mounted using "mount -a" command, but not during the boot time. What should I do get it automatically mounted on every boot?
View 5 Replies View RelatedI'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 RelatedA windows server named SRV is sharing folders for each users in /share/From a Debian computer on network logged with the user session "foo" I can mount the remote directory /share/foo with:smbmount //SRV/share/$LOGNAME /remote_directorythen the prompt ask me for password and when I have gave it the remote directory is mounted correctly.Now I would like to make this at boot time.If I put the same command in the .bashrc, when I boot, the remote directory is not mounted when the session is opened but then if I open a console, it ask me for password and the directory is mounted.This way is not convenient and it would be better if the directory is mounted when the user open his session and using the same password.The point is that every user should have a his own remote directory mounted when the session is opened.
View 2 Replies View RelatedOn Debian Etch I used to understand how to change boot kernel parameters with Grub. You could just edit menu.lst.
With the newer Grub in Squeeze I am without a clue! I want to set up a ramdisk, say 128 Megs in size, and add that to my boot parameters so that it is created every time the machine starts. Do I set something in /etc/default/grub ?
I'm trying to stop all boot time messages from appearing -- basically I'd like to have a simple blank screen from grub to xdm.
I tried everything -- used the "quiet" option in grub's config, added dmesg -n 1 to rc.local, changed console=ttySx, set kernel.printk in sysctl.conf to 4 1 1 7, and even eradicated rsyslogd altogether... to no avail. I still see all sorts of messages on my screen.