Answer the question
In order to leave comments, you need to log in
How to set up X.org?
Installed X.org on a clean Ubuntu server, two questions arose about setting it up.
First, how can I make sure that when executing a command, the startx
graphical session starts in the seventh console (Ctrl + Alt + F7), and not in the one in which the command is typed?
Second, starting X.org starts Xterm, but how do you get something else to start, like Xfreerdp?
Answer the question
In order to leave comments, you need to log in
1. Nothing. startx - X test run method, which is used when testing, checking, crashing the DM. For regular work, it has not been used for years ... er ... fifteen.
2. When starting X through startx, the .xinitrc script is executed in the homework, respectively, all the commands that are in it will be executed. For example:
xautolock -time 15 -locker "xlock -mode dclock -messagefont 12x24bold -planfont 12x24 -font 12x24 -fg white -bg -black -time24" &
gnome-terminal --geometry $XGEOM+923+116 --title "X terminal" --hide-menubar &
gnome-terminal --geometry $XGEOM+185+49 --title "Root terminal" --hide-menubar -e "sudo tcsh" &
xhost +
exec starttde
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question