Debian does not load X [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have a (little?) problem on my Debian.
When it boots, the X does not load automaticlly.
I need to log on the terminal (in any tty) and after run the command startx.
After run this command, everything works.
So, I think that I just need to configure anything to make the Debian run this command.

Debian has a script for that. To make X start on boot, execute (as root or with sudo):
update-rc.d xdm defaults
For more info, read it's manpage:
man update-rc.d
If you are using Gnome, you'll probably want to use gdm instead of xdm.

Ensure that your x-server is active in your current init level.
Have a look at your /etc/inittab for your default runlevel.
Further you should have something like
x:5:respawn:/usr/sbin/gdm -nodaemon

Related

Where do we have to put a linux command? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I just coded a script in bash on Ubuntu but I don't know where I should put it...
I read I had to put it in /usr/bin in a tutorial but maybe it's better directly in /bin ?
This is the difference between both directories:
/bin
It contains commands that can be used by both the system administrator and the users, but which are necessary when other file systems are not mounted (for example, in single user mode). It can also contain commands that scripts use indirectly
/usr/bin/
This is the main directory of executable commands in the system.
Therefore, it will work on both, but you must establish what responsibility your script has.

Alt-Tab for Linux command line? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I am wondering if such a thing exists to where I could run a Java program remotely through SSH on my VPS and then Alt + Tab so that I can run other things in the command line without having to reconnect in a separate tab. I've tried looking through the Java options in the manual, but I couldn't find anything insightful.
In Linux/Unix kind system there is a utility called nohup. You can invoke any command or process using nohup; it will make your terminal free after execution. Linux/Unix systems also support background jobs by appending the character & at end of your command.
So if your Java process is as follows,
java <your program>
you can run it as follows:
nohup java <your program> &
This modified command frees your terminal and you can run another command as per your need.

Fedora: execute command on right click of mouse [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I need to execute quite often a pdf split option on a file such as:
pdfseparate largefile.pdf part-%d.pdf
Is there a way to execute such a command on a selected file by right-clicking on it? I'm running a Fedora 22
Thanks
I assume that you are using a standard Fedora installation with Gnome 3.
Install nautilus-actions first:
sudo yum install nautilus-actions
Then, open it and configure an entry with the following configuration:
Notice that i wrote a double % symbol, because it would be otherwise matched and translated into the current directory.
I also advice you to disable the option Create a main menu for Nautilus Actions in the Preferences of the application.
You should not need to restart Nautilus for the changes to take place, but if needed use:
sudo pkill -9 nautilus
Although it's definitively better to just logout/login.

is there a way to do Linux ifup or ifdown in bash without always having to type sudo first? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
For ifup/ifdown, service, and other commands, is there a way around always needing to type sudo first?
Linux version is 3.8.13-bone67
the simplest way:
add the following in your ~/.bashrc:
alias ifup='sudo /usr/bin/ifup'
(or whatever is the path to your ifup binary. If you don't know the path, you can find out using which ifup)
You then have to enter your password as regular. To also avoid typing the password, you can add an entry into your sudoers file.
Use $ sudo visudo to edit it (will use the editor defined in $EDITOR or vi) and add a line like the following to the end:
ALL ALL = NOPASSWD: /full/path/and/full/command
Sources:
https://wiki.archlinux.org/index.php/Sudo#Configuration

How to start XWindow on Fedora20 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am just installed Fedora20 in VMWare. my computer is win8 64bit. But I can't start Xwindow.
I already login root. try "startx". "command not found". what's mean.How to start Xwindow on Fedora20.
If you have X installed, and everything is more or less "out of the box", then you can shift to runlevel 5.
init 5
Note that it must be ran as the root user.
You did not mention what type of install it was. Providing the X Windows system was installed, you can check the inittab settings by sudo vi /etc/inittab (or cat /etc/inittab if you just want to view it)
You are looking for the last line. It should say " id:5:initdefault: "
In order for Gnome/KDE/etc to load when Fedora starts.
If you edit the file to change the last line, reboot the system and it should open the graphical login.

Resources