Hi,
I'm still new in linux world and CentOS is my 2nd linux desktop I ever used ( have used it for month now, before using Ubuntu for 2 days ), so please gave me a little favor on it :)
What I need to do is to have my virtual console that can also run gnome or kde, so I can have different windows on different virtual console. After googling, I found the qingy that just fit for my need.
I try to install qingy ( http://qingy.sourceforge.net ) on my desktop by following the manual at qingy site with no luck :( after googling for the more installations howto, I found that most of it is for gentoo linux.. does anybody here with success story of it want to share info on installing it?
I have install directfb as required by qingy but when I run fbset, I got error about /dev/fb0 can't opening.. if I follow the manual on qingy site, it's should list the display mode.. anybody can brief me what the error is all about and how I could create the /dev/fb0 file?
When I go to virtual console ( alt+ctrl+f2 ), I got messages : Warning : cannot get console framebuffer resolutions! Unrecoverable error: reverting to text mode!
Anyone have any ideal what that means?
I have set : video=vesafb:ywrap mtrr vga=0x317 at grub configurations after the kernel statement, anyone have any suggestions?
Anyone please shed me some light on this, and thanks in advances, If anyone can guide me on howto to have X running on virtual-console, I really appreciate it and sorry for my bad english
Regards. ijez
On 7/30/05, ijez ijez@time.net.my wrote:
I'm still new in linux world and CentOS is my 2nd linux desktop I ever used ( have used it for month now, before using Ubuntu for 2 days ), so please gave me a little favor on it :) What I need to do is to have my virtual console that can also run gnome or kde, so I can have different windows on different virtual console. After googling, I found the qingy that just fit for my need.
Try: 1. Xnest -query localhost :1 2. Do Ctr+Alt+F2 login as user and startx -- :1
HTH
ijez wrote:
Hi,
I'm still new in linux world and CentOS is my 2nd linux desktop I ever used ( have used it for month now, before using Ubuntu for 2 days ), so please gave me a little favor on it :)
What I need to do is to have my virtual console that can also run gnome or kde, so I can have different windows on different virtual console. After googling, I found the qingy that just fit for my need.
I try to install qingy ( http://qingy.sourceforge.net ) on my desktop by following the manual at qingy site with no luck :( after googling for the more installations howto, I found that most of it is for gentoo linux.. does anybody here with success story of it want to share info on installing it?
I have install directfb as required by qingy but when I run fbset, I got error about /dev/fb0 can't opening.. if I follow the manual on qingy site, it's should list the display mode.. anybody can brief me what the error is all about and how I could create the /dev/fb0 file?
This can be done without any additional software. The Xnest solution already posted will work as advertised.
Xnest is attached to the X server running on :0. An alternative is to run another X server on :1 (or :2, :3, etc)
To start gnome on :1 - 1. Hit ctrl-alt-F2 to get to virtual console 2 2. Run xinit /usr/bin/gnome-session -- :1 3. Use ctrl-alt-F7 to get to :0 and ctrl-alt-F8 to get to :1 , etc
To start kde on :1 : 1 . Hit ctrl-alt-F2 to get to virtual console 2 2. Run xinit /usr/bin/startkde -- :1 3. Use ctrl-alt-F7 to get to :0 and ctrl-alt-F8 to get to :1 , etc
I can't say whether this solution is preferable to the Xnest solution or not. I guess one advantage would be that each desktop is more isolated since they are not ultimately sharing the same X server. I'd be interested if anyone has thoughts about why one is better than the other.
-Mark
Hi,
To start gnome on :1 -
- Hit ctrl-alt-F2 to get to virtual console 2
- Run xinit /usr/bin/gnome-session -- :1
- Use ctrl-alt-F7 to get to :0 and ctrl-alt-F8 to get to :1 , etc
To start kde on :1 : 1 . Hit ctrl-alt-F2 to get to virtual console 2 2. Run xinit /usr/bin/startkde -- :1 3. Use ctrl-alt-F7 to get to :0 and ctrl-alt-F8 to get to :1 , etc
This work just great! as far as this thread is concern, it was solve. I think I do the right thing by choosing CentOS as my new platform for Windows replacement :)
Is there any trick or tip if I want to start gnome or kde automagicaly when I switch to virtual console?
Thanks In Advances, Regards, ijez
ijez wrote:
Hi,
To start gnome on :1 -
- Hit ctrl-alt-F2 to get to virtual console 2
- Run xinit /usr/bin/gnome-session -- :1
- Use ctrl-alt-F7 to get to :0 and ctrl-alt-F8 to get to :1 , etc
To start kde on :1 : 1 . Hit ctrl-alt-F2 to get to virtual console 2 2. Run xinit /usr/bin/startkde -- :1 3. Use ctrl-alt-F7 to get to :0 and ctrl-alt-F8 to get to :1 , etc
This work just great! as far as this thread is concern, it was solve. I think I do the right thing by choosing CentOS as my new platform for Windows replacement :)
Is there any trick or tip if I want to start gnome or kde automagicaly when I switch to virtual console?
That I don't know. You could make it easier to do by creating aliases for starting the extra displays i.e.: alias kde1="xinit /usr/bin/startkde -- :1" alias gnome2="xinit /usr/bin/gnome-session -- :1"
Alternately you could add an entry like this to your .bashrc file mytty=`tty` # start icewm automagically if we are logged into console 2. # Give a 5 second grace period to abort with ctrl-c if [[ $mytty = "/dev/tty2" ]] ; then echo "Starting icewm. Hit ctrl-c to abort" sleep 5 xinit /usr/bin/icewm -- :1 fi
Not to point out the obvious - but you don't have to run a whole desktop on these alternate displays. You run say a game, or a web browser in fullscreen mode, or an openoffice presentation in fullscreen mode, etc, etc, etc.
-Mark
Hi Mark, Firstly, I'm really thank you for your valuable info and guide..
Alternately you could add an entry like this to your .bashrc file mytty=`tty` # start icewm automagically if we are logged into console 2. # Give a 5 second grace period to abort with ctrl-c if [[ $mytty = "/dev/tty2" ]] ; then echo "Starting icewm. Hit ctrl-c to abort" sleep 5 xinit /usr/bin/icewm -- :1 fi
Kewl, i going to try this one.. So, if i want to running gnome, i need to replace the xinit /usr/bin/icewm -- :1 to xinit /usr/bin/gnome-sessions -- :1 right?
Thanks for these trick and tips..
Not to point out the obvious - but you don't have to run a whole desktop on these alternate displays. You run say a game, or a web browser in fullscreen mode, or an openoffice presentation in fullscreen mode, etc, etc, etc.
Yup, why I need this is because I need to run remote desktop on CentOS to admin a couple of windows server box without monitor attach ( Of course when I get my head over CentOS, all those server will be replace by CentOS too :)) and need to run it on full screen mode, the only problem I face was, I couldn't switch to another applications or another remote desktop client running on same virtual desktop on CentOS if I run remote desktop client in full screen mode.. that why I choose to run it 'dedicate' on 'another' virtual console.. nah, I have a feeling like running the desktop using KVM switch with this setup, thanks :)
Since I running multiple gnome / kde on virtual console just to have a remote desktop client up, is there any suggestions on the 'lite' desktop available 'ready-to-run' for gnome / kde replacement? I've 512MB of RAM on desktop, but to have 4 gnome / kde running at the same time just for remote desktop client, I think it's not so good for the computer and my healthy :) What I like to have is, the main desktop will running gnome / kde as it will be my working desktop, and the others virtual console will running a 'very very lite desktop' as long as it can have remote desktop running on it.. it's there any suggestions / advice to have this kind of setup?
Thanks In Advances, ijez
ijez wrote:
Not to point out the obvious - but you don't have to run a whole desktop on these alternate displays. You run say a game, or a web browser in fullscreen mode, or an openoffice presentation in fullscreen mode, etc, etc, etc.
Since I running multiple gnome / kde on virtual console just to have a remote desktop client up, is there any suggestions on the 'lite' desktop available 'ready-to-run' for gnome / kde replacement? I've 512MB of RAM on desktop, but to have 4 gnome / kde running at the same time just for remote desktop client, I think it's not so good for the computer and my healthy :) What I like to have is, the main desktop will running gnome / kde as it will be my working desktop, and the others virtual console will running a 'very very lite desktop' as long as it can have remote desktop running on it.
What do you mean by "have remote desktop running on it"? Are you connecting a vncviewer to a remote computer? If that is the case you can run *no* desktop. Just run a vncviewer in fullscreen mode. i.e: xinit /usr/bin/vncviewer -shared -fullscreen -passwd ~/.vnc/passwd somehost:1 -- :1
. it's there any suggestions / advice to have this kind of setup?
There are a whole gaggle of very good, very light desktops. I often use blackbox when I want a light desktop (1-2 Meg memory usage). I'm fond of icewm and windowmaker as well. I really like blackbox. It's very fast and no-nonsense. The menus are easily configurable with a text editor.
The subject of alternate window manages could spawn a thread that never ends. I only mention the ones that I have used for extended periods.. I know that others are very fond of xfce, fluxbox, openbox.
You might try mwm or twm - they're included already and are quite easy on resources.
Since I've given you so much help, you won't mind if I offer some free advice. You seen new to linux and eager to learn ... In the short term - do what you are doing ... ask for help from lists like this one. In the long term, master bash shell syntax and scripting as well as a more proper programming language like Perl. Browse the man pages and read a linux specific web site several times a week(linux today, newsforge, linux weekly news, etc). In other words - master the basics, increase your programming power, and keep abreast of new developments. Follow that path and I'll be asking you for help in a year or two. :)
Oh and at home - ditch windows for linux( or at least dual boot it). Nothing makes you learn to linux quicker than actually using it for day to day work.
-Mark
Hi Mark,
What do you mean by "have remote desktop running on it"? Are you connecting a vncviewer to a remote computer? If that is the case you can run *no* desktop. Just run a vncviewer in fullscreen mode. i.e: xinit /usr/bin/vncviewer -shared -fullscreen -passwd ~/.vnc/passwd somehost:1 -- :1
Ok, here what i means.. I have a couple of MS Win2K box that have RDP services running and only allow access by my workstations.. i need to administer all those box from my new shining CentOS box.. So, to remote administer those server, i'm running tsclient on CentOS box and the problem when i connecting to those box in full screen mode of tsclient, i can't switch with ALT+TAB to any applications running on my CentOS box, it's just stick with the tsclient until i disconnect the connections.. That why i'm lookup for the other solutions by googling and found the used of virtual console and qingy applications.. It's possible for me to run tsclient like the vncviewer did? Anyway, i really don't want to mess with my server for configurations or installations right now as it was running on productions ( Going to get rid all those win2k server once i have really confort with linux and CentOS espeacially )...
There are a whole gaggle of very good, very light desktops. I often use blackbox when I want a light desktop (1-2 Meg memory usage). I'm fond of icewm and windowmaker as well. I really like blackbox. It's very fast and no-nonsense. The menus are easily configurable with a text editor.
No wonder, i have try blackbox for explorer replacement and really agree with you.. it really kewl!! This is the reason i'm start digging into the linux world :) Can i just install it by running yum install blackbox?
You might try mwm or twm - they're included already and are quite easy on resources.
Ok, i try check it out...
Since I've given you so much help, you won't mind if I offer some free advice. You seen new to linux and eager to learn ... In the short term - do what you are doing ... ask for help from lists like this one. In the long term, master bash shell syntax and scripting as well as a more proper programming language like Perl. Browse the man pages and read a linux specific web site several times a week(linux today, newsforge, linux weekly news, etc). In other words - master the basics, increase your programming power, and keep abreast of new developments.
Thanks for your valuable advice, maybe i could first start with bash, do anyone have links or good book for me read as refferences?
Follow that path and I'll be asking you for help in a year or two. :)
Nah.. you are expecting to much from me, years or two is too short to master all those i thinks.. :)
Oh and at home - ditch windows for linux( or at least dual boot it). Nothing makes you learn to linux quicker than actually using it for day to day work.
Yup, I'm already do that.. my first linux desktop is Ubuntu, but I replace it with CentOS after 2 days of using it ( I think it too much if I cannot play my favorites VCD with stock desktop install came with it and after goggling for VCD player, I lost when I try to install MPlayer on it - Ubuntu does not have mplayer in their repository!!, but with CentOS and with help of dag repository, yum install mplayer is doing everything.. this so kewl :))
Anyway, thanks for your time and valuable info, I'm really thanks you..
Thanks In Advances, zamri
On Aug 1, 2005, at 10:32 AM, ijez wrote:
Thanks for your valuable advice, maybe i could first start with bash, do anyone have links or good book for me read as refferences?
the O'Reilly bash book is a good start:
http://safari.oreilly.com/JVXSL.asp? x=1&mode=section&sortKey=rank&sortOrder=desc&view=book&xmlid=0596009658& g=&srchText=bash&code=&h=&m=&l=1&catid=&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n =1&d=1&p=1&a=0&page=0
but as far as a general Unix admin book, i don't think you'll go wrong with one of the Nemeth books:
-steve
--- If this were played upon a stage now, I could condemn it as an improbable fiction. - Fabian, Twelfth Night, III,v
Hi Steve,
the O'Reilly bash book is a good start:
http://safari.oreilly.com/JVXSL.asp? x=1&mode=section&sortKey=rank&sortOrder=desc&view=book&xmlid=0596009658& g=&srchText=bash&code=&h=&m=&l=1&catid=&s=1&b=1&f=1&t=1&c=1&u=1&r=&o=1&n =1&d=1&p=1&a=0&page=0
but as far as a general Unix admin book, i don't think you'll go wrong with one of the Nemeth books:
Ok, I'll try check them both..and thanks for the links,
Thanks and Regards, ijez