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 1 year ago.
Improve this question
I am using a X2GO client on a Windows 7 (64-bit) laptop in order to login to a remote machine running Fedora 20. However, when I try to connect choosing KDE as a session type, I get a "cannot execute startkde" error.
Is there something I need to configure on my laptop or Fedora machine?
This worked for an ubuntu server but may work for fedora/centos. In the session preferences tab of the x2go client, change the "session type" to XFCE
At this point I'm almost sure the OP has already fixed the issue or just tried another DE. Anyways, just for the record, for other people that may come across this error, this is my experience and how I solved it.
In my case the problem was that the version of KDE I was using didn't have a startkde command, at all. Apparently, newer versions of KDE use startplasma-x11 (or startplasma-wayland) instead.
In X2GO, I selected "Custom desktop environment" (or something like that, I'm using another language), then pasted the startplasma-x11 command in the field. It worked after that.
To check if that's also your problem, try to SSH to the machine, write which startkde and, if it fails, then try which startplasma-x11 and it should return a path. If it does, then you just follow the steps above and it should work.
Running sudo yum install #kde on the remote machine resolved the issue. I was now able to login to the remote machine using X2GO client.
If the command is not setup up properly in the available PATH,:
then the error like
"Cannot run 'startkde' occours
Please check that the requested application is in the system PATH and that you have the rights to execute it."
you need to login to the super user mode by pressing
ctrl + alt + f1
Whether the PATH is set or not can be checked by executing
which startkde
or more generally, 'echo $PATH'
The correct path must be set in /etc/profile or /etc/csh.login, depending on the shell the user is using.
And now when you try to log in from windows desktop after doing all this if error again appears Cannot run ‘startkde’. …
make sure you have the appropriate credentials to access .
on ubuntu I had to install XFCE, then select that in the windows client and then it worked.
Related
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 months ago.
Improve this question
I've ran into a problem when trying to use an installed Linux bash shell instead of my Windows command prompt. I can't get my computer files to show on my Ubuntu terminal, even though when I repeat the same actions on my windows command prompt they seem to work.
I'm thinking there must be an issue with my installation, possibly I need to do a few more steps to get it to work like my regular command prompt terminal, but I'm not sure how to do this currently. I've added some screenshots above for additional context of me not finding my files in Ubuntu but being able to find them through windows command prompt.
It's because your linux home directory is most likely located outside of your windows user's home directory.
Use windows search to look for one of your ubuntu files (for example git_101) to determine where is your ubuntu home directory in relation to windows file system.
This can vary depending on how you installed ubuntu, but you might be able to access your windows filesystem via the /mnt directory as well. You can check that by running ls -lah /mnt.
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 2 years ago.
Improve this question
I searched everywhere but not able to fix my problem. Can someone please help me?
Here are the details
I have Ubuntu 14.04 LTS as host OS.
I installed Oracle VirtualBox on it
Then I installed CentOS 6.6 as guest OS inside VirtualBox.
I was using it daily with no issues. Suddenly one day I saw a message that "Configuration defaults for gnome power manager has not been installed correctly", then I get login screen and after login nothing is displayed inside the VM window.
I used the gparted-live-0.22.0-2-i586.iso to go to its command prompt and there I used fdisk /dev/sda command to resize the partition.
Even after that I am not able to resolve the GNOME error and not able to login to centos inside virtualbox.
Can someone please help? Let me know if you need additional information.
At login prompt, press Ctrl-Alt-F2, this brings you to tty2, a text window. (You can try Ctrl-Alt-F1 to satisify your curiosity).
Login as root user.
yum remove gnome-power-manager
yum install gnome-power-manager
reboot
I tried it on my system it works. One more thing, while installing gnome-power-manager if it shows some error regarding space issues just free some space for this installation
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
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.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Improve this question
I run a minecraft server on a remotely hosted linux VPS. Recently, a migration was done at my host's data center where the VPS image was copied to a new setup (new hardware, new IP, new virtual infrastructure I believe).
Before the migration, the server had the below command crontab'd and it worked fine; after a full reboot, I could type "screen -x" to get into the server console. After the migration, I cannot do this anymore. The command itself starts the minecraft server... but not the 'screen'. I have asked the host to explore why and he tested it out and replied he can't find the reason either.
The main changes I know of at the time of migration... upgrade from 13.x to 14.04 Ubuntu; update from Java 6 to Java 8... update to newest MySQL... storage upgraded to SSD. Changed from "Xen" to "KVM"... and new setup supported by OpenStack.
#reboot cd /home/mcma && screen -dmS minecraft /home/mcma/MCMA2_Linux_x86_64
I wish I could provide more info but this is everything I have at hand, I don't know how to troubleshoot further. Any assistance would be greatly appreciated.
Some ideas to try:
Check if the cron daemon is running.
If it does, check the logs to see if it attempts to start the given cron job. Might need to crank up the log level for this.
If the job does get launched, check the the error.
Try using absolute path to screen.
If /home/mcma/MCMA2_Linux_x86_64 is a script, try adding sh before it.
Have you tried running the command by hand?
The Internets seem to imply there might be a bug with non-root #reboot jobs on some Ubuntus. Which cron daemon are you using?
Check Ubuntu bug 574773. It might be the issue you are having.
Let me know if you gather any additional data from above, so we can try a few more things as needed.
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
So i know how to SSH into a box and create/modify directories etc. However I do want to know how I can open the exact GUI (For instance I want the Fedora environment that I have on my virtual machine) to open up. Meaning I need to be able to simply see my linux environment. Would anyone know how I can achieve this?
I am using a mac.
I'm presuming you want to see the gui you are running on the vm, which won't really help you here. You have a couple of options:
If you are running linux (or an X server like xceed) on the machine you are actually using, then you can enable X forwarding in ssh (-X on the command line) and then run your window manager from there.
Alternatively, you could look at installing a vnc server on your linux machine (I'd recommend tightvnc) and your host and connecting that way.
Either way this would be getting you a fresh desktop rather than what is visible on the console of the machine.
For the specific case of a virtual machine, as you mentioned, both vmware and virtualbox (I'm guessing you are using one of those) provide either vnc or rdesktop head support; you can then use either a vnc client or windows remote desktop client to connect to the actual console. In this instance this is probably what you want to do.
Set up a VNC server on your Linux machine, it can provide you with a desktop environment.
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
I've just installed Arch Linux and installed the gnome package (Note: Not gnome-extra)
I open Gnome using the xinit gnome-session command, as I have already installed X Window.
When I run that command, Gnome opens up and I'm presented with a white terminal titled "login". However, nothing I do in this terminal actually does anything. No commands work, nothing.
Could someone help me figure out what I'm doing wrong? There have been a few questions around similar to this, however none that have been properly answered.
Thank you!
After installing gnome session you need to append
exec gnome-sssion
at the end of your .xinitrc file located at your home.
when you get the login: prompt enter your username and then your password.
Once you're logged in type startx to start gnome session
Solved! I hadn't set Gnome to startup automatically, so when you login to Arch Linux using your standard root login. Check that gnome is installed and works (Use: xinit gnome-session).
Create an account by going to Settings, Users, Create the account as Administrator. Logout of Gnome Log back in as root to your Arch Linux CLI Use the command: systemctl enable gdm The next time you reboot, you should be presented with the Gnome Login screen.