Debian Multimedia :: Tightvnc Server And Can't Start GUI Apps As Root
Feb 12, 2015
I have headless debian as a server which i use over tightvnc server running on it. Vnc works fine but I can't for example run sudo mousepad or any other gui app from terminal, it says something about not having the rights to open it as root. I understand this has something to do with security, but my computers are behind nat so the vnc server can only be connected inside my lan so i don't mind.
For my project, it's absolutely necessary to have a read-only root partition system. I have a writable /opt/project partition.But, I also need to start x server. startx This tries to write to some temporary files and fails as / is readonly. Is there any how-to on how to move this temporary files to the writable portions of the file system.
I use 2 monitors under Ubuntu 9.10, but I have them set up in a unique way. The primary (CRT) faces me on my desk, but the other (widescreen LCD) is turned away from me, because I use it only to watch movies from my couch. My video card is an Nvidia GeForce 9800 GTX+, using the proprietary Nvidia driver package, with Xinerama turned on, so the desktop extends across both displays. Given that setup, is there any way to control which display applications open upon? Several apps have started opening on one display or the other, seemingly at random. Further, some apps start on the primary display, but open their subwindows on the secondary display. It's very annoying, because I can't see the second screen, so I can't drag the windows back to the primary desktop.
I would also like to have VLC Media Player (or any other app) always open on the secondary screen, on purpose. I almost never watch movies sitting at my desk, but rather from the couch. I placed a VLC launcher icon on the secondary screen, but when started it opens on the primary display. (If you're wondering how I can click on anything from my couch, I have a wireless mouse there in addition to the wired mouse at my desk. It's my "remote" since I don't have a TV. Xorg will quite happily support 2 or more mice simultaneously, I discovered.)
I was able to start multiple X servers before. Now after the upgrade to rootless X, I had to add myself to the "input" group to be able to start X, but I'm unable to start 2nd X on a different vt.
Here are the errors and warnings I'm seeing:
Code: Select all[114940.404] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied [114940.409] (WW) Falling back to old probe method for modesetting [114940.409] (WW) Falling back to old probe method for vesa [114940.409] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support [114940.409] (EE) Screen 0 deleted because of no matching config section. [114940.409] (EE) [114940.409] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
I have been using bumblebee on my Optimus Laptop for a long time.I think I have this problem since the last Xorg upgrade, some months ago. The upgrade notes warned that Xorg now runs on userspace, and that configuration files are now read from the user (although I haven't noticed that).Then optirun ceased to work. As I'm using sid, I'm used to things being broken sometimes, so I simply let it go waiting for an upgrade that would fix it. Since this upgrade (either to Xorg or to bumblebee) is not coming, I have searched on the Internet, and I'm surprised that many people have had problems with bumblebee, but no one seems to be having the same exact error (see below).
I have tried everything (everything my limited knowledge and my internet searches allow me). I have tried with nvidia and nouveau drivers, but I get more or less the same result.
Code: Select all$ sudo systemctl status bumblebeed ● bumblebeed.service - Bumblebee C Daemon Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled; vendor preset: enabled) Active: active (running) since mié 2015-12-30 09:30:34 CET; 20min ago
[code]....
It seems Xorg is failing but is not giving any information about the failure, no message, which is different to the problems I have found in the Web. I have purged bumblebee packages to assure I'm using default configuration files. I have added rcutree.rcu_idle_gp_delay=1 to GRUB_ CMDLINE_ LINUX_ DEFAULT as instructed on some howtos.
I did a distribution upgrade using "apt-get dist-upgrade". After rebooting, I receive a message saying "Failed to start the X Server". When I okay the prompt for more info, I see the following: GDM: Xserer not found: /usr/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7 Error: Command could not be executed! install the X server or correct GDM configuration and restart GDM.gdm[4678]: WARNING: gdm_server_spawn: Xserver not found: /usr/binX :0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
I have an older computer and I did a fresh install of Jessie
Procesor AMD, Graphic card ATI Radeon 9200 PRO / RV280
After instalation my computer boot into black screen. I have no problems with wheezy.
I installed manually firmware-linux-nonfree (in case) module R200_cp is loading correctly.
When I configure Xorg, my log file says something like that: ----------------------------------------------------------------------------------- (EE) Segmentation fault at address 0x0 Fatal server error: (EE) Caught signal 11 (Segmentation fault). Server aborting --------------------------------------------------------------------------
I'm having a problem getting a winTV card working. Looks like the card installs correctly and I know the card works ok. I get "no device" when trying to use TV apps (kdetv, tvtime, xawtv). They look for the device at video0 but mine gets configured as video1. How can I change that? I have tried using ivtv-ctl -d /dev/video1 to change the device but that didn't help.
Qt apps like vlc, kolourpaint, qbittorrent are missing the windows controls like menus. Smplayer crash on opening a video(any format). I'm using mate with marco wm, I also tried openbox but is the same.
I'm attempting to setup a VNC server. Both machines are behind the same router however when I run tightVNC (through Wine) it configures the server to my external IP. I don't want this, because I have no need to access this machine outside of my network (can ssh for anything while I'm away). Btw both machines are running Fedora (11 and 12)
I am trying to run VNC server on a standard OpenSUSE 11.2 Gnome Desktop installation.I have done this succesfully with SLES for sometime, however, my experience with OpenSUSE 11.2 is that it doesn't work out of the box!!
I am using XP Pro VNC viewer Free Edition 4.1.2 to connect.
I have removed "localhost" from the # special IPv6 addresses in hosts. This fixes the black screen issue for me. All appears well until I disconnect and retry the connection after 5 minutes or so. Then VNC client makes the connection and then immediately disconnects. It's a no go from then on. If I reboot OpenSUSE 11.2 it works again but then reconnect fails again after the same period of time.
I am trying NX now as an alternative. However, I would much prefer to use VNC.
I'm having an issue connecting to my media PC running windows 7 x64 using the remote desktop viewer built into my ubuntu 10.04 x64 install. I can connect to the windows machine using chicken of the VNC on my mac with zero hassle. Unfortunately when I try and use remote desktop viewer on my ubuntu destkop I get an immediate:Code:Connection to host 192.168.1.103 was closed.I've tried connecting to 192.168.1.103::5900 as well, with the same result. Again I can connect using my mac (using chicken of the vnc), just not remote desktop viewer =( Any thoughts on why this might be?Remote desktop viewer on my desktop has successfully connected to other Ubuntu & OSx machines..
All qt4 apps tray icons are missing. Debian decided to drop sni-qt support and wmsystemtray is actually piece of shit. Also I can't even use ubuntu version of sni-qt, because it also needs to have patched version of qt4, but debian refused to include that patches. What should I do to make skype icon visible in kde5 tray?
I'm running Debian Lenny with GNOME on a ThinkPad T43. Some OpenGL apps like the game Trigger run great, while others like Stellarium crash my system beyond recovery. I get a black screen, I can see the mouse cursor and move it at a very slow speed, but nothing else. I can't switch to a different terminal or restart X with ctrl-alt-bksp.
I assume that the problematic apps do not like the laptop's integrated graphics chip? Is there a way to know ahead of time what apps might be troublesome, before actually running them? I hate hard resets.
I got a problem with gstreamer programs and pulseaudio. I am running Debian Squeeze and needed to install pulseaudio to get better bluetooth-headset support. After installing everything every application except gstreamer applications could access the sound server the right way. Even flash and sdl are running via ALSA routing to pulse.
If I start programs running with gstreamer they crash with a segmantation fault. Totem does not start anyway. If I run it in the terminal it crashes immediately with a segmantation error. The debug mode prints out $ totem --debug
(totem:3450): Totem-DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle (totem:3450): Totem-DEBUG: Setting initial properties
[Code]....
I have installed the gstreamer plugin for pulseaudio and the gstreamer-plugins-good and bad. I started gstreamer-properties and choosed the right output driver. When testing the peep comes out of the right output.
Via google I founded some bugs, that were similiar to mine. But they had made the mistake not to install the plugins. I also can not choose ALSA in gstreamer and do the routing way. The programs using gstreamer simply crashing. I tried exaile. It also crashes the same way like rhythmbox. Is it a real bug? Or can I do something against that. VLC and kaffeine running very well. But I would be sad about not being able to use rhythmbox. I like that fast program. Or is there a way to get rhythmbox tto not using gstreamer?
Just for the fun and learning experience I am working on a minimal install with Squeeze +IceWM. The goal is to make a livecd with a set of privacy apps - like Iceweasel with Tor/privoxy and some encryption tools. Everything is working out just fine, but I thought it would be very nice to have an installer. I read about the refractainstaller and refractasnapshot in this post, and thought they sound like a good solution: viewtopic.php?f=19&t=54635#p315738 However, the links seem to be dead and so were all the mirrors I tried. Does anyone know where these files can be found or any other easy way I can make Debian installable from a livecd?
After reboot I can start it, no problem here. But if I close root terminal and trying to open it again - it won't open.
If to open it from user terminal, it gives me:
Code: Select allgksu /usr/bin/x-terminal-emulator Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.gnome.Terminal exited with status 1
The only thing comes to my mind is that right after installation I opened root terminal and:
- kept a tick on "remember password" - put a tick on "save in the keyring".
I guess the last tick is the problem. I installed debian 8.4 in virtualbox and specifically kept the tick where it should be and I can start root terminal many times w/o any problem. How I can fix that?
I do realize that I can get root privileges in terminal. I guess it's more about convenience.
I tried to google it, but no luck. Just to name few:
I've a little Server and wanna start the services (postfix, apache, etc.) without root. My problem is, that I've installed GroupOffice and I allways got errors about permisions in some folder. When I took a look, some of the folder the apache created were from root some from www-data. After some searches in the Internet I've read that only the root user is allowed to start a Service at Ports 1-1024 or something like that...
I've already searched for programs which give the rights to the applications / unlocks them with root for a certain application ... but I've no more idea what words to search for.
Where is that **itt implemented? Is it possible to disable that?
How can I start the services without giving them root privileges?! It's a security issue after all.
I use opensuse 11.4 with TightVNC Server version 1.3.9. I use french keyboard mapping (yast configuration).When I connect with putty via ssh all is ok (keyboard mapping). But when I use tightvnc viewer on windows the mapping is not correct.I've verified many time the configuration of the keyboard in yast (graphical) and desktop options (french mapping). I can't map correctly. It seem there is no issue with direct attached keyboard.Another strange behavior is the shift key. I want to use . (need to press shift + and this put a >. But sometime if I press "shift + ," before then "shift + ;" it works.
I've passed long time on google and find no answer yet.Is there a issue with tightvnc server ?A bug with tightvnc viewer ? (I've tried with realvnc and same results).
When accessing the server from any client, the 'd' key minimizes the current window on the server (not the VNC client itself). Every other key seems to work fine and I can use the key combo <ALT>-d to issue a 'd', but that is less than convenient. I saw this post [URL] which said to use gconf-editor to set a keyboard layout, but that didn't fix the problem.
Server Environment Ubuntu 10.10 (upgraded from 10.04) 32-bit tightvnc server
I prefer to use the single-click behavior under KDE 4.4.5 / Squeeze / AMD64. All KDE applications honor the single-click settings, but GTK-based applications don't. Is there a way to configure GTK so that all file dialogs are indeed single-click?
I have a "time-server". It's sending time to different devices through different ports/protocols. The problem is that it has no operator and that makes some extra difficulties.
Now when i try to start it using terminal Code: Select allsudo ./myprogram works fine and
Code: Select all./myprogram doesn't work.
It is so because without sudo i have no access to ports. As a result If i add my program to System->Preferences->Startup Applications it has the same problem. So i need to start it as root, auto-start, right after auto-login to system but without entering password cause nobody will do it.
Also I need to start ntpd but it also asks password sometimes I've tried googles but it offer a few ways with entering password that isn't suitable for me or writing some scripts/changing system files but with no example I'm afraid to break it all. So is there a way to start Myprogram and NTPD as root with no password entering?
My system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686
I want to configure my tightvnc server installation to use my already running X session (on current :0 screen), but as i understand its not really and its working only at another screen. How can I configure to use it on my current screen?
I will try to keep this straight-forward. Yesterday I was able to access an ubuntu 10.10 (edubuntu) desktop using the tightVNC viewer that I installed on my Vista laptop. I never set anything up on the desktop it just worked and I didn't question it.
Today I get the following error on the viewer software: "Server did not offer supported security type" The only thing that has changed was that I installed a bunch of updates yesterday afternoon, but I am not sure what changed.
I can't setup or change MIME-Types in Mate/Caja (filemanager)
I use MATE Desktop on Debian 8.1 - File Manager is Caja (1.8.2) - I put in a USB Stick whit Pics. In the Popup Window they came up, normally i can setup a Default behavior for Pics, Music ... But, in my Window the Options are not available. (Grey) The same in "Settings" from Caja (Datenträger) Data Medium.
MPlayer was working just fine last night, but today I'm having problems which may be due to me performing a system update. I noticed that MPlayer was no longer listed in my Applications menu and I no longer had the option of opening videos with it. However, I now had Gnome MPlayer which must have been installed with the update because I never installed it. Whilst going through Synaptic, I found that the MPlayer GUI had been removed, so I re-installed it. However nothing happened when I attempted to open videos with it.
When I tried to use it through the terminal I got the error message: mplayer: relocation error: mplayer: symbol codec_wav_tags, version LIBAVFORMAT_52 not defined in file libavformat.so.52 with link time reference
I found a bug report on this very problem here [URL]. The conclusion was that the person filing the bug report was using a version of ffmpeg not found in Debian and that he'd need a version of MPlayer built with his version of ffmpeg libs. I'm assuming that this is also the case with me, however I'm not sure how to go about finding a build or simply building a version of MPlayer with whatever version of ffmpeg that I'm using. For reference, I'm using Squeeze.
I have Debian Testing. My theme is Equinox Light and it was working well except for "Passwords and Encrypton keys" app (Version3.02). That doesn't bothered me. But after todays upgrade from gnome-terminal (2.3.2-1) to gnome-terminal3 Equinox theme doesn't work. My themes are installed in /usr/share/themes folder. It doesn't matter if i copy them to my home theme folder. It seems that gnome3 apps doesn't support
Reverting to previous version fixes the problem but i want to have version 3 with nice theme. Ho w can i achieve it?
I am using debian squeeze server with asterisk 1.6 installed and configured.my problem is non root users need to access the server using ssh and restart asterisk server after making changes in asterisk configuration files.As of now i am giving root username/password for this process (i know it is not at all a good idea) .now how can i create a username and configure it which can only access and modify asterisk configuration files and restart asterisk server without any other privileges.
I have installed the Apache Directory Server (ApacheDS) Now I need a iniscript that startining the App as Root, so that it can use the Port 389. After them a unprivileged User (apachds) should run the Service. The same solution I am searching for Glassfish. What can I use for them? RHEL and compatibles doesn't have a start-stop-daemon like Debian.
I'm not a Linux noob, but I am far from guru. I'm running a single board computer with a slightly customized Debian Etch (customized by the SBC vendor). No Gnome/KDE/X installed. My application is a control application which uses SDL (Simple DirectMedia Layer) to paint some basic graphics on the VGA. I need to run it as root because the application calls iopl() to access an IO port.If I run my application manually from the command line, life is sweet. From Googling around, I found http://www.debian-administration.org/articles/28, and hence I:1) Created a script in /etc/init.d2) Executed "update-rc.d scriptName defaults" to link the script into the boot sequenceAll very straightforward. My application starts at boot. But when I try to SSH/SFTP into the SBC, I get "Connection refused". So I can't manage the SBC anymore, and this is a big problem. I am not sure if it's relevant, but my application starts before the SSH daemon.My script looked like:
case "$1" in start) echo "Starting my application"