FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Recently,i'm studying around X server and client. when i was logining on and typing "init 3" on gnome-terminal in order to terminate x server.
my purpose is x server starting through the command "xinit" only.and xterm to be first client for x server may be terminal.i'try typing "a bunch of commands" on tty1 (Ctrl + ALT + F1) to get through my testing .
when a short command "xinit" of those without any agruments was executing, xterm was just staying instantly and disappearing soon. others i try commands,alway coming up with errors:
Xterm Xt error: can't open display :%s
Xterm: Display is not set
if i am understanding this right:
you want a fail-safe session with only xterm.
You can:
1. just choose the session as fail-safe session
OR
you can change /etc/inittab and set default runlevel as 3
and then issue these commands in a console prompt
# X :0 &
# export DISPLAY=:0.0
# xterm
warning: This will give you just a xterm - not even a window manger and so u cannot move the xterm app anywhere.
most lightweight window manager (wm) is AFAIK twm
run twm from the xterm in the X window session
Hi,You are welcome.i have done all those commands over instead of you said that i don't press "Ctrl + Alt + F1".still show the cursor "X" located center at screen drawed black.
it is seem that "xterm "do not connect X server. WHY? thank you!
can you check it xlogo works ?
instead of xterm, just run xlogo
you must get a small white area with a big 'X' in that white space.
this is basic check if the X libraries are properly installed
it this works then we can find out why xterm does not work.
thank you for replies,without your help,i won't done this problem over finally。the problem out of the origin is mine in chinese environment.in order to get through my testing,I switch to english(USA) language environment,then my testing is right!
last one question:
how do i modify something instead of switching language environment and rebooting system?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.