China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-25 21:30
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Question: How do I return to Linux text mode from Linux Desktop? View 853 Replies 5
Original Poster Posted 2003-07-22 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
As everyone knows, Linux is a Unix-like operating system with a character-based interface, and Linux Desktop is a GUI program on top of it, just like Win9x. Today I installed Red Flag Linux 4.0 in VMWare, and after installation it automatically started into Linux Desktop. But at the same time I found that I had no idea how to get back to Linux mode: not only is there no shortcut like "Linux window" in the Linux Desktop start menu, there also isn't a "Return to Linux" item under "Shut down". Also, because it runs very slowly, it makes operation very inconvenient. And some programs (such as DOSEMU, etc.) seem unable to run in the Linux Desktop GUI (running them has no effect); it seems I have to return to pure Linux mode first. So, how do I get from Linux Desktop back to pure Linux?
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 2 Posted 2003-07-26 00:00 ·  中国 四川 德阳 绵竹市 电信
元老会员
★★
联盟“管理员”
Credits 608
Posts 157
Joined 2002-10-18 00:00
23-year member
UID 20
Gender Male
Status Offline
Red Flag is trash, don't use it.
Don't install Linux in VMWare.
What is linux desktop? A bit confusing, take a look here:
http://learn.tsinghua.edu.cn/homepage/015450/x.html
<>
La guerre, c'est le pax
Freedom is Slavery
无知就是力量
Floor 3 Posted 2003-07-26 00:00 ·  中国 安徽 滁州 天长市 电信
银牌会员
★★★
Credits 1,835
Posts 648
Joined 2002-11-08 00:00
23-year member
UID 197
Gender Male
Status Offline
Hehe, Red Flag really isn't very good
What boss W means by linux desktop should be XWINDOW, right

If it enters graphical mode at startup, then you need to change /etc/inittab, changing
id:5:init:default:
to id:3:init:default: and after rebooting it should be fine
Floor 4 Posted 2003-07-26 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Is there any way to make the X-Window GUI run under pure DOS, like Win3.x/9x?

Take a look here:
http://www2.zzu.edu.cn/ie/newdos/dispbbs.asp?boardID=6&ID=1108
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 5 Posted 2003-07-26 00:00 ·  中国 香港
管理员
★★★★
專業島民
Credits 4,869
Posts 1,633
Joined 2002-12-10 00:00
23-year member
UID 465
Gender Male
Status Offline
The following is quoted from Wengier's post on 2003-7-22 8:22:35:
As everyone knows, Linux is a Unix-like operating system with a character-based interface, and Linux&nbsp;Desktop is a GUI program on top of it, just like Win9x. Today I installed Red&nbsp;Flag&nbsp;Linux&nbsp;4.0 in VMWare, and after installation it automatically started into Linux&nbsp;Desktop. But at the same time I found that I had no idea how to get back to Linux mode: not only is there no shortcut like "Linux window" in the Linux&nbsp;Desktop start menu, there also isn't a "Return to Linux" item under "Shut down". Also, because it runs very slowly, it makes operation very inconvenient. And some programs (such as DOSEMU, etc.) seem unable to run in the Linux&nbsp;Desktop GUI (running them has no effect); it seems I have to return to pure Linux mode first. So, how do I get from Linux&nbsp;Desktop back to pure Linux?

6.1.2 Using Virtual Consoles with X
Even while X is running, you can access the Linux virtual consoles. To switch from graphical mode to a virtual console running in text mode, type Ctrl-Alt-F n, where F n is a function key and n is the number of the desired virtual console. X uses virtual console 7, so only virtual consoles 1-6 are accessible while running X.

To switch from a virtual console back to X, type Alt-F7. Nothing is lost when you switch from X to a virtual console or back, so you can move freely between the graphical and text operating modes.

6.1.3 Terminating X
As you learned in the previous chapter, you can terminate X by typing Ctrl-Alt-Backspace. X immediately terminates each program running under X, closes each open window, and returns your system to text mode.

This key sequence terminates X abruptly; most window managers support gentler ways of terminating X. You'll learn about these later in this chapter.

While X is running, you cannot use the Ctrl-Alt-Del sequence to reboot your system. To reboot your system, you can terminate X and then use the Ctrl-Alt-Del sequence, or access a terminal window and enter the command:

shutdown -r now
The shutdown command terminates X and then reboots your system.
我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
Floor 6 Posted 2003-07-27 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
So this so-called "Linux Desktop 4.0" turns out to be a packaged "Linux command line + X-Window GUI graphical interface + KDE window manager"!

The following is quoted from LanE's post on 2003-7-26 17:01:48:
W老大说的linuxdesktop应该是指XWINDOW吧

If it enters graphical mode at startup, then you need to change /etc/inittab, changing
id:5:init:default:
to id:3:init:default: and after rebooting it should be fine


This really is very similar to changing BOOTGUI=1 to BOOTGUI=0 in C:\MSDOS.SYS of MS-DOS 7.x to prevent DOS from automatically entering the Windows graphical interface after startup..

So it can be seen that Win9x is a GUI program under DOS, just like X-Win is a GUI program under Unix/Linux..

How can the X-Win GUI be ported to run under DOS? Isn't X-Win Open-source? I think for some experts it shouldn't be too difficult..



Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Forum Jump: